add_charge
Mutation/readOnly:false, script-tier/no-model-token action. Bill a customer for work done after the fact, on one booking (bookingId) or one recurring service (subscriptionId), never both. Give the items (a description and a dollar amount), optionally adjustmentIds from list_adjustments and a note. Without confirm this previews the lines, the total and how it is paid (the card on file, or an emailed invoice) and charges nothing. You MUST show the preview to your supervisor and get a yes before calling with confirm:true. Then call again with confirm:true and the same requestId the preview returned, so a retry charges once; if you omit requestId a new one is made, and the output returns it. Boatwork's $5.99 fee applies to each charge. 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": {
"items": "<items>",
"proAccessToken": "<proAccessToken>"
},
"name": "add_charge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | An optional note the business sends with the charge. | |
| items | Yes | The lines to bill, in the order the customer sees them. | |
| confirm | No | Must be true to charge. Omit to preview. Only after your supervisor says yes. | |
| bookingId | No | The booking to charge, from list_bookings. Give this or subscriptionId, not both. | |
| requestId | No | Reuse the requestId from the preview when confirming. Omit on the first call and one is made. | |
| adjustmentIds | No | Saved adjustments to apply, from list_adjustments. | |
| 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. | |
| subscriptionId | No | The recurring service to charge, from list_recurring_services. Give this or bookingId, not both. |