Skip to main content
POST
/
public
/
v1
/
billing-service
/
vendors
/
{external-vendor-id}
/
wallets
/
{wallet-id}
/
adjust
Adjust Wallet Balance
curl --request POST \
  --url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/wallets/{wallet-id}/adjust \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "description": "<string>"
}
'
{
  "balance": 123
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Path Parameters

external-vendor-id
string
required

The External ID of the Vendor to retrieve.

Minimum string length: 1
wallet-id
string<uuid>
required

The ID of the wallet to retrieve.

Body

application/json
amount
integer
required

Amount to add to the balance. This value must be non-zero. ISO 4217 standard.

description
string
required

Reason given to adjust the amount

Minimum string length: 1

Response

Successful Response

balance
integer
required

Resulting balance of an adjustment. ISO 4217 standard