Skip to main content
PATCH
/
api
/
v3
/
wallet
/
fiat
/
{id}
Update Integrator Fiat Wallet by Wallet ID
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"
}
'
{
  "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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string
required

The name of the wallet

Example:

"My Wallet"

country
string

The country where the wallet will be used (accepts both ISO-2 and ISO-3 codes)

Example:

"GH or GHA for Ghana"

Response

success
boolean
Example:

true

message
string
Example:

"Fiat wallet has been successfully updated."

data
object