API reference
OrderIntentAction
The OrderIntentAction object.
Kind: Objects
Fields
type
url
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'
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:
OrderIntent.action(field onOrderIntent)