orders
public
Create Order
Changed onCreate a draft order for an off-session charge against a saved payment method. The order is created with status=draft and no invoice number; call POST /v1/orders/{id}/finalize to attempt the charge.
The organization must have the off_session_charges_enabled feature flag.
Scopes: orders:write
post/v1/orders/
Request
- Base URLhttps://api.polar.sh
- URLhttps://api.polar.sh/v1/orders/
- Auth
- OpenID Connect (/.well-known/openid-configuration, scopes: orders:write)
- or HTTP bearer
- or HTTP bearer
Request body
Example request
{
"organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"
}Response
Successful Response
Order required(unresolved $ref)
Changes
- warning
added the new
subscription_meter_cycleenum value to theresponse property for the response status
- warning
- info
added the required property
/to the response with the status
- info