Complete UCP Checkout & Issue Buyer Handoff
complete_checkoutFinalize pre-payment checkout validation, mint a live Stripe Checkout or 50/50 Base DropERC1155 checkout session, and return UCP status "requires_escalation" with continue_url. Use this to hand the buyer off to Merchant-of-Record payment authorization. Parameters: pass top-level id ("uchk_*"), meta.idempotency-key, and optional checkout.buyer or payment preferences. Behavior: replay-safe on idempotency-key; never fabricates settled orders—returns requires_escalation + continue_url and records a trackable uord_* / Stripe order reference.
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": {
"id": "<id>"
},
"name": "complete_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Checkout identifier (uchk_<20 hex chars>) to finalize. | |
| meta | No | UCP protocol request metadata (meta.ucp-agent and meta.idempotency-key). | |
| checkout | No | Optional completion body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ucp | Yes | Negotiated UCP protocol metadata and capability intersection. |