PATCH
/
wallets
/
{id}
Update a wallet balance (only for virtual wallets)
curl --request PATCH \
  --url https://api.paygentic.io/v0/wallets/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "balance": "<string>"
}'
{
  "id": "<string>",
  "object": "wallet",
  "ownedBy": "<string>",
  "namespace": "<string>",
  "balance": 123,
  "currency": "<string>",
  "timezone": "<string>",
  "tag": "<string>",
  "createdAt": 123,
  "updatedAt": 123,
  "name": "<string>",
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique identifier for an account

Body

application/json

Response

200
application/json

Wallet updated successfully

The response is of type object.