Klarna Docs - Check the details of a payment session
Check the details of a payment session

Use the Klarna payments API to check the details of a session at any time.

To see the details of the session created when initiating a payment, send a GET request with an empty request body to the {apiUrl}/payments/v1/sessions/{session_id} endpoint. Provide the id of the session you want to revise as a session_id path parameter.

We only share customer details after authorizing the session.

Success response

In response to your call, you receive all the data collected throughout the payment process associated with this session.

JSON
Description:
successful operation

Headers:
Status Code: 200
Content-Type: application/json

{
    "billing_address": {
        "attention": "string",

Sample of a successful response to check the session details.

Error response

If the session id in your request is invalid, you get an error response. Ensure the session_id value you provided is correctly formatted and corresponds to a session that has not expired.

JSON
{
    "correlation_id": "6a9b1cb1-73a3-4936-a030-481ba4bb203b",
    "error_code": "ERROR_CODE",
    "error_messages": [
        "ERROR_MESSAGE"
    ]
}

Sample of an error to check the session details.

You can use the correlation_id value to troubleshoot the call in the merchant portal logs app.

Step 1: Initiate a payment
This section of the guide walks you through initiating a payment and letting your customers pay with Klarna.