API
Set Marketplace Credit Limit
POST
/v1/billing-service/credit-limit
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.
Authentication
Topsort’s APIs are authenticated via bearer tokens. Requests must include an authorization header containing your private API key.
Don't have an API key yet? Learn how to generate one.
Authorization
required
string
The header containing a private API key. Format this header as follows:
Authorization: Bearer <YOUR-API-KEY>
Request Body
Used to set the Credit Limit. contains just the Credit Limit as a float
application/json
object
creditLimit
required
number
Responses
Successful Response
This is the result of the Credit Limit Set. returns True if the operation was executed correctly.
application/json
object
result
required
boolean
Validation Error
application/json
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string