Balance
Retrieve balance
Balance
Retrieve balance
Retrieves the current account (based the API Secret Key employed in the request) balance for the three wallets (DZD, EUR, and USD).
GET
/
balance
curl --request GET \
--url https://pay.chargily.net/test/api/v2/balance \
--header 'Authorization: Bearer <token>'
{
"entity": "balance",
"livemode": false,
"wallets": [
{
"currency": "dzd",
"balance": 50000,
"ready_for_payout": "40000",
"on_hold": 10000
},
{
"currency": "usd",
"balance": 2000,
"ready_for_payout": "1800",
"on_hold": 200
},
{
"currency": "eur",
"balance": 500,
"ready_for_payout": "250",
"on_hold": 250
}
]
}
Returns
Returns an object of type balance
containing the current balance information.
{
"entity": "balance",
"livemode": false,
"wallets": [
{
"currency": "dzd",
"balance": 50000,
"ready_for_payout": "40000",
"on_hold": 10000
},
{
"currency": "usd",
"balance": 2000,
"ready_for_payout": "1800",
"on_hold": 200
},
{
"currency": "eur",
"balance": 500,
"ready_for_payout": "250",
"on_hold": 250
}
]
}
curl --request GET \
--url https://pay.chargily.net/test/api/v2/balance \
--header 'Authorization: Bearer <token>'
{
"entity": "balance",
"livemode": false,
"wallets": [
{
"currency": "dzd",
"balance": 50000,
"ready_for_payout": "40000",
"on_hold": 10000
},
{
"currency": "usd",
"balance": 2000,
"ready_for_payout": "1800",
"on_hold": 200
},
{
"currency": "eur",
"balance": 500,
"ready_for_payout": "250",
"on_hold": 250
}
]
}