Check your merchant checkout and booking
get_direct_paymentCheck an existing deposit booking on your signed-in Direct account: reconcile its Stripe Checkout payment and return its receipt and the separate booking state. Use it after send_to_business returned a payment_url for a deposit booking, to see whether the person has paid; it cannot start a payment, which the person makes on Stripe’s hosted page. Pass biz (the business id from its card) and task_id (the task id send_to_business returned for that booking). Requires direct:tasks. Uses only the stored merchant account and amount and creates no new charge or booking identity; a verified paid checkout may finish its already-authorized held booking. Payout status remains unknown: paid does not mean a bank payout. Safe to repeat. For owner_record_pending, check again to finish saving the owner’s booking record. owner_notice_unconfirmed means delivery is unverified and checking again will not resend it. appointment_state=cancelled records a later cancellation. Example: biz='harbor-plumbing', task_id='tk_5d0' after send_to_business returned a payment_url for a deposit booking.
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": {
"biz": "<biz>",
"task_id": "<task_id>"
},
"name": "get_direct_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| biz | Yes | The business id (from its card) the deposit booking was made with. | |
| task_id | Yes | The task id send_to_business returned for that booking. |