Get a checkout link
get_checkout_linkUse when the checkout link expired or was lost and the order still awaits payment. Returns a Send Christmas Postcard checkoutUrl and its expiry. The link redirects the user to Stripe to pay.
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": {
"ref": "<ref>"
},
"name": "get_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Private order reference returned by prepare_postcard. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiresAt | Yes | ||
| checkoutUrl | Yes |