Create a rate card
Draft scaffold — not implemented or available in the API.
Creates a rate card with no versions. Its prices go in a version, which you create as a draft and commit.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Headers
Paid-Beta
This endpoint is in the rate_cards=v1 beta. Send this header to use it.
Allowed values:
Request
Body
key
The rate card’s key: 1 to 64 lowercase letters, digits or underscores, unique in the account. It can’t change.
name
The resource name.
pricedIn
What the rate card prices in. It can't change.
product
The ID of the product the rate card prices.
Response
201
id
The rate card's ID.
object
The type of object. Always rateCard.
Allowed values:
createdAt
When the object was created.
archivedAt
When the rate card was archived, or null. An archived card can’t be put on new orders or gain versions.
key
The rate card’s key: 1 to 64 lowercase letters, digits or underscores, unique in the account. It can’t change.
livemode
true for an object on a live account, false on a test account.
name
The resource name.
pricedIn
What the rate card prices in. It can't change.
product
The ID of the product the rate card prices.
updatedAt
When the object was last changed.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error