Passer au contenu principal
POST
Adjust Wallet Balance

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Paramètres de chemin

external-vendor-id
string
requis

The External ID of the Vendor to retrieve.

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

The ID of the wallet to retrieve.

Corps

application/json
amount
integer
requis

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

Exemple:

100

description
string
requis

Reason given to adjust the amount

Minimum string length: 1
Exemple:

"Vendor used the money for other ads"

Réponse

Successful Response

balance
integer
requis

Resulting balance of an adjustment. ISO 4217 standard