curl --request GET \
--url https://api-staging.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": "PR3828502708",
"order": {
"order_id": "OD6530655496",
"reference_id": "TEST_9P81ZL",
"amount": 1000,
"currency": "INR",
"mop_type": "UPI",
"buyer": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "+919876543210",
"address": {
"line_1": "123 Main Street",
"line_2": "Apt 4B",
"city": "City",
"state": "State",
"postal_code": "123456"
},
"pan_number": "BNYPG1231L",
"dob": "2025-06-19"
},
"product": {
"name": "Sample Product",
"description": "This is a sample product description",
"hs_code": "98051000",
"hs_code_description": "Portable automatic data processing machines",
"type_of_goods": "goods"
},
"status": "payment_successful",
"status_message": "Payment captured successfully",
"created_at": "2025-06-19T09:17:56.338741Z"
},
"settlement": {
"id": "ST4353980017",
"settlement_id": "d42eda3f-41b6-4d82-add5-2665181f9eea",
"settlement_completed_date": "2025-06-20T08:06:59.293548Z",
"settlement_amount": 1000,
"settlement_currency": "USD",
"utr_number": "092dc30a-4f19-4318-9798-ad08b48801f6",
"number_of_transactions": 1,
"created_date": "2025-06-20T08:06:59.307056Z"
},
"refund": [
{
"refund_id": "RF8370660295",
"refund_amount": 12,
"refund_status": "INITIATED",
"refunded_at": null,
"message": "No action status found",
"payment_id": "PR3828502708"
}
],
"collection_mode": "HOSTED_PAYMENT",
"mop_type": "UPI",
"bank_ref_num": "OD6530655496-PR3828502708",
"mop_detail": {
"upi_id": "pay@payu"
},
"payment_completed_at": "2025-06-19T14:48:11.000000Z",
"status": "CAPTURED",
"status_message": "Invoice and AWB file missing",
"created_date": "2025-06-19T09:18:10.637579Z"
}
}Retrieve payment details by payment ID.
curl --request GET \
--url https://api-staging.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": "PR3828502708",
"order": {
"order_id": "OD6530655496",
"reference_id": "TEST_9P81ZL",
"amount": 1000,
"currency": "INR",
"mop_type": "UPI",
"buyer": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "+919876543210",
"address": {
"line_1": "123 Main Street",
"line_2": "Apt 4B",
"city": "City",
"state": "State",
"postal_code": "123456"
},
"pan_number": "BNYPG1231L",
"dob": "2025-06-19"
},
"product": {
"name": "Sample Product",
"description": "This is a sample product description",
"hs_code": "98051000",
"hs_code_description": "Portable automatic data processing machines",
"type_of_goods": "goods"
},
"status": "payment_successful",
"status_message": "Payment captured successfully",
"created_at": "2025-06-19T09:17:56.338741Z"
},
"settlement": {
"id": "ST4353980017",
"settlement_id": "d42eda3f-41b6-4d82-add5-2665181f9eea",
"settlement_completed_date": "2025-06-20T08:06:59.293548Z",
"settlement_amount": 1000,
"settlement_currency": "USD",
"utr_number": "092dc30a-4f19-4318-9798-ad08b48801f6",
"number_of_transactions": 1,
"created_date": "2025-06-20T08:06:59.307056Z"
},
"refund": [
{
"refund_id": "RF8370660295",
"refund_amount": 12,
"refund_status": "INITIATED",
"refunded_at": null,
"message": "No action status found",
"payment_id": "PR3828502708"
}
],
"collection_mode": "HOSTED_PAYMENT",
"mop_type": "UPI",
"bank_ref_num": "OD6530655496-PR3828502708",
"mop_detail": {
"upi_id": "pay@payu"
},
"payment_completed_at": "2025-06-19T14:48:11.000000Z",
"status": "CAPTURED",
"status_message": "Invoice and AWB file missing",
"created_date": "2025-06-19T09:18:10.637579Z"
}
}Client app ID. You can find your app id in the merchant dashboard.
Client secret key. You can find your secret in the merchant dashboard.
The ID of the payment to retrieve.
The details of the payment.
Indicates if the request was successful
Response message
Show child attributes
Unique payment request identifier
Show child attributes
Unique order identifier
Order reference identifier
Order amount
3-letter ISO currency code
Order status
PAYMENT_PENDING, PAYMENT_SUCCESSFUL, FAILED Order creation timestamp
Method of payment type
UPI, CREDIT_CARD, NETBANKING, DEBIT_CARD, QR Show child attributes
Buyer's full name
Show child attributes
Buyer's email address
Buyer's phone number with country code
Buyer's PAN number
Buyer's date of birth
Show child attributes
Product name
Type of goods (e.g., goods)
goods, services Product description
Harmonized System code
Description of the HS code
Order status message
Show child attributes
Settlement ID
Unique settlement identifier
Settlement completion timestamp
Settlement amount
Settlement currency
UTR number for the settlement
Number of transactions in settlement
Settlement creation timestamp
Array of refunds associated with this payment
Show child attributes
Unique identifier for the refund.
The ID of the payment that was refunded.
The status of the refund.
A message providing more detail about the refund status.
The bank reference number for the refund.
The refunded amount.
The timestamp of when the refund was completed.
Payment collection mode
HOSTED_PAYMENT, DIRECT_PAYMENT Method of payment
UPI, CREDIT_CARD, DEBIT_CARD, NET_BANKING, QR Payment status
PENDING, CAPTURED, FAILED Payment creation timestamp
Bank reference number
Payment completion timestamp
Payment status message