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

# Get Subscription Order Details

> Retrieve order-level details for a subscription by subscription UID.



## OpenAPI

````yaml openapi/v3-subscriptions.json GET /pg/subscriptions/{subscription_id}/
openapi: 3.0.0
info:
  title: Eximpe Payment Gateway API - V3 Subscriptions
  description: >-
    Subscription creation and mandate management on the v3 API. Every call
    carries X-API-Version: 3.0.0.
  license:
    name: Proprietary
  version: 3.0.0
servers:
  - url: https://api-pacb-uat.eximpe.com
    description: Payment Gateway Sandbox URL
security:
  - clientAuth: []
    clientSecretAuth: []
    apiVersionHeader: []
paths:
  /pg/subscriptions/{subscription_id}/:
    get:
      tags:
        - Subscriptions
      summary: Get Subscription Order Details
      description: Retrieve order-level details for a subscription by subscription UID.
      operationId: v3_get_pg_subscriptions_subscription_id_
      parameters:
        - name: subscription_id
          in: path
          required: true
          description: Subscription UID.
          schema:
            type: string
      responses:
        '200':
          description: Subscription order fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSubscriptionOrderResponse'
              example:
                success: true
                message: Subscription order fetched successfully
                data:
                  order_id: OD2000992103
                  reference_id: SUBR8QRLW
                  amount: '1000.0'
                  currency: INR
                  status: ACTIVE
                  subscription_type: UPI_RECURRING
        '404':
          description: Subscription order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - clientAuth: []
          clientSecretAuth: []
          merchantAuth: []
          apiVersionHeader: []
components:
  schemas:
    GetSubscriptionOrderResponse:
      type: object
      required:
        - success
        - message
        - data
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            order_id:
              type: string
            reference_id:
              type: string
            amount:
              type: string
            currency:
              type: string
            status:
              type: string
            subscription_type:
              type: string
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
  securitySchemes:
    clientAuth:
      type: apiKey
      name: X-Client-ID
      in: header
      description: >-
        **Client Application ID** - Your unique application identifier used to
        authenticate API requests. You can find your Client ID in the Developer
        Settings section of the merchant dashboard.
      x-displayName: Client ID
      x-example: your-client-id
    clientSecretAuth:
      type: apiKey
      name: X-Client-Secret
      in: header
      description: >-
        **Client Secret Key** - Your secret key used alongside the Client ID for
        secure authentication. Keep this confidential and never expose it in
        client-side code. Available in the Developer Settings section of the
        merchant dashboard.
      x-displayName: Client Secret
      x-example: your-client-secret
    apiVersionHeader:
      type: apiKey
      name: X-API-Version
      in: header
      description: >-
        **API Version** - Selects the API version this call is made against.
        Send `3.0.0` for v3.
      x-displayName: API Version
      x-example: 3.0.0
    merchantAuth:
      type: apiKey
      name: X-Merchant-ID
      in: header
      description: >-
        **Merchant Identifier** - The unique ID for the merchant account. This
        is required for PSP (Payment Service Provider) merchants who manage
        multiple merchant accounts. You can find merchant IDs in the Merchant
        Management section of the dashboard.
      x-displayName: Merchant ID
      x-example: your-merchant-id

````