Saltar para o conteúdo principal
POST
Adjust Wallet Balance

Autorizações

Authorization
string
header
obrigatório

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.

Parâmetros de caminho

external-vendor-id
string
obrigatório

The External ID of the Vendor to retrieve.

Minimum string length: 1
wallet-id
string<uuid>
obrigatório

The ID of the wallet to retrieve.

Corpo

application/json
amount
integer
obrigatório

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

Exemplo:

100

description
string
obrigatório

Reason given to adjust the amount

Minimum string length: 1
Exemplo:

"Vendor used the money for other ads"

Resposta

Successful Response

balance
integer
obrigatório

Resulting balance of an adjustment. ISO 4217 standard