Skip to main content
Version: Lastest

API Check balance partner

Connection environment

EnvironmentDomain
Productionhttps://gateway.appotapay.com
Devhttps://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

ParamsTypeDescription
errorCodeIntegerError code
messageStringDescription error code detail
accountObjectAccount info
account.balanceIntegerBalance account

Example

Response

{
"errorCode": 0,
"message": "Thành công",
"account": {
"balance": 100000000
}
}

Code Examples

curl "https://gateway.dev.appotapay.com/api/v1/service/accounts/balance" \
-H "X-APPOTAPAY-AUTH: JWT_TOKEN" \
-H "Content-Type: application/json" \
-H "Language: vi"

Request

REQUEST

Development server