POST
/
public
/
v1
/
billing-service
/
vendors
/
{external-vendor-id}
/
wallets
/
{wallet-id}
/
adjust
curl --request POST \
  --url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/wallets/{wallet-id}/adjust \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 100,
  "description": "Vendor used the money for other ads"
}'
{
  "balance": 123
}

Path Parameters

external-vendor-id
string
required

The External ID of the Vendor to retrieve.

Minimum length: 1
wallet-id
string
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.

Example:

100

description
string
required

Reason given to adjust the amount

Minimum length: 1
Example:

"Vendor used the money for other ads"

Response

200
application/json
Successful Response
balance
integer
required

Resulting balance of an adjustment. ISO 4217 standard