post https://api.wowpe.in/api/api/api-module/payin/order-status
Checking order status in a payment gateway refers to the process of verifying the status of a payment transaction, typically including whether it has been successfully processed, declined, pending, or completed, providing transparency and information to both merchants and customers.
Request Params:
Name | Type | Description | Mandatory(Y-yes)/Optional(O) |
---|---|---|---|
clientId | String | Client Id is provided in wowpe Dashboard. | Y |
secretKey | String | secretKey is provided in wowpe Dashboard. | Y |
orderId | String | Wowpe order id | Y |
Request Sample:
{
"clientId": "2448982d-ef21-48XXX",
"secretKey": "bb316991-9001-43eaXXX",
"orderId": "ENAN1000137"
}
Response Param:
Key | Type | Description |
---|---|---|
statusCode | Int | 0 => No action needs to be taken if StatusCode is 0 in case of status check. 1=> If status code is 1, Get Final status of transaction from status parameter |
message | String | Successfully, Pending, Failure |
OrderId | String | Wowpe order ID |
Currency | String | Transaction initiated Currency |
Amount | Int | Transaction Amount |
bankRefNo | String | Bank ref. Number |
PaymentMode | String | Intent / Collect |
OrderInfo | String | Your order ID |
userName | String | userName |
status | Int | Failed = 0, Paid = 1, Created = 2, Attempted = 3, Refund = 4, Accepted = 5, Expired = 6, PartialPaid = 7, Cancelled = 8, |