GET
/
pg
/
payments
/
{payment_id}
/
Get Payment
curl --request GET \
  --url https://api-pacb-uat.eximpe.com/pg/payments/{payment_id}/ \
  --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",
      "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": "services"
      },
      "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 app ID. You can find your app id in the merchant dashboard.

X-Client-Secret
string
header
required

Client secret key. You can find your secret in the merchant dashboard.

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