Check Merchant Balance
Changed onReturns a summary of a merchant accounts balances (collection, transfer, transfer irt and cross-border accounts). Use the accountType filter to restrict the response to specific accounts; omit it to get them all.
Request
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Query parameters
Get balance at Datetime in UTC timezone. Follows the Datetime ISO.
Three-letter ISO currency code.
Restrict the response to specific accounts. Repeat the parameter or pass a comma-separated list, e.g. ?accountType=collection&accountType=cross-border or ?accountType=collection,cross-border. Omit it to get every account the merchant holds.
[ "cross-border" ]
Headers
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Response
Example response
{
"collectionAccount": [
{
"amount": 100,
"availableBalance": 100,
"currency": "XOF",
"date": "2020-10-15T12:16:26.128Z"
}
],
"transferAccount": [
{
"availableBalance": 100,
"reservedBalance": 100,
"currency": "XOF",
"date": "2020-10-15T12:16:26.128Z",
"amount": 100
}
],
"transferIrtAccount": [
{
"availableBalance": 100,
"reservedBalance": 100,
"currency": "XOF",
"date": "2020-10-15T12:16:26.128Z",
"amount": 100
}
],
"crossBorderAccount": [
{
"availableBalance": 100,
"reservedBalance": 100,
"currency": "XOF",
"date": "2020-10-15T12:16:26.128Z",
"amount": 100
}
]
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
added the new optional
queryrequest parameteraccountType - info
added the optional property
to the response with the status - info
added the required property
//to the response with the status
- breaking