This guide will be removed on April 29, 2022. Please use our new, easier-to-use Toast technical documentation site. All updated content is on the new site.
The following example shows an array of Payment
objects
to add payments to a check in an existing order.
[ { "guid": "7c65cc16-15bd-496e-886b-a3c080b36100","type": "CREDIT",
"amount": 35.21,
"tipAmount": 15
}, {
"guid": "bbb13b9b-1897-48ce-81da-953a83e6472d", "type": "CREDIT", "amount": 48.74, "tipAmount": 20 } ]
The UUID of the credit card payment that you authorized in the Toast credit cards API. For more information, see Credit card payments. |
|
The
|
|
The currency amount to apply to the check price in the added payment. |
|
The currency amount of a tip or gratuity in the added payment. |
|
You can add one or more payments in the array. This example adds two payments to the check. |