Skip to main content
GET
/
pg
/
payments
/
{payment_id}
Get Payment
curl --request GET \
  --url https://api-pacb-uat.eximpe.com/pg/payments/{payment_id}/ \
  --header 'X-API-Version: <api-key>' \
  --header 'X-Client-ID: <api-key>' \
  --header 'X-Client-Secret: <api-key>'
{
  "success": true,
  "message": "Domestic payment request details retrieved successfully",
  "data": {
    "payment_id": "PR2099558561",
    "order": {
      "order_id": "OD2024120678912",
      "reference_id": "ORD_CONSULTING_2024_RC0YKG",
      "amount": "12500.00",
      "currency": "INR",
      "opted_mop_type": "upi",
      "buyer": {
        "name": "Amit Khanna",
        "email": "[email protected]",
        "phone": "+919123456780",
        "address": {
          "line_1": "701, Business Square, Netaji Subhash Place",
          "line_2": "Near Pitampura Metro",
          "city": "New Delhi",
          "state": "Delhi",
          "postal_code": "110034"
        },
        "pan_number": "CDEPK9876L",
        "dob": "1985-11-28"
      },
      "product": {
        "name": "Digital Marketing Strategy Consultation",
        "description": "Comprehensive 3-month digital marketing strategy and implementation consultation",
        "hs_code": "99831000",
        "hs_code_description": "Professional, technical and other services",
        "type_of_goods": "service"
      },
      "status": "payment_successful",
      "status_message": "Payment captured successfully",
      "created_at": "2025-09-04T09:38:39.819054Z"
    },
    "settlement": {
      "id": "ST6937597440",
      "settlement_id": "67c41a7a-010a-4667-82f2-fb529cdcdbe6",
      "settlement_completed_at": "2025-09-04T09:40:58.189094Z",
      "settlement_amount": "976.40",
      "settlement_currency": "USD",
      "utr_number": "cea2ae3a-182c-457a-aa57-fa425000cfb8",
      "number_of_transactions": 1,
      "created_date": "2025-09-04T09:40:58.199249Z"
    },
    "refund": [],
    "collection_mode": "hosted_payment",
    "mop_type": "upi",
    "bank_ref_num": "OD1729756084-PR2099558561",
    "mop_detail": {
      "vpa": "buyer@payu"
    },
    "payment_completed_at": "2025-09-04T09:38:44.000000Z",
    "status": "captured",
    "status_message": null,
    "created_date": "2025-09-04T09:38:43.422672Z"
  }
}

Overview

The Get Payment endpoint allows you to retrieve complete payment information including order details, payment status, and transaction data. This is useful for payment 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

payment_id
string
required

The ID of the payment to retrieve.

Response

The details of the payment.

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object
required