cURL
curl --request PATCH \ --url https://sandbox-api.kotanipay.io/api/v3/wallet/fiat/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "My Wallet" } '
{ "success": true, "message": "Fiat wallet has been successfully updated.", "data": { "name": "My Wallet", "type": "eg crypto or fiat", "currency": "eg NGN or GHS or KES", "integrator": "4440cb6a-f7c7-11ed-b67e-0242ac120002", "id": "f053188c-d924-4423-bbba-871eda0b1cd9", "balance": 1000, "deposit_balance": 1000, "status": "eg active or inactive" } }
This endpoint will update the fiat wallet created by the integrator.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the wallet
"My Wallet"
true
"Fiat wallet has been successfully updated."
Show child attributes