Complete checkout (ChatGPT Instant Checkout)
complete_checkoutCalled by ChatGPT (or any agent runtime supporting Stripe's Shared Payment Token flow) after the user clicks Pay in an inline payment widget. Receives the SPT, charges it via Stripe, and credits the user's TMV account synchronously. The checkout_session_id is the Stripe Checkout Session ID returned by top_up_credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | ||
| payment_data | Yes | ||
| checkout_session_id | Yes | Stripe Checkout Session ID minted by top_up_credits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool result payload (JSON object) |