curl --request POST \
--url https://api.topsort.com/public/v1/billing-service/credit-limit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"creditLimit": 1
}
'{
"result": true
}Endpoint to set the credit limit for a marketplace.
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.
This endpoint is a no-op as marketplace credit limit has been removed.
curl --request POST \
--url https://api.topsort.com/public/v1/billing-service/credit-limit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"creditLimit": 1
}
'{
"result": true
}A valid API key generated in Topsort's UI.
Used to set the Credit Limit. contains just the Credit Limit as a float
x >= 0Successful Response
Result of the Credit Limit Set. Returns True if the operation was executed correctly.
Was this page helpful?