6 . Merchant's Balance
This API endpoint allows to retrieve the total account’s balance.
6.1 Merchant Ballance API Request
6.1.1 A Header Sample
{
merchantId: 123456,
hash: "xxxxxxxxx"
Content-Type: "application/json"
}The request header should contain two parameters: merchantId and hash for security and authorization matters.
6.2 Balance Request Hash Seed Strings:
Concatenate the following information, in that order, to obtain the seed string for hash generation for Balance requests:
• Merchant’s ID
• GMT Date (format “yyyy-MM-dd HH”)
• Merchant’s secret
Assuming merchant’s Id is 34567, the actual date is 2023-07-10 14:22:09 (GMT) and merchant’s secret is “abcdef”, the seed string for hash generation would be:
Seed string = 345672023-07-10 14abcdef6.3 A Response Sample:
The response for the Balance request will be like below:
{
"balance": 60100.31,
"currency": "BRL"
}Last updated
Was this helpful?
