Skip to content

Verify Payment Status

To verify the successful completion of a payment transaction and update your system accordingly, use the following method provided by the payment gateway.

Sample API Call

GET: {{domain}}/nac/api/v1/pg/orders/check-status?orderId={orderId}

Sample Request

Terminal window
curl -X GET {{domain}}/nac/api/v1/pg/orders/check-status?orderId=wb-e883b28d-0cd3-455d-9903-ef5d3d8ddf27 \
-U [CLIENT_ID]:[CLIENT_SECRET] \
-H 'Content-Type: application/json'
Parameter Mandatory Description Type Example
orderId Yes Unique identifier for the transaction to check the status for. Generated and returned by the payment gateway when the order was created. String "wb-e883b28d-0cd3-455d-9903-ef5d3d8ddf27"

Sample Response

{
"orderId": "wb-e883b28d-0cd3-455d-9903-ef5d3d8ddf27",
"status": "success",
"paymentId": "PAY0642d0df582e4d8fa96d796e79b52c99",
"receiptId": "66497326b1577421a0e99fb3",
"amount": 500.00,
"signature": "37bedbdf0381d1df56677487217e4aa02040320f396691da3e783eb0a0591c",
"timestamp": "2025-04-10T13:42:54.563Z",
"paymentDetails": {
"paymentMethod": "card",
"cardNetwork": "visa",
"cardType": "credit"
}
}