curl --request PATCH \ --url https://sandbox-api.kotanipay.com/api/v3/wallet/fiat/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "My Wallet", "country": "GH or GHA for Ghana"}'
Copy
{ "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, "country": "GH or GHA for Ghana", "status": "eg active or inactive" }}
Fiat Wallets
Update Fiat Wallet
This endpoint will update the fiat wallet created by the integrator.
PATCH
/
api
/
v3
/
wallet
/
fiat
/
{id}
Update Integrator Fiat Wallet by Wallet ID
Copy
curl --request PATCH \ --url https://sandbox-api.kotanipay.com/api/v3/wallet/fiat/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "My Wallet", "country": "GH or GHA for Ghana"}'
Copy
{ "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, "country": "GH or GHA for Ghana", "status": "eg active or inactive" }}
Update the configuration and settings of an existing fiat wallet.