Merchant
Settlement
Payment
Get Payment
Retrieve payment details by payment ID.
GET
/
pg
/
payments
/
{payment_id}
/
Copy
Ask AI
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>'
Copy
Ask AI
{
"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"
}
}
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
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.
Path Parameters
The ID of the payment to retrieve.
Response
200
application/json
The details of the payment.
The response is of type object
.
Copy
Ask AI
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>'
Copy
Ask AI
{
"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"
}
}
Assistant
Responses are generated using AI and may contain mistakes.