---
title: "Retrieve Checkout Session"
method: GET
path: "/checkoutsessions/retrieve"
tags: ["Checkout Sessions"]
---

# Retrieve Checkout Session

`GET /checkoutsessions/retrieve`

Used to retrieve a single checkout session via the Payment Links system

 **Integration Methods:**
- Host Direct

See the [Integration Methods](/guides/quickstart#integration-methods) and [URLs Section](/guides/quickstart#urls) sections of the Development Quick Start guide for details regarding each processing option.

## Headers

- `InterfaceVersion` string, required
- `InterfaceName` string, required
- `CompanyName` string, required
- `AccessToken` string, uuid, required
- `CheckoutSessionId` string, required

## Response `200`

Request was processed

- object
  - `result` object[]
    - `dateTime` string, ISO 8601 — Date-time when the object was created
    - `checkoutSession` CheckoutSessionResponse
      - `id` string — Identifier of a Checkout Session
      - `staticFields` CheckoutSessionStaticFields — List of information displayed on the payment page
      - `customFieldsTitle` string — Title of custom fields section
      - `customFields` object[] — List of custom fields that were collected from customer on the payment page
        - `key` string, required — Identifier of custom field
        - `label` string, required — Label of custom field
        - `optional` boolean — If this flag is set to true, then customer was not required to provide any value for this custom field
        - `value` string — The value that was provided by the customer for this custom field
      - `lastTransaction` CheckoutSessionLastTransaction — Contains the API response from the last transaction processed. See the [Sale Response Body](/apis/payments-platform-rest/openapi/transactions/transactionssale#transactions/transactionssale/response&c=200) for the full response structure.

## Other responses

- `400` — Error
- `504` — Timeout

---

[API](https://skmtc.dev/shift4/apis/shift4-payment-api.md) · [All operations](https://skmtc.dev/shift4/apis/shift4-payment-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shift4/shift4-payment-api/revisions/b923fc55b203/schema)
