Skip to main content

Checkout Status Request

GET /sessioncheckout/status/{sessionId}?sessionResult={sessionResult}

This call will return the current status of the session checkout session for the given sessionId and sessionResult.

Test URL​

The status request on staging would be made to the following URL:

https://checkout-api.staging.straumur.is/api/v1/sessioncheckout/status/{sessionId}?sessionResult={sessionResult}

Live environment

On live, use the same path on https://greidslugatt.straumur.is. Headers, request and response are identical. See Live environment.

New Response​

{
"status": "Active",
"responseDateTime": "2024-09-04T10:35:18.343503Z",
"responseIdentifier": "e4ce3367-4d2b-4398-ad4e-06bcee650104"
}

Completed Response​

{
"status": "Completed",
"responseDateTime": "2024-09-04T10:35:18.343503Z",
"responseIdentifier": "e4ce3367-4d2b-4398-ad4e-06bcee650104"
}

Status Codes​

StatusExplanation
ActiveThe session is still active and can be paid.
CompletedThe shopper completed the payment. This means that the payment was authorized.
CanceledThe shopper canceled the payment.
ExpiredThe session has expired. The default expiry time is 1 hour after the session is created. Shoppers can no longer complete the payment with this session.
PaymentPendingThe shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow.
RefusedThe session has been refused, due to too many refused payment attempts. Shoppers can no longer complete the payment with this session.