API reference
PaymentIntent
The PaymentIntent object.
Kind: Objects
Fields
id
ID!
action
For state "RequiresAction" this is the action that the user needs to perform.
employee
finalizeAccessToken
An access token that can be used to finalize the payment intent without requiring an authenticated user.
metadata
Any metadata that was passed in by the client will be returned as is here.
orderIntent
paymentMethod
paymentProvider
posTerminal
receiptPaymentMethodLabel
state
The state which this Payment Intent is currently in.
- 'Ready' - This payment intent is ready to be finalized.
- 'RequiresAction' - An action is required to be performed by the user before this payment intent can progress, see the 'action' field for more info.
- 'Done' - This payment intent has successfully been paid.
- 'Failed' - The payment intent has failed and will never be paid.
stripePaymentMethod
tipAmount
totalAmount
vatAmount
How to get it
This type is returned by:
cancelPaymentIntent(mutation)createPaymentIntent(mutation)createPaymentIntentRetry(mutation)Restaurant.paymentIntent(field onRestaurant)Order.paymentIntents(field onOrder)OrderIntent.paymentIntents(field onOrderIntent)