API reference
PaymentIntentAction
The PaymentIntentAction object.
Kind: Objects
Fields
type
url
deadline
If this field is set, the PaymentIntent could transition into the failed state if the user does not perform the action within the given time.
statusUrl
For type "OpenSwish" and "UseIntegratedTerminal" this is an url which will give the current status of the payment request.
When receiving a HTTP GET request, the response will contain a JSON document with a single field "status", which can have one of the following values:
- 'CANCELED'
- 'CREATED'
- 'DECLINED'
- 'ERROR'
- 'PAID'
stripeClientSecret
qrCodeValue
For type "OpenSwish" this is the value of the QR code to display to the end user.
How to get it
This type is returned by:
PaymentIntent.action(field onPaymentIntent)