API reference

PaymentIntent

The PaymentIntent object.

Kind: Objects

Fields

id

ID!

action

PaymentIntentAction

For state "RequiresAction" this is the action that the user needs to perform.

employee

Employee

finalizeAccessToken

String

An access token that can be used to finalize the payment intent without requiring an authenticated user.

metadata

JSONObject

Any metadata that was passed in by the client will be returned as is here.

orderIntent

OrderIntent

paymentMethod

PaymentMethod

paymentProvider

PaymentProvider

posTerminal

PosTerminal

receiptPaymentMethodLabel

String

state

PaymentIntentState!

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

StripePaymentMethod

tipAmount

Int53

totalAmount

Int53!

vatAmount

Int53

How to get it

This type is returned by: