Checkout Expiry Date
info
This field sets the date after which the checkout session will not be valid.
- Maximum value: 24 hours after session creation.
Default:
- 1 hour after session creation
Format: yyyy-MM-ddTHH:mm:ss.fffZ
Request Example
{
"terminalIdentifier": "1adfe4a1",
"amount": "48900",
"currency": "ISK",
"reference": "9990QQAZ1221",
"channel": "Web",
"origin": "https://www.your-ecommerce-website.com",
"threeDsReturnUrl": "https://your-ecommerce-website.com/straumur_redirect",
"expiresAt": "2023-03-15T12:00:00.000Z"
}
Request Field
Field | Type | Required | Description | Example | Min | Max |
---|---|---|---|---|---|---|
expiresAt | Datetime | Optional | The date the session expires in the following format: YYYY-MM-DD T hh:mm:ss.mmm Z . Default is 1 hour after session creation. | 2023-03-15T12:00:00.000Z | DateTime.UtcNow | DateTime.UtcNow + 24 hours |