Add a New Client Configuration
POST
/client-service/api/v1/client-configurations
ClientConfiguration
Request
Body Params application/json
ClientConfigInput type
mode
enum<string>
required
Allowed values:
livesandbox
clientId
string
required
callbackUrl
string
optional
webhookUrl
string
optional
ipAddresses
array[string]
optional
Example
{
"mode": "live",
"clientId": "string",
"callbackUrl": "string",
"webhookUrl": "string",
"ipAddresses": [
"string"
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-gateway-uat.mmacs.io/platform/client-service/api/v1/client-configurations' \
--header 'Content-Type: application/json' \
--data-raw '{
"mode": "live",
"clientId": "string",
"callbackUrl": "string",
"webhookUrl": "string",
"ipAddresses": [
"string"
]
}'
Responses
🟢200OK
application/json
Body
ClientConfigOutput type
data
object (ClientConfigOutputData)
optional
id
number
optional
entityId
string
optional
createdAt
string
optional
updatedAt
string
optional
createdBy
string
optional
updatedBy
string
optional
isDeleted
string
optional
mode
enum<string>
required
Allowed values:
livesandbox
clientId
string
required
callbackUrl
string
optional
webhookUrl
string
optional
ipAddresses
array[string]
optional
Example
{
"data": {
"id": 0,
"entityId": "string",
"createdAt": "string",
"updatedAt": "string",
"createdBy": "string",
"updatedBy": "string",
"isDeleted": "string",
"mode": "live",
"clientId": "string",
"callbackUrl": "string",
"webhookUrl": "string",
"ipAddresses": [
"string"
]
}
}
🟠400Bad Request
🟠401Unauthorized