WalletGet Specific Wallet Balance

Get Specific Wallet Balance

This endpoint returns the balance of a specific NGN wallet using wallet_code. It is for merchants enabled for multiple NGN wallets.

Endpoint

GET https://backendapi.sayswitchgroup.com/api/v1/wallet_balance/NGN/{wallet_code}

Headers

Authorization: Bearer YOUR_SECRET_KEY

Example

GET https://backendapi.sayswitchgroup.com/api/v1/wallet_balance/NGN/NGN169XXXX

Sample cURL

curl -X GET "https://backendapi.sayswitchgroup.com/api/v1/wallet_balance/NGN/NGN169XXXX" \
  -H "Authorization: Bearer YOUR_SECRET_KEY"

Sample Response

{
  "success": true,
  "message": "Wallet balance fetched successfully",
  "data": {
    "currency": "NGN",
    "balance": "50000.00",
    "pending": "0.00",
    "wallet_code": "NGN169XXXX",
    "title": "Operations Wallet",
    "is_default": false,
    "is_custom": true
  }
}

Notes

  • Existing default wallet endpoint remains: GET /api/v1/wallet_balance/NGN.
  • The new endpoint requires wallet_code.
  • Only NGN multiple-wallet balance is supported for now.