Skip to main content
Version: Lastest

API Check balance partner

API Check balance partner

Chat with AI▼

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 --location 'https://gateway.dev.appotapay.com/api/v1/service/accounts/balance' \
--header 'X-APPOTAPAY-AUTH: JWT_TOKEN' \
--header 'Content-Type: application/json' \
--header 'Language: vi'

Request​

REQUEST

Development server