API reference

PaymentIntentAction

The PaymentIntentAction object.

Kind: Objects

Fields

type

PaymentIntentActionType

url

String

deadline

DateTime

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

String

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

String

qrCodeValue

String

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: