Wait for the payment
wait_for_paymentLike get_booking_status, but holds the request open (up to 25 seconds) and returns as soon as the booking is paid. Call it after handing the buyer the payment_url instead of polling in a loop; repeat while status is still awaiting_payment and the hold has time left.
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": {
"booking_uuid": "<booking_uuid>"
},
"name": "wait_for_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for titles, labels and the returned URLs. Defaults to fr. | |
| booking_uuid | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |