Response to create a payment intent.
amount required | integer <int32> Amount of the payment to be taken in minor units. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.01 US (e.g., a value of 1) or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). |
required | object (AmountDetails) Details about a tip amount. |
captureMethod required | string Controls when funds will be captured from the customer's account. |
creationDate required | string The date and time the payment intent was created in UTC format. |
currency required | string Three-letter ISO 4217 currency code, in uppercase. Must be a supported currency. |
customerId | string The unique identifier of the customer record that identifies the customer in the Toast platform. The identifier is used to retrieve the customer’s payment cards saved to their profile. |
string The email address of the customer making the payment. | |
externalReferenceId required | string <uuid> The unique identifier for the payment intent generated by the restaurant or integration partner. The |
id required | string <uuid> The identifier of the payment intent. |
object or null The latest payment associated with the payment intent. | |
offSession | boolean Reserved for future use. |
required | object (PaymentMethodConfigurationDetails) Details about a payment method configuration. |
paymentMethodId | string <uuid> The unique identifier of the payment method. |
sessionSecret required | string A unique and randomized identifier for the payment intent. |
setupFutureUsage | string or null Field used to determine if the logged-in customer will save the payment method for future usage. The value is
|
standingInstructionType | string Reserved for future use. |
status required | string Status of the payment intent. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "externalReferenceId": "b31a2b46-53f5-4ad9-a2e3-1dc38ff564d5",
- "sessionSecret": "string",
- "amount": 0,
- "currency": "USD",
- "captureMethod": "MANUAL",
- "status": "REQUIRES_PAYMENT_METHOD",
- "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",
- "creationDate": "2023-07-07T14:01:27Z",
- "setupFutureUsage": "ON_SESSION",
- "customerId": "string",
- "amountDetails": {
- "tip": 0,
- "surcharge": 0,
- "lineItemModifiers": {
- "property1": {
- "key": "string",
- "value": 0
}, - "property2": {
- "key": "string",
- "value": 0
}
}
}, - "email": "string",
- "paymentMethodConfigurationDetails": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "latestPayment": {
- "card": {
- "brand": "VISA",
- "lastFour": "string",
- "expiry": {
- "month": "string",
- "year": "string"
}
}
}, - "offSession": true,
- "standingInstructionType": "UNSCHEDULED"
}