Skip to navigation

Create a price

Draft scaffold — not implemented or available in the API.

Creates a price on a product. type sets what it charges for: usage for what a meter measures, recurring for a fixed amount every billing period, oneTime for a single charge, or percentOf for a percentage of other charges on the same order. Its amounts can’t change once created, and creating a price on an archived product fails.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

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

Allowed values:

Request

Body
usageobjectRequired
OR
recurringobjectRequired
OR
oneTimeobjectRequired
OR
percentOfobjectRequired

Response

201
usageobject
OR
recurringobject
OR
oneTimeobject
OR
percentOfobject

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