> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blink.store/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve checkout session details

> Fetches the status and details of a specific Blink checkout session using its ID. The session details include URL, status, payment status, customer email, etc.

**Usage:** Use this endpoint to review the status of a checkout session and get necessary details for follow-up actions.



## OpenAPI

````yaml get /checkouts/{id}
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security: []
paths:
  /checkouts/{id}:
    get:
      tags:
        - Checkouts
      summary: Retrieve checkout session details
      description: >-
        Fetches the status and details of a specific Blink checkout session
        using its ID. The session details include URL, status, payment status,
        customer email, etc.


        **Usage:** Use this endpoint to review the status of a checkout session
        and get necessary details for follow-up actions.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Checkout session data retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutSessionResponse'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
components:
  schemas:
    CheckoutSessionResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
            url:
              type: string
            status:
              type: string
            payment_status:
              type: string
            customer_email:
              type: string
            amount_total:
              type: integer
            currency:
              type: string
            product_id:
              type: string
            variant_id:
              type: string
            expires_at:
              type: string
              format: date-time
            created_at:
              type: string
              format: date-time

````