Appearance
Seamless-wallet call. The operator keeps the balance and answers product callbacks.
Authorization
Send Basic authentication on this call.
HTTP Request
Method and path below. {API_URL} is a host from the Authentication page. {YOUR_API_URL} is the operator callback host.
text
GET {API_URL}/seamless/getAgentCreditResponse Description
Fields in a successful JSON body.
| Property | Type | Required | Description |
|---|---|---|---|
reqId | string | Required | Id for this response |
code | number | Required | Status code number. see Error message |
message | string | Required | Short status text |
data | GetAgentCredit | Required | Payload object |
json
{
"reqId": "req-1",
"code": 0,
"message": "ok",
"data": {}
}Agent Credit
| Property | Type | Required | Description |
|---|---|---|---|
currency | string | Required | Currency code such as THB |
credit | number | Required | credit |
type | string | Required | type |
