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
Status | Explanation |
---|---|
New | The session is available for consumption. |
Completed | The session is completed. Payment has been successfully made. |
Expired | The session has expired. No payment has been made. |