Check a checkout
swop_get_checkoutRead back a checkout created with swop_create_checkout: its status (active, pending_payment, paid, settled, expired, cancelled), the payment request if one is published, and the line items. Poll this after the buyer has been shown the payment to learn when it lands — paid means the buyer's money arrived; settled means the seller has been paid out. Only the linked account's own checkouts are visible.
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": {
"intentId": "<intentId>"
},
"name": "swop_get_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intentId | Yes | The intentId returned by swop_create_checkout |