orders
public
Finalize Order
Changed onFinalize a draft order and synchronously attempt an off-session charge.
On success, the order transitions to paid and benefit grants fire before the response returns. On failure (decline, missing payment method, SCA challenge), the order stays in draft and a 4xx error is returned.
The request fails with 412 if the order is not in draft status.
Scopes: orders:write
post/v1/orders/{id}/finalize
Request
- Base URLhttps://api.polar.sh
- URLhttps://api.polar.sh/v1/orders/{id}/finalize
- Auth
- OpenID Connect (/.well-known/openid-configuration, scopes: orders:write)
- or HTTP bearer
- or HTTP bearer
Path parameters
idstring uuid4 required
The order ID.
Request body
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