Skip to main content
POST
Add order

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <live_api_key>.

Headers

Idempotency-Key
string

Optional key for POST /customer/create, POST /invoice/create-quote, POST /invoice/create-invoice, POST /invoice/update-invoice, and POST /order/add-order. Reusing the same key with the same request replays a successful response for 24 hours; reusing it with a different request returns 409.

Required string length: 1 - 100
Pattern: ^[A-Za-z0-9._-]{1,100}$

Body

customer_id
integer
required
package_id
integer
required
cycle_id
integer
required
price
number
required
options
object

Matching option arrays. Each index represents one selected package option. For hosted checkout, option prices are resolved server-side from the selected package.

Response

OK

success
boolean