The Wallets API allows you to manage and view your merchant account balances across different currencies. Each currency has its own wallet with available and locked balances.
https://genesyspay.com/api/v2/wallets
Retrieve all wallet accounts for your business across all currencies.
curl -X GET https://genesyspay.com/api/v2/wallets \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_PRIVATE_KEY"
{
"status": "success",
"data": [
{
"currency": "XOF",
"balance": "150000.00",
"locked_balance": "5000.00",
"available_balance": "145000.00",
"created_at": "2026-01-15T10:30:00+00:00"
},
{
"currency": "ZMW",
"balance": "8500.50",
"locked_balance": "0.00",
"available_balance": "8500.50",
"created_at": "2026-02-01T14:20:00+00:00"
},
{
"currency": "GHS",
"balance": "2300.00",
"locked_balance": "300.00",
"available_balance": "2000.00",
"created_at": "2026-02-10T09:15:00+00:00"
}
]
}
| Field | Type | Description |
|---|---|---|
currency |
string | 3-letter currency code (XOF, ZMW, GHS, etc.) |
balance |
string | Total balance in the wallet |
locked_balance |
string | Amount locked for pending transactions |
available_balance |
string | Available balance for payouts (balance - locked_balance) |
created_at |
string | ISO 8601 timestamp of wallet creation |
https://genesyspay.com/api/v2/wallets/{currency}
Retrieve the balance and details for a specific currency wallet.
| Parameter | Type | Required | Description |
|---|---|---|---|
currency |
string | Required | 3-letter currency code (e.g., XOF, ZMW, GHS) |
curl -X GET https://genesyspay.com/api/v2/wallets/XOF \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_PRIVATE_KEY"
{
"status": "success",
"data": {
"currency": "XOF",
"balance": "150000.00",
"locked_balance": "5000.00",
"available_balance": "145000.00",
"created_at": "2026-01-15T10:30:00+00:00"
}
}
| HTTP Status | Error Message | Description |
|---|---|---|
| 422 | Invalid currency code | The currency code provided is not valid or not supported |
| 404 | Account not found for this currency | No wallet exists for the specified currency |
| 401 | Unauthorized | Invalid or missing API key |
{
"status": "error",
"message": "Invalid currency code"
}
{
"status": "error",
"message": "Account not found for this currency"
}
Before initiating a payout, verify you have sufficient available balance:
# Check ZMW wallet balance
curl -X GET https://genesyspay.com/api/v2/wallets/ZMW \
-H "Authorization: Bearer YOUR_PRIVATE_KEY"
# If available_balance >= payout_amount + fees, proceed with payout
curl -X POST https://genesyspay.com/api/v2/payouts \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_PRIVATE_KEY" \
-d '{"amount": 100, "currency": "ZMW", ...}'
Regularly check all your wallet balances for accounting and reconciliation:
curl -X GET https://genesyspay.com/api/v2/wallets \ -H "Authorization: Bearer YOUR_PRIVATE_KEY"
Fetch specific currency balance to display in your merchant dashboard:
# Get XOF balance for Côte d'Ivoire operations curl -X GET https://genesyspay.com/api/v2/wallets/XOF \ -H "Authorization: Bearer YOUR_PRIVATE_KEY"