The section will describe the Operator API overview, request model, and response model.
Overview
The operator is used to create API credentials that will be used in the API endpoints as an authorization key. API credentials content both test and live keys for both public and private environments.
Operator Request Example
To obtain API credentials, send a multipart/form-data request with the specified parameters as listed in the Operator Request table.
Operator Request Table (multipart/form-data)
Field Name | Field Type | Descriptions | Data Formate |
---|---|---|---|
| string | required | Text |
| string | required | Text |
| string | required | Unique Text |
| string | optional | Text |
| string | optional | Text |
| array[object] | optional | [ |
| object | optional | { |
| object | optional | { |
Request Example

{
"wallet_id": "wal_C03P2419164361xT12NL10s669",
"developer_id": "dev_P2419164361xcZUV21916",
"name": "Web",
"platform": "mobile",
"brands": [
{
"brand_id": "brd_cZUV2191640Z3Op12YV10b779",
"branch_id": [
"brc_2Ft76191640YnBk12y5105800"
]
}
],
"toolkit": {
"type": "iOS_SDK",
"version": "2.2.6"
},
"app": {
"type": "mobile",
"url": "sdcfs",
"development_language": "swift",
"os": "iOS",
"bundle_id": "com.test.application",
"locale": "en"
}
}
Operator Response Example
This section will show the response after creating an Operator.
Operator Response Table (JSON)
Field Name | Field Type | Description |
---|---|---|
| string | optional |
| string | optional |
| integer | optional |
| string | optional |
| boolea | optional |
| string | optional |
| string | optional |
| string | optional |
| string | optional |
| string | optional |
| array[object] | optional |
| string | optional |
| string | optional |
| object | optional |
| object | optional |
| object | optional |
Response Example

{
"id": "opr_cXvn14191558ZuAP14dd101978",
"status": "Active",
"created": 1573736294978,
"object": "Operator",
"live_mode": false,
"api_version": "v2",
"feature_version": "v2",
"business_id": "bus_GDpQ53191639IYC412W210L218",
"business_entity_id": "ent_zPcc59191639VjPC12xX10I279",
"brands": [
{
"brand_id": "brd_cZUV2191640Z3Op12YV10b779",
"branch_id": [
"brc_2Ft76191640YnBk12y5105800"
]
}
],
"wallet_id": "wal_C03P2419164361xT12NL10s669",
"platform": "mobile",
"toolkit": {
"type": "iOS_SDK",
"version": "2.2.6"
},
"app": {
"type": "mobile",
"url": "sdcfs",
"os": "iOS",
"bundle_id": "com.test.application",
"locale": "en"
},
"api_credentials": {
"test": {
"secret": "sk_test_Lc704RwybGXmAUSo5plqgTaI",
"public": "pk_test_zOye9K7r0LM2Ig4YUJBj1ZtQ"
},
"live": {
"secret": "sk_live_iy4SKO3NpUxzrRPugbEoDHnZ",
"public": "pk_live_bLZjFaSEeOxt93ikV7ADWg5T"
}
}
}