create_payment_link
Pay-per-letter send: after the customer tells you to send this exact saved draft version, create (or reopen) its unpaid order and return a Stripe Checkout checkout_url plus a short summary to show them. Paying in Stripe Checkout is the customer approval; no website review or sign-in is needed, and nothing prints or mails until payment is confirmed. total_cents is a subtotal; Stripe shows tax and the final total. Missing address fields return 422 address_incomplete: ask for them in conversation and update_draft first. An existing open order for this version is reopened, never duplicated. Reuse the same key and arguments on retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | ||
| draft_id | Yes | ||
| idempotency_key | Yes |