place_order
Finalize and pay for a real food delivery order after the user confirms checkout details; requires the expected total to match the reviewed amount and returns a payment link.
Instructions
PLACE A REAL ORDER that costs money. Only call after the user explicitly confirmed the review_order result. expected_total must equal review_order's total_to_pay; the order is refused if the total changed. For iDEAL/card, give the user the returned payment_url to pay in their browser; the order is only final once paid. note is an optional message for the restaurant/driver.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| payment | Yes | ||
| delivery_time | No | ASAP | |
| expected_total | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||