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

# Create Session



## OpenAPI

````yaml /products/commerce/v1/integration/extensions/openapi.yaml post /session
openapi: 3.1.0
info:
  title: Commerce V1 Extension Services API
  version: '1.0'
  description: >
    This specification describes the HTTP endpoints that your services can
    implement to extend Hellgate Commerce V1.  Commerce V1 calls these endpoints
    during payment processing flows.
  contact:
    name: Starfish GmbH & Co. KG
    email: hello@starfish.team
    url: https://hellgate.io/cpa/commerce
  license:
    name: Hellgate API Terms
    url: https://hellgate.io/terms-and-conditions
servers:
  - url: https://your.service.com
    description: Your extension service
security:
  - ApiKey: []
paths:
  /session:
    post:
      tags:
        - checkout_experience
      summary: Create Session
      operationId: create_session
      responses:
        '200':
          description: Session created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '401':
          description: Missing or invalid API key.
components:
  schemas:
    SessionResponse:
      type: object
      required:
        - forwarding_url
        - terminal_id
      properties:
        forwarding_url:
          type: string
          format: uri
          description: >-
            The URL Commerce V1 forwards the customer to for the checkout
            experience.
        terminal_id:
          type: string
          description: Identifier of the terminal handling this session.
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key

````