Finalize Order
Finalize 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.
If the charge requires customer authentication (PaymentActionRequired),
send the customer to https://polar.sh/<org-slug>/portal/orders/<order-id>/pay
(https://sandbox.polar.sh/... in the sandbox) to authenticate and pay it in
the customer portal.
The request fails with 412 if the order is not in draft status.
Scopes: orders:write
Authorizations
You can generate a Personal Access Token from your settings.
Body
Response
Successful Response

