Nhảy tới nội dung
Phiên bản: 1.0

Truy vấn số dư tài khoản

Môi trường kết nối

Môi trườngDomain
Productionhttps://gateway.appotapay.com
Devhttps://gateway.dev.appotapay.com

Endpoint: /api/v1/service/accounts/balance

Method: GET

Header: Cách tạo JWT_TOKEN

{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}

Dữ liệu trả về

Tham sốKiểu dữ liệuMô tả
errorCodeIntegerMã lỗi
messageStringMô tả chi tiết mã lỗi
accountObjectThông tin tài khoản
account.balanceIntegerSố dư tài khoản

Ví dụ

Response

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