API Check balance partner
Connection environment
Environment | Domain |
---|---|
Production | https://gateway.appotapay.com |
Dev | https://gateway.dev.appotapay.com |
Endpoint: /api/v1/service/accounts/balance
Method: GET
Header: How to generate JWT_TOKEN
{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}
Data result
Params | Type | Description |
---|---|---|
errorCode | Integer | Error code |
message | String | Description error code detail |
account | Object | Account info |
account.balance | Integer | Balance account |
Example
Response
{
"errorCode": 0,
"message": "Thành công",
"account": {
"balance": 100000000
}
}