Adds one or more payments to a check in an existing order. Include
information about the payments in an array of Payment
objects in the
message body. Specify the Toast platform GUID of the order
and check in REST path parameters.
For more information, see the Toast Developer Guide.
An array of JSON Payment
objects containing information about the payments you are adding.
amount required | number <double> The amount of this payment, excluding tips. |
amountTendered | number <double> The amount tendered for this payment. The amount tendered does not include the tip. |
cardEntryMode | string Indicates how credit card data was obtained. Response only. Valid values:
|
cardPaymentId | string Note: this value is in limited release. Your orders API
integration might not include the A unique identifier for the credit card used for a
The value is
Response only. |
cardType | string The type of credit card that was used. Response only. |
object (ExternalReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
checkGuid | string The Toast platform identifier for the check that contains the payment. Response only. |
object (Device) The Device ID value that the Toast platform assigns to a specific Toast POS device. The To find the ID for a Toast POS device, from the overflow menu (⋮) select Device Status and then select the Device tab. | |
entityType required | string The type of object this is. Response only. |
externalId | string External identifier string that is prefixed by the naming authority. You can use the orders API to set an |
guid required | string The GUID maintained by the Toast platform. |
object (ExternalReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
last4Digits | string The last 4 digits of the credit card that was used. Response only. |
object (Device) The Device ID value that the Toast platform assigns to a specific Toast POS device. The To find the ID for a Toast POS device, from the overflow menu (⋮) select Device Status and then select the Device tab. | |
mcaRepaymentAmount | number <double> The total currency amount withheld as payments or repayments that
apply to your business. For example, the
The MCA repayment amount is set at the time the payment is captured, which is typically hours after the actual restaurant guest payment. Until the The You can use the following resources to find more specific
information about the payment and repayment amounts that are
included in
Important: Some of the resources listed here require access to Toast products as a restaurant employee or operator. If your organization provides an integration service you might not have access to the Toast products used by the restaurants you integrate with. Toast support cannot provide access to Toast product information. That information is only available to direct Toast product users. |
orderGuid | string The Toast platform identifier for the order that contains the payment. Response only. |
originalProcessingFee | number <double> The original processing fee for this payment. Populated after the payment is captured. Response only. |
object (ExternalReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
paidBusinessDate | integer The business date (yyyyMMdd) on which this payment was first applied. Response only. |
paidDate | string <date-time> The date on which the payment was made. |
paymentStatus | string The status of this payment when the type is Valid values:
|
object (Refund) A currency amount removed from a guest payment. | |
refundStatus | string Indicates whether the payment was refunded. Response only. Valid values:
|
object (ExternalReference) A wrapper object with fields that allow reference to a Toast entity by Toast GUID. | |
tenderTransactionGuid | string For internal use only. |
tipAmount required | number <double> The amount tipped on this payment. |
type required | string The payment method. When All other types are response only. Valid values:
|
object (VoidInformation) Information about a void applied to a check or item. |
A JSON Order
object that includes the payments that you added.
The API cannot process the request.
[- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "paidDate": "2019-08-24T14:15:22Z",
- "paidBusinessDate": 0,
- "type": "CASH",
- "cardEntryMode": "SWIPED",
- "amount": 0,
- "tipAmount": 0,
- "amountTendered": 0,
- "cardType": "VISA",
- "last4Digits": "string",
- "originalProcessingFee": 0,
- "server": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "cashDrawer": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "refundStatus": "NONE",
- "refund": {
- "refundAmount": 0,
- "tipRefundAmount": 0,
- "refundDate": "2019-08-24T14:15:22Z",
- "refundBusinessDate": 0,
- "refundTransaction": {
- "guid": "string",
- "entityType": "string"
}
}, - "paymentStatus": "OPEN",
- "voidInfo": {
- "voidUser": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "voidApprover": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "voidReason": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
}, - "houseAccount": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "otherPayment": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "createdDevice": {
- "id": "string"
}, - "lastModifiedDevice": {
- "id": "string"
}, - "mcaRepaymentAmount": 0,
- "cardPaymentId": "string",
- "orderGuid": "string",
- "checkGuid": "string",
- "tenderTransactionGuid": "string"
}
]
{- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "openedDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "promisedDate": "2019-08-24T14:15:22Z",
- "channelGuid": "3c66b5cf-1850-49e6-aef3-40576e6de979",
- "diningOption": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "checks": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "openedDate": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "deletedDate": "2019-08-24T14:15:22Z",
- "deleted": true,
- "selections": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "item": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "itemGroup": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "optionGroup": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "preModifier": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "quantity": 0,
- "seatNumber": 0,
- "unitOfMeasure": "NONE",
- "selectionType": "NONE",
- "salesCategory": {
- "guid": "string",
- "entityType": "string",
- "multiLocationId": "string",
- "externalId": "string"
}, - "appliedDiscounts": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "name": "string",
- "discountAmount": 0,
- "nonTaxDiscountAmount": 0,
- "discount": {
- "guid": null,
- "entityType": null
}, - "triggers": [
- null
], - "approver": {
- "guid": null,
- "entityType": null,
- "externalId": null
}, - "processingState": "PENDING_APPLIED",
- "appliedDiscountReason": {
- "name": null,
- "description": null,
- "comment": null,
- "discountReason": null
}, - "loyaltyDetails": {
- "vendor": null,
- "referenceId": null
}, - "comboItems": [
- null
], - "appliedPromoCode": "string",
- "discountType": "BOGO",
- "discountPercent": 0
}
], - "deferred": true,
- "preDiscountPrice": 0,
- "price": 0,
- "tax": 0,
- "voided": true,
- "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "voidReason": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "refundDetails": {
- "refundAmount": 0,
- "taxRefundAmount": 0,
- "refundTransaction": {
- "guid": "string",
- "entityType": "string"
}
}, - "displayName": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "modifiers": [
- { }
], - "fulfillmentStatus": "NEW",
- "taxInclusion": "INCLUDED",
- "appliedTaxes": [
- {
- "guid": "string",
- "entityType": "string",
- "taxRate": {
- "guid": null,
- "entityType": null
}, - "name": "string",
- "rate": 0,
- "taxAmount": 0,
- "type": "PERCENT",
- "facilitatorCollectAndRemitTax": true,
- "displayName": "string",
- "jurisdiction": "string",
- "jurisdictionType": "string"
}
], - "diningOption": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "openPriceAmount": 0,
- "receiptLinePrice": 0,
- "optionGroupPricingMode": "INCLUDED",
- "externalPriceAmount": 0,
- "splitOrigin": {
- "guid": "string",
- "entityType": "string"
}
}
], - "customer": {
- "guid": "string",
- "entityType": "string",
- "firstName": "string",
- "lastName": "string",
- "phone": "string",
- "phoneCountryCode": "string",
- "email": "string"
}, - "appliedLoyaltyInfo": {
- "guid": "string",
- "entityType": "string",
- "loyaltyIdentifier": "string",
- "maskedLoyaltyIdentifier": "string",
- "vendor": "TOAST",
- "accrualFamilyGuid": "string",
- "accrualText": "string"
}, - "taxExempt": false,
- "displayNumber": "string",
- "appliedServiceCharges": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "chargeAmount": 0,
- "serviceCharge": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "chargeType": "FIXED",
- "name": "string",
- "delivery": true,
- "takeout": true,
- "dineIn": true,
- "gratuity": true,
- "taxable": true,
- "appliedTaxes": [
- {
- "guid": "string",
- "entityType": "string",
- "taxRate": {
- "guid": null,
- "entityType": null
}, - "name": "string",
- "rate": 0,
- "taxAmount": 0,
- "type": "PERCENT",
- "facilitatorCollectAndRemitTax": true,
- "displayName": "string",
- "jurisdiction": "string",
- "jurisdictionType": "string"
}
], - "serviceChargeCalculation": "PRE_DISCOUNT",
- "refundDetails": {
- "refundAmount": 0,
- "taxRefundAmount": 0,
- "refundTransaction": {
- "guid": "string",
- "entityType": "string"
}
}, - "serviceChargeCategory": "SERVICE_CHARGE",
- "paymentGuid": "string"
}
], - "amount": 0,
- "taxAmount": 0,
- "totalAmount": 0,
- "payments": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "paidDate": "2019-08-24T14:15:22Z",
- "paidBusinessDate": 0,
- "type": "CASH",
- "cardEntryMode": "SWIPED",
- "amount": 0,
- "tipAmount": 0,
- "amountTendered": 0,
- "cardType": "VISA",
- "last4Digits": "string",
- "originalProcessingFee": 0,
- "server": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "cashDrawer": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "refundStatus": "NONE",
- "refund": {
- "refundAmount": 0,
- "tipRefundAmount": 0,
- "refundDate": "2019-08-24T14:15:22Z",
- "refundBusinessDate": 0,
- "refundTransaction": {
- "guid": "string",
- "entityType": "string"
}
}, - "paymentStatus": "OPEN",
- "voidInfo": {
- "voidUser": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "voidApprover": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "voidReason": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
}, - "houseAccount": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "otherPayment": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "createdDevice": {
- "id": "string"
}, - "lastModifiedDevice": {
- "id": "string"
}, - "mcaRepaymentAmount": 0,
- "cardPaymentId": "string",
- "orderGuid": "string",
- "checkGuid": "string",
- "tenderTransactionGuid": "string"
}
], - "tabName": "string",
- "paymentStatus": "OPEN",
- "appliedDiscounts": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "name": "string",
- "discountAmount": 0,
- "nonTaxDiscountAmount": 0,
- "discount": {
- "guid": "string",
- "entityType": "string"
}, - "triggers": [
- {
- "selection": {
- "guid": null,
- "entityType": null,
- "externalId": null
}, - "quantity": 0
}
], - "approver": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "processingState": "PENDING_APPLIED",
- "appliedDiscountReason": {
- "name": "string",
- "description": "string",
- "comment": "string",
- "discountReason": {
- "guid": "string",
- "entityType": "string"
}
}, - "loyaltyDetails": {
- "vendor": "TOAST",
- "referenceId": "string"
}, - "comboItems": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
], - "appliedPromoCode": "string",
- "discountType": "BOGO",
- "discountPercent": 0
}
], - "voided": true,
- "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "paidDate": "2019-08-24T14:15:22Z",
- "createdDevice": {
- "id": "string"
}, - "lastModifiedDevice": {
- "id": "string"
}, - "duration": 0,
- "openedBy": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
}
], - "table": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "serviceArea": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "restaurantService": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "revenueCenter": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "source": "string",
- "duration": 0,
- "deliveryInfo": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "administrativeArea": "string",
- "state": "string",
- "zipCode": "string",
- "country": "string",
- "latitude": 0,
- "longitude": 0,
- "notes": "string",
- "deliveredDate": "2019-08-24T14:15:22Z",
- "dispatchedDate": "2019-08-24T14:15:22Z",
- "deliveryEmployee": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "deliveryState": "PENDING"
}, - "requiredPrepTime": "string",
- "estimatedFulfillmentDate": "2019-08-24T14:15:22Z",
- "numberOfGuests": 0,
- "voided": true,
- "voidDate": "2019-08-24T14:15:22Z",
- "voidBusinessDate": 0,
- "paidDate": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "deletedDate": "2019-08-24T14:15:22Z",
- "deleted": true,
- "businessDate": 0,
- "server": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}, - "pricingFeatures": [
- "TAXESV2"
], - "approvalStatus": "NEEDS_APPROVAL",
- "guestOrderStatus": "string",
- "createdDevice": {
- "id": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "initialDate": 0,
- "lastModifiedDevice": {
- "id": "string"
}, - "curbsidePickupInfo": {
- "guid": "string",
- "entityType": "string",
- "transportColor": "string",
- "transportDescription": "string",
- "notes": "string"
}, - "deliveryServiceInfo": {
- "guid": "string",
- "entityType": "string",
- "providerId": "string",
- "providerName": "string",
- "driverName": "string",
- "driverPhoneNumber": "string",
- "providerInfo": "string",
- "originalQuotedDeliveryDate": "string"
}, - "marketplaceFacilitatorTaxInfo": {
- "facilitatorCollectAndRemitTaxOrder": true,
- "taxes": [
- {
- "guid": "string",
- "entityType": "string",
- "taxRate": {
- "guid": "string",
- "entityType": "string"
}, - "name": "string",
- "rate": 0,
- "taxAmount": 0,
- "type": "PERCENT",
- "facilitatorCollectAndRemitTax": true,
- "displayName": "string",
- "jurisdiction": "string",
- "jurisdictionType": "string"
}
]
}, - "createdInTestMode": true,
- "appliedPackagingInfo": {
- "guid": "string",
- "entityType": "string",
- "appliedPackagingItems": [
- {
- "guid": "string",
- "entityType": "string",
- "itemConfigId": "string",
- "inclusion": "YES",
- "itemTypes": [
- "string"
], - "guestDisplayName": "string"
}
]
}, - "excessFood": true,
- "displayNumber": "string"
}