cURL
curl --request POST \ --url https://sandbox-api.kotanipay.io/api/v3/wallet/fiat \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "My Wallet", "currency": "eg NGN or GHS or KES" } '
{ "success": true, "message": "Fiat wallet has been successfully created.", "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 create a fiat wallet for 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"
The currency of the wallet
KES
GHS
NGN
ZAR
USD
XOF
ZMW
XAF
SLE
CDF
TZS
UGX
EGP
MWK
RWF
ETB
"eg NGN or GHS or KES"
true
"Fiat wallet has been successfully created."
Show child attributes