Prepare order
create_orderRead or update the order for the final quote. Pass explicitly available renewal, referral or channel codes in coupon_codes before payment starts. Tell the person which codes were added and their valid/invalid status. Give confirmation_url to the person to review codes and pay themselves. Never submit payment for them. Save order_id and order_capability before passing confirmation_url to the person. After payment, use get_order even if the original session is lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otp | No | Deprecated; ignored. | |
| quote_id | Yes | ||
| request_id | Yes | ||
| coupon_codes | No | ||
| idempotency_key | Yes | ||
| expected_revision | Yes | ||
| request_capability | Yes |