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
}
Endpoint to add some balance for a vendor.
Will truncate the input to its minimum denomination, e.g. USD 1,000.234 is USD 1,000.23 , as there is no fraction of a cent.
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
}
The External ID of the Vendor to retrieve.
1
Basic request Data for Adding Balance
Successful Response
Result of the Balance Adding. Returns True if the operation was executed correctly.