reconcile_order
Ask Stripe whether the payment for an order has completed. Use it when a buyer has come back from Stripe's payment page and the order is not marked paid yet. Returns the order as it now stands. It is refused with stripe_not_configured where the operator has not set up Stripe.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order_id": "<order_id>",
"session_id": "<session_id>",
"manage_token": "<manage_token>"
},
"name": "reconcile_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | the order id | |
| session_id | Yes | the Checkout Session id Stripe returned the buyer with | |
| manage_token | Yes | the manage token place_guest_order returned for this order; it can also be sent as the x-order-token header |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The order id (FS-… for a customer, FG-… for a guest). | |
| guest | Yes | Whether a guest placed it. | |
| items | Yes | The lines. | |
| coupon | No | The coupon applied, if any. | |
| status | Yes | placed | checkout_open | payment_pending | paid | fulfilled | shipped | delivered | cancelled | expired | refunded. | |
| delivery | Yes | A UK delivery address. | |
| created_ms | Yes | When it was placed (epoch ms). | |
| updated_ms | Yes | When it last changed (epoch ms). | |
| user_email | Yes | The contact email. | |
| total_pence | Yes | The total the customer pays, in pence. | |
| checkout_url | No | The hosted checkout URL, once checkout opened. | |
| refund_state | No | The refund state Stripe reported, once refunded. | |
| discount_pence | Yes | The discount in pence. | |
| shipping_pence | Yes | The delivery charge in pence. | |
| stock_reserved | Yes | Whether stock is still reserved against this order. | |
| subtotal_pence | Yes | The subtotal in pence. | |
| shipping_choice | Yes | standard | express. | |
| tracking_number | No | The tracking number, once shipped. | |
| tracking_carrier | No | The carrier, once shipped. | |
| stripe_session_id | No | The Stripe Checkout Session id, once checkout opened. | |
| confirmation_email | No | The confirmation-email outbox entry, created at payment. |