cURL
curl --request GET \ --url https://api.example.com/api/v1/wallets/fiat/{walletId} \ --header 'x-api-key: <x-api-key>'
{ "status": true, "message": "wallet retrieved successfully", "data": { "id": "wal_abc123xyz", "customerId": "cus_123456789", "availableBalance": "10000.00", "ledgerBalance": "10000.00", "walletName": "Main Wallet", "customerType": "individual", "virtualAccount": { "accountNumber": "1234567890", "bankCode": "035", "bankName": "Wema Bank" } } }
Retrieve details of a specific fiat wallet
curl https://api-staging.fossapay.com/api/v1/wallets/fiat/wal_abc123xyz \ -H "x-api-key: fp_live_sk_xxxxxxxx"
const wallet = await client.wallets.get('wal_abc123xyz');
wallet = client.wallets.get('wal_abc123xyz')
Show properties
WALLET_NOT_FOUND
UNAUTHORIZED