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
}
Endpoint to change the balance for a wallet. It
will add the amount to the wallet if the amount is positive and burn the amount if it is negative. The amount is ISO 4217 currency code compliant meaning that 100 as an input for USD marketplace will be 1 USD.
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
}
The External ID of the Vendor to retrieve.
1
The ID of the wallet to retrieve.
Successful Response
The response is of type object
.