Skip to main content

Checkout Status Request

GET /embeddedcheckout/status/{checkoutReference}

This call will return the current status of the embedded checkout session for the given checkoutReference.

Test URL

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

https://checkout-api.staging.straumur.is/api/v1/embeddedcheckout/status/{checkoutReference}

New Response

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

Completed Response

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

Expired Response

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

Status Codes

StatusExplanation
NewThe session is available for consumption.
CompletedThe session is completed. Payment has been successfully made.
ExpiredThe session has expired. No payment has been made.