Create a deposit checkout
create_checkoutCreate a Stripe Checkout for a package's 50% deposit. Returns checkout_url, stripe_session_id, and amount_due. Show the amount to your user and open checkout_url for THEM to approve and pay; agents never complete payment themselves. Prices are fixed server-side. Pass a stable client_request_id so retries do not create duplicate checkouts.
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": {
"package": "<package>",
"client_request_id": "<client_request_id>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Offer id from list_offers | |
| client_request_id | Yes | Stable id you generate; makes creation idempotent on retry |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| currency | No | ||
| offer_id | No | ||
| amount_due | No | ||
| checkout_url | No | ||
| stripe_session_id | No |