cancel_booking_to_credit
Mutation/readOnly:false, script-tier/no-model-token action. Cancel a paid booking and email the customer a store-credit gift card for the booking amount instead of refunding their card (ideal for weather rain checks). Frees the seat or slot. Requires the Owner or Admin role and confirm:true — get your supervisor's yes first. Storefront Pro is required.
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": {
"bookingId": "<bookingId>",
"confirm": "<confirm>",
"proAccessToken": "<proAccessToken>"
},
"name": "cancel_booking_to_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true: your supervisor has said yes. | |
| message | No | Optional personal note included with the store-credit gift card email. | |
| bookingId | Yes | From list_bookings or get_booking. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |