Place the order
complete_checkoutPlace the order. Only after the shopper has approved the total from update_checkout. With the shopper's Stripe shared payment token (spt_...), issued for at least the order total, JENNi charges it and places the order now. Never send card numbers. Delivered by JENNi. payment_token is optional. Without an spt_, call with only checkout_id: the result carries continue_url, the shopper's pay link, and the order is placed when they pay there. With a Link Agent Wallet, make a spend request (credential_type shared_payment_token, the network_id and amount_cents from this checkout's payment block) and pass the spt_ here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkout_id | Yes | ||
| payment_token | No | Optional. Stripe shared payment token, starting spt_. Leave it out to get the shopper's pay link (continue_url). | |
| idempotency_key | No | Optional. Reuse the same value to retry safely; the retry returns the first result instead of acting twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | incomplete, ready_for_complete, requires_escalation, completed or canceled. | |
| totals | Yes | ||
| currency | No | ||
| messages | Yes | ||
| order_id | No | ||
| next_step | Yes | ||
| expires_at | No | ||
| line_items | No | ||
| checkout_id | Yes | ||
| reason_code | No | ||
| continue_url | No | Present when the shopper should finish on JENNi instead. | |
| fulfilled_by | Yes | ||
| fulfillment_options | Yes | ||
| selected_fulfillment_mode | No |