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

# Get a Checkout Session



## OpenAPI

````yaml GET /v1/checkout/sessions/{id}
openapi: 3.1.0
info:
  title: Plexos Pay API
  description: Mobile Money Payment Gateway for African Markets
  version: 1.0.0
  contact:
    name: Plexos Pay
    url: https://plexospay.com
servers:
  - url: https://api.plexospay.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/checkout/sessions/{id}:
    get:
      tags:
        - Checkout Sessions
      summary: Get a checkout session
      operationId: getCheckoutSession
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Checkout session details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutSession'
components:
  schemas:
    CheckoutSession:
      type: object
      properties:
        id:
          type: string
          example: cs_abc123
        url:
          type: string
          example: https://pay.plexospay.com/cs_abc123
        amount:
          type: string
          example: '30000'
        currency:
          $ref: '#/components/schemas/Currency'
        status:
          $ref: '#/components/schemas/CheckoutSessionStatus'
        returnUrl:
          type: string
          nullable: true
        completionUrl:
          type: string
          nullable: true
        customerId:
          type: string
          nullable: true
        paymentIntentId:
          type: string
          nullable: true
        items:
          type: array
          items:
            $ref: '#/components/schemas/CheckoutSessionItem'
        metadata:
          $ref: '#/components/schemas/Metadata'
        expiresAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Currency:
      type: string
      enum:
        - CVE
        - AOA
      description: ISO currency code
    CheckoutSessionStatus:
      type: string
      enum:
        - OPEN
        - COMPLETED
        - EXPIRED
    CheckoutSessionItem:
      type: object
      properties:
        id:
          type: string
        productId:
          type: string
          nullable: true
        name:
          type: string
        description:
          type: string
          nullable: true
        quantity:
          type: integer
        unitPrice:
          type: string
        currency:
          $ref: '#/components/schemas/Currency'
    Metadata:
      type: object
      additionalProperties: true
      description: Arbitrary key-value metadata (max 50 keys)
      nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key starting with `sk_live_` or `sk_test_`

````