POST
/
public
/
v1
/
billing-service
/
vendors
/
{external-vendor-id}
/
balance
curl --request POST \
  --url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/balance \
  --header 'Content-Type: application/json' \
  --data '{
  "balance": 1,
  "description": "Free credits added to the account"
}'
{
  "result": true
}

Path Parameters

external-vendor-id
string
required

The External ID of the Vendor to retrieve.

Minimum length: 1

Body

application/json

Basic request Data for Adding Balance

balance
number
required

Amount to add in the marketplace currency

Required range: x > 0
description
string

Reason given to add the amount

Minimum length: 1
Example:

"Free credits added to the account"

Response

200
application/json
Successful Response

This is the result of the Balance Adding. returns True if the operation was executed correctly.

result
boolean
required