Account Balance

This provides the account balance of your merchant account in it's respective sub account currencies.
//sandbox
https://sandbox.dusupay.com/v1/merchants/balance?api_key={{api_key}
// live
GET https://api.dusupay.com/v1/merchants/balance?api_key={{api_key}

Request Headers
Request
Response
Sample Response
Request Headers

Request Headers

Header

Value

Required

secret-key

Merchant account secret-key

YES

Content-Type

application/json

YES

Request

URL Request Parameter

Parameter

Type

Description

Required

api_key

string

Merchant Public Key

YES

Response

Request Body

Parameter Name

Type

Description

currency

string

The sub-account currency

balance

double

The sub-account balance

Sample Response
{
"code": 200,
"status": "success",
"message": "Request completed successfully.",
"data": [
{
"currency": "UGX",
"balance": 5475.816
},
{
"currency": "USD",
"balance": 12
}
]
}