Wallet
Get wallet details
Changed onReturns the wallet details for a given wallet ID or all wallets
get/wallet
Request
- Base URLhttps://staging.api.mavapay.co/api/v1
- Auth
- API key in header X-API-KEY
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
walletIdstring uuid
The wallet ID to get the details for (optional)
currency'NGN' | 'KES' | 'BTC' | 'USD' | 'USDT'
The currency to get the details for (optional)
Response
Wallet response
Example response
{
"status": "ok",
"data": [
{
"id": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"accountId": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"balance": 1000
}
]
}Changes
- warning
added the new
USDTenum value to the//response property for the response status - info
added the new enum value
USDTto thequeryrequest parametercurrency
- warning
- warning
added the new
GHSenum value to the//response property for the response status
- warning