post https://api.wowpe.in/api/api/api-module/payin/cancel-order
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 |
reason | String | Reason of order | Y |
Request Sample:
{
"clientId": "2448982d-ef21-48XXX",
"secretKey": "bb316991-9001-43eaXXX",
"orderId": "WOWPEO1000137",
"reason": "Created"
}
Response Param:
Key | Type | Description |
---|---|---|
statusCode | Int | 1 => Cancelled 6=> Order not found |
message | String | Cancel Message |
OrderId | String | Wowpe order ID |