curl --request GET \
--url http://sandbox.mintlify.com/v1/pay/balance \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"ADA": "313.99963295",
"ALGO": "0",
"APT": "0",
"ARB": "0",
"ATOM": "0",
"AVAX": "0",
"BCH": "0"
}
}Query the balance of all available currencies under the current merchant account.
curl --request GET \
--url http://sandbox.mintlify.com/v1/pay/balance \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"ADA": "313.99963295",
"ALGO": "0",
"APT": "0",
"ARB": "0",
"ATOM": "0",
"AVAX": "0",
"BCH": "0"
}
}Merchant client ID
"mZ96D37oKk-HrWJc"
Signature
"b8c4705ff4c1357f2a27925dd180c1e1f4a244148f312a2dee5afbcc6f4b150e9ffceee455c5a298f895d43a64ee829eebdfd262539d45c41f7aee4336fd8c8c"
Timestamp (milliseconds)
"1738934053475"
Nonce
"5417061546"
Query successful
Response status
"SUCCESS"
Response code
"000000"
Error message
""
Currency balance key-value pairs, key is the currency name, value is the balance string
Show child attributes
{
"ADA": "313.99963295",
"ALGO": "0",
"APT": "0",
"USDT": "1000.50"
}