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

# Get Order

> Use this API to retrieve the details of a specific order using its unique identifier. This API returns comprehensive order information including status, amounts, customer details, and payment URLs.




## OpenAPI

````yaml /openapi/payments/flowwise.yaml get /orders/{order_id}
openapi: 3.0.3
info:
  title: Flowwise Native API
  version: 1.0.0
  description: >
    Manage orders, payments, refunds, and customers using the Flowwise Native
    API.

    [Source](https://cashfree.atlassian.net/wiki/spaces/ORC/pages/1084032020/API+Documentation)
servers:
  - url: https://sandbox.flowwise.com/router
    description: Sandbox
  - url: https://app.flowwise.com/router
    description: Production
security:
  - ApiKeyAuth: []
    ApiSecret: []
paths:
  /orders/{order_id}:
    get:
      summary: Get Order
      description: >
        Use this API to retrieve the details of a specific order using its
        unique identifier. This API returns comprehensive order information
        including status, amounts, customer details, and payment URLs.
      parameters:
        - $ref: '#/components/parameters/OrderId'
      responses:
        '200':
          description: Success response for order retrieval.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateOrderResponse'
              example:
                order_id: order_summer_fashion_001
                project_id: proj_fashion_store_2024
                customer_email: priya.sharma@example.com
                customer_id: cust_priya_sharma_2024
                order_status: ACTIVE
                order_currency: INR
                payment_methods: cc,dc,upi,nb,wallet
                order_note: Summer collection dress - Medium size, Blue color
                checkout_url: >-
                  https://payments.flowwise.com/checkout/order_summer_fashion_001
                order_hash: a7f8e3d2c1b9f4e6d8a2c5b7f9e3d1a8
                order_expiry_time: '2024-12-03T16:30:00Z'
                added_on: '2024-12-03T14:30:00Z'
        '400':
          description: Bad Request - Invalid order ID format
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: Invalid order ID format provided
                code: invalid_order_id
                type: validation_error
        '401':
          description: Unauthorized - Invalid or missing authentication credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: Invalid API credentials provided
                code: unauthorized
                type: authentication_error
        '404':
          description: Not Found - Order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: Order not found with the provided order ID
                code: order_not_found
                type: resource_error
        '500':
          description: Internal Server Error - Something went wrong on the server
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: Internal server error occurred while retrieving order
                code: internal_error
                type: server_error
      security:
        - ApiKeyAuth: []
          ApiSecret: []
components:
  parameters:
    OrderId:
      name: order_id
      in: path
      required: true
      description: Unique identifier for the order.
      schema:
        type: string
        example: order_summer_fashion_001
  schemas:
    CreateOrderResponse:
      type: object
      properties:
        order_id:
          type: string
          description: Unique identifier for the order.
          example: order_summer_fashion_001
        project_id:
          type: string
          description: Identifier for the project associated with the order.
          example: proj_fashion_store_2024
        customer_email:
          type: string
          description: Email address of the customer.
          example: priya.sharma@example.com
        customer_id:
          type: string
          description: Unique identifier for the customer.
          example: cust_priya_sharma_2024
        order_status:
          type: string
          description: Current status of the order.
          example: ACTIVE
        order_currency:
          type: string
          description: Currency code for the order amount.
          example: INR
        payment_methods:
          type: string
          description: Available payment methods for the order.
          example: cc,dc,upi,nb,wallet
        order_note:
          type: string
          description: Additional notes or description for the order.
          example: Summer collection dress - Medium size, Blue color
        checkout_url:
          type: string
          format: uri
          description: URL for the customer to complete the payment.
          example: https://payments.flowwise.com/checkout/order_summer_fashion_001
        order_hash:
          type: string
          description: Hash value for the order used for payment processing.
          example: a7f8e3d2c1b9f4e6d8a2c5b7f9e3d1a8
        order_expiry_time:
          type: string
          format: date-time
          description: Date and time when the order expires.
          example: '2024-12-03T16:30:00Z'
        added_on:
          type: string
          format: date-time
          description: Date and time when the order was created.
          example: '2024-12-03T14:30:00Z'
    ErrorResponse:
      type: object
      description: Error response structure returned when an API request fails.
      properties:
        message:
          type: string
          description: Human-readable error message describing what went wrong.
        code:
          type: string
          description: Machine-readable error code for programmatic handling.
        type:
          type: string
          description: Category or type of error that occurred.
      required:
        - message
        - code
        - type
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-client-id
      description: >-
        Client app ID. You can find your app ID in the [Merchant
        Dashboard](https://merchant.cashfree.com/auth/login/pg/developers/api-keys?env=prod).
    ApiSecret:
      type: apiKey
      in: header
      name: x-client-secret
      description: >-
        Client secret key. You can find your secret key in the [Merchant
        Dashboard](https://merchant.cashfree.com/auth/login/pg/developers/api-keys?env=prod).

````