Get the payment link for an order
get_payment_linkReturns the link to WaitApp's payment page for one of the connected person's own orders that still has an amount to pay now (an order placed with online payment, or a pre-order with a deposit). The person opens the link, sees the exact charge, and pays it themselves; this tool charges nothing and sends no payment prompt. Find the order by orderCode (with restaurantId if the same code exists at two venues) or by orderId from list_my_orders.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | No | The orderId from list_my_orders | |
| orderCode | No | The order code returned when the order was placed, e.g. WA-K4M2 | |
| restaurantId | No | The venue the order was placed at (needed with orderCode if the person has the same code at two venues) |