Balance
Get Balance Endpoint
Retrieve the current balances for all currencies in the merchant's wallet, or for a specific currency.
Endpoint: GET /api/balance
Headers:
Authorization: Bearer YOUR_API_TOKEN
Query Parameters:
currency(string, optional): Currency code (e.g.,USD,XAF) to filter the balance by.
Response:
{
"status": "success",
"message": "Balances fetched successfully",
"data": [
{
"currency": "XAF",
"balance": 50000
},
{
"currency": "USD",
"balance": 150.75
}
]
}