Skip to main content
GET
/
pg
/
orders
/
{order_id}
Get Order Details
curl --request GET \
  --url https://api-pacb-uat.eximpe.com/pg/orders/{order_id}/ \
  --header 'X-API-Version: <api-key>' \
  --header 'X-Client-ID: <api-key>' \
  --header 'X-Client-Secret: <api-key>'
{
  "success": true,
  "message": "Order fetched successfully",
  "data": {
    "order_id": "OD2024120934567",
    "reference_id": "ORD_BOOKS_2024_3QWD98",
    "amount": "1899.00",
    "currency": "INR",
    "opted_mop_type": "upi",
    "buyer": {
      "name": "Vikash Gupta",
      "email": "[email protected]",
      "phone": "+919456789012",
      "address": {
        "line_1": "C-45, Sector 62, Institutional Area",
        "line_2": "Near Metro Station",
        "city": "Noida",
        "state": "Uttar Pradesh",
        "postal_code": "201309"
      },
      "pan_number": "ABCPV1234G",
      "dob": "1987-03-15"
    },
    "product": {
      "name": "Complete Python Programming Course Bundle",
      "description": "Comprehensive online course with 50+ hours of content, projects, and certification",
      "hs_code": "49019900",
      "hs_code_description": "Printed books, brochures, leaflets and similar printed matter",
      "type_of_goods": "service"
    },
    "invoice": {
      "number": "INV_EDU_20241205",
      "date": "2024-12-05",
      "file": "https://eximpe.com/invoice_file.pdf"
    },
    "air_waybills": [
      {
        "number": "AWB23498234",
        "file": "https://eximpe.com/awb_file.pdf"
      }
    ],
    "payments": [
      {
        "payment_id": "PR3932678387",
        "mop_type": "upi",
        "status": "captured",
        "status_message": null,
        "settlement": {
          "status": "ready_for_settlement",
          "message": null,
          "settlement_details": {
            "settlement_id": "ST8865592169",
            "settlement_completed_at": "2025-08-20T20:30:00.212494Z",
            "settlement_currency": "USD",
            "transaction_amount": "1000.00",
            "merchant_service_fee": "20.00",
            "merchant_service_tax": "3.60",
            "merchant_net_amount": "976.40",
            "sgst": "0.00",
            "cgst": "0.00",
            "igst": "0.00",
            "merchant_transaction_id": "OD8967030165-PR3932678387",
            "card_type": "domestic",
            "offer_service_fee": "0.00",
            "offer_service_tax": "0.00",
            "forex_rate": "86",
            "discount": "0.00",
            "additional_tdr_fee": "0.00",
            "additional_tdr_tax": "0.00",
            "total_processing_fee": "0.00",
            "total_service_tax": "0.00",
            "transaction_currency": "INR"
          }
        },
        "created_at": "2025-08-20T06:13:30.033816Z"
      }
    ],
    "status": "payment_successful",
    "status_message": "Payment captured successfully",
    "created_at": "2025-08-20T06:13:29.988329Z"
  }
}

Overview

The Get Order endpoint allows you to retrieve complete order information including buyer details, product information, payment status, and timestamps. This is useful for order tracking and status updates.

Authorizations

X-Client-ID
string
header
required

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-Client-Secret
string
header
required

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-API-Version
string
header
required

API Version - Specifies which version of the API to use (e.g., '1.X.X' or '2.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.

Path Parameters

order_id
string
required

Unique identifier of the order

Response

Order retrieved successfully

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object
required