Skip to navigation

List rate card versions

Lists the card’s versions, newest first. Filter on startsAt[lte] and status=inEffect to find the version in effect at a time.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

rateCardstringRequiredformat: "^[a-z0-9_]{1,64}$"
The rate card's key.

Headers

Paid-BetaenumRequired

This endpoint is in the rate_cards=v1 beta. Send this header to use it.

Allowed values:

Query parameters

cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
startsAt[lte]datetimeOptional

Only versions that start at or before this instant. With status=inEffect, it finds the version in effect then.

statusenumOptional
Only versions with this status.
Allowed values:

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The card's versions, newest first.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error