Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

PaymentSessionInitializationResponse

qrCodestring
Nullable
paymentWindowUrlstring
Format:
uri
javascriptstring
Format:
uri
keystring
idstring

The ID of the payment session

Format:
uuid
subscriptionIdstring
Nullable
Format:
uuid
amountinteger
Example:
[ "CARD", "VIPPS_MOBILEPAY" ]
currencystring
Match:
^[A-Z]{3}$
expiresAtstring
Format:
date-time
instantCapturestring

The instant capture mode.

Possible values:
"OFF""VOID""NO_VOID"
maxAttemptsinteger

The maximum number of transaction attempts allowed for the session

attemptsinteger

The current number of transaction attempts so far.

minimumAgeinteger
ageVerifiedboolean
reportFailureboolean
reportExpiredboolean
dynamicAmountboolean
notificationUrlstring

The URL to receive webhooks related to transaction attempts

Format:
uri
preAuthUrlstring
Nullable
Format:
uri
successUrlstring

The URL to redirect the client on successful payment attempts

Format:
uri
returnUrlstring
Nullable
Format:
uri
Length:
1 <= length <= 1024
failureUrlstring
Format:
uri
retryUrlstring
Nullable
Format:
uri
customerIdstring
Nullable
pointOfSaleIdstring

The ID of the associated point of sale

Format:
uuid
referencestring
Nullable

The transaction reference - Typically the order id.

statestring

The state of the transaction

Possible values:
"PENDING""PROCESSING""COMPLETED""EXPIRED"
textOnStatementstring

The text to display on the cardholders bank statement

Length:
1 <= length <= 39
scaModestring
Possible values:
"SKIP""NORMAL""FORCE"
timeoutinteger

The number of minutes the session is available.

createdAtstring

The time of creation

Format:
date-time
PaymentSessionInitializationResponse
{  "qrCode": "string",  "paymentWindowUrl": "http://example.com",  "javascript": "http://example.com",  "key": "string",  "session": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",    "amount": 0,    "attributes": {      "property1": null,      "property2": null    },    "exemptions": [      "string"    ],    "allowedPaymentMethods": [      "CARD",      "VIPPS_MOBILEPAY"    ],    "currency": "string",    "expiresAt": "2019-08-24T14:15:22Z",    "instantCapture": "OFF",    "maxAttempts": 0,    "attempts": 0,    "minimumAge": 0,    "ageVerified": true,    "reportFailure": true,    "reportExpired": true,    "dynamicAmount": true,    "notificationUrl": "http://example.com",    "preAuthUrl": "http://example.com",    "successUrl": "http://example.com",    "returnUrl": "http://example.com",    "failureUrl": "http://example.com",    "retryUrl": "http://example.com",    "customerId": "string",    "pointOfSaleId": "be6bff4f-7fac-43c0-9f6b-cf2cd45ed7d1",    "reference": "string",    "state": "PENDING",    "textOnStatement": "string",    "scaMode": "SKIP",    "timeout": 0,    "createdAt": "2019-08-24T14:15:22Z"  }}