Virtual Account
Get All Balances
Get Started
API Reference
- Account
- Virtual Account
- Disbursement
- Transaction
Additional References
Virtual Account
Get All Balances
This endpoint returns the balance of all wallets belonging to the user.
curl --location '{{API_BASE_URL}}/virtual-accounts/balance/all' \
--header 'x-giro-key: {{SECRET_KEY}}' \
--header 'Content-Type: application/json' \
{
"meta": {
"statusCode": 200,
"success": true,
},
"data": {
"6623612c56trb29bb31303d2": {
"withdrawableAmount": 1500,
"availableAmount": 45101500
},
"6629540722r5668004e40c25": {
"withdrawableAmount": 15080,
"availableAmount": 45115080
}
}
}
GET {{baseurl}}/virtual-accounts/balance/all
https://gw.stg.girostack.com/v1
https://gw.stg.girostack.com/v1
https://gw.prod.girostack.com/v1
Headers
Pass your account’s secret key as the value.
curl --location '{{API_BASE_URL}}/virtual-accounts/balance/all' \
--header 'x-giro-key: {{SECRET_KEY}}' \
--header 'Content-Type: application/json' \
{
"meta": {
"statusCode": 200,
"success": true,
},
"data": {
"6623612c56trb29bb31303d2": {
"withdrawableAmount": 1500,
"availableAmount": 45101500
},
"6629540722r5668004e40c25": {
"withdrawableAmount": 15080,
"availableAmount": 45115080
}
}
}
Was this page helpful?
curl --location '{{API_BASE_URL}}/virtual-accounts/balance/all' \
--header 'x-giro-key: {{SECRET_KEY}}' \
--header 'Content-Type: application/json' \
{
"meta": {
"statusCode": 200,
"success": true,
},
"data": {
"6623612c56trb29bb31303d2": {
"withdrawableAmount": 1500,
"availableAmount": 45101500
},
"6629540722r5668004e40c25": {
"withdrawableAmount": 15080,
"availableAmount": 45115080
}
}
}