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

# Get Agent Payment Session

> Get agent payment session



## OpenAPI

````yaml GET /order/payment-session/{sessionId}
openapi: 3.1.0
info:
  title: Clink API
  description: >-
    Official API documentation for Clink's payment processing platform. This API
    enables merchants to create and manage payment sessions, handle
    subscriptions, and process transactions.
  version: 1.0.0
servers:
  - url: https://uat-api.clinkbill.com/api/
security:
  - ApiKeyAuth: []
paths:
  /order/payment-session/{sessionId}:
    get:
      tags:
        - Agent Payment Session
      summary: Get agent payment session
      description: Get agent payment session
      operationId: getSession_1
      parameters:
        - $ref: '#/components/parameters/TimestampHeader'
        - name: sessionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RAgentChargeSessionVo'
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                type: string
components:
  parameters:
    TimestampHeader:
      name: X-Timestamp
      in: header
      required: true
      description: >-
        Current timestamp in milliseconds since Unix epoch (required for request
        signing)
      schema:
        type: string
        example: '1783513683000'
  schemas:
    RAgentChargeSessionVo:
      type: object
      properties:
        code:
          type: integer
          format: int32
        msg:
          type: string
        data:
          $ref: '#/components/schemas/AgentChargeSessionVo'
    AgentChargeSessionVo:
      type: object
      properties:
        sessionId:
          type: string
        customerEmail:
          type: string
        customerId:
          type: string
        amount:
          type: number
        currency:
          type: string
        merchantId:
          type: string
        tenantId:
          type: string
        createTime:
          type: string
          example: '2026-07-30 12:00:00'
          pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
          description: >-
            Serialized as "yyyy-MM-dd HH:mm:ss" with no offset or timezone
            designator, so it is not RFC 3339. Do not assume UTC, the browser
            timezone, or a per-account timezone - none of those is applied by
            the backend today.
        expireTime:
          type: string
          example: '2026-07-30 12:00:00'
          description: >-
            Session expiry time. Serialized as "yyyy-MM-dd HH:mm:ss" with no
            offset or timezone designator, so it is not RFC 3339. Do not assume
            UTC, the browser timezone, or a per-account timezone - none of those
            is applied by the backend today.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Your secret API key obtained from the Clink dashboard (Developers
        section)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.