Session
The ID of the payment session
The subscription id related to the session, this can either be a new ID for new subscriptions or the given ID of a previous subscription which needs to be updated.
The transaction amount in minor units. 10000 equal 100 DKK
attributes objectnullable
Pass-through data which will be returned back to the merchant in any webhook.
List of exemptions to apply when available. Note exemptions may cause liability shift from the issuer to the merchant.
The currency of the payment. For Danish Kroner defined as DKK.
The expiration time of the payment session. After this time the session can no longer be used an a new session must be created.
The instant capture mode.
The maximum number of transaction attempts allowed for the session
The current number of transaction attempts so far.
The minimum age required. If not null and Age Verification is enabled on your account, the cardholder will be prompted to verify their age using local online IDs such as MitId in Denmark.
Is true once the customers age has been verified to be at least equal to minimumAge
parameter.
Boolean flag to enable / disable receiving webhook notifications for failed transactions.
Boolean flag to enable / disable dynamic amounts, allowing the client to determine the transaction amount. This is generally not recommended for most merchants.
The URL to receive webhooks related to transaction attempts
Optional URL to receive a webhook just before authorization is attempted. Can be used to update or reject the transaction. This is often used by merchants integrating external risk tooling to trigger 3DS challenges depending on the payment.
The URL to redirect the client on successful payment attempts
The URL to redirect the client on failed payment attempts when no more attempts are possible.
The URL to redirect the client on failed payment attempts when there are more attempts are possible. If null, then failureUrl is used instead.
The ID of the cardholder. This field is required to enable stored cards. Do not use any "guest" customer ids. Customer ids must be unique for each customer and secured behind authentication.
The ID of the associated point of sale
The transaction reference - Typically the order id.
The state of the transaction
The text to display on the cardholders bank statement
The chosen SCA mode. This can be used to control the level of cardholder authentication performed before the transaction is authorized.
The number of minutes the session is available.
The time of creation
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"amount": 0,
"attributes": {},
"exemptions": [
"string"
],
"currency": "string",
"expiresAt": "2024-07-29T15:51:28.071Z",
"instantCapture": "string",
"maxAttempts": 0,
"attempts": 0,
"minimumAge": 0,
"ageVerified": true,
"reportFailure": true,
"dynamicAmount": true,
"notificationUrl": "string",
"preAuthUrl": "string",
"successUrl": "string",
"failureUrl": "string",
"retryUrl": "string",
"customerId": "string",
"pointOfSaleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"state": "string",
"textOnStatement": "string",
"scaMode": "string",
"timeout": 0,
"createdAt": "2024-07-29T15:51:28.071Z"
}