curl --request POST \
--url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/balance/burn \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"description": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Endpoint to burn some amount of balance for a vendor.
curl --request POST \
--url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/balance/burn \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"description": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}A valid API key generated in Topsort's UI.
The External ID of the Vendor to retrieve.
1Basic request payload for Burning Balance.
Successful Response
Was this page helpful?