refund_policy
Read-only, action=get: read the booking refund policy, who pays Boatwork's fee and the cancel settings. Storefront Pro is required. Mutation for action=update: change the refund policy and customer-facing wording. customerPaysFee sets who pays Boatwork's fee (true = the customer pays it as a Service fee line on top; false = it comes out of the business's payment). depositRefundable, serviceFeeRefundable, selfCancelOn and lateCancelOn set the cancel settings; send only the ones you change. Updating needs the Admin role.
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": {
"action": "<action>",
"proAccessToken": "<proAccessToken>"
},
"name": "refund_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| lateCancelOn | No | true = after the refund window ends, customers may still cancel online with no refund (frees the seat or slot). | |
| refundPolicy | No | ||
| selfCancelOn | No | true = customers can cancel online from their booking page; false = the page says how to reach the business. | |
| 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. | |
| customerPaysFee | No | true = the customer pays Boatwork's fee as a separate Service fee line on top; false = it comes out of the business's payment. | |
| refundPolicyText | No | ||
| selfRescheduleOn | No | true = customers can reschedule online inside the refund window from their booking page. | |
| depositRefundable | No | true = a customer cancel inside the refund window refunds the deposit too; false = the deposit is kept. | |
| refundWindowHours | No | ||
| serviceFeeRefundable | No | true = a customer cancel inside the refund window refunds the service fee too (only when the customer pays it); false = it is kept. |