get
https://enbduat-acquiring-apigw.creditpluspinelabs.com/checkout/apis/v2/transactions
This API is used to get the latest transaction details. It also provides capture transaction details and refund transaction details linked to the original transaction. If transactionUtr is provided in the request params then it will be given the precedence and appUtr will be ignored. If transactionUtr is null, then appUtr are required to get the status of the transaction.
HTTP Status and Response Status Matrix
| HTTP Status | Response Status | Response Message |
|---|---|---|
| 200 | AUTHORIZED / CAPTURED / PROCESSED … | Returns the latest status of the transaction. |
| 200 | TRANSACTION_EXPIRED | Transaction has expired, create a new transaction |
| 200 | AUTHORIZATION_DECLINED | Transaction has been declined |
| 200 | ABORTED | Transaction has been Aborted |
| 200 | CANCELLED | Transaction has been cancelled (voided) |
| 400 | VALIDATION_ERROR | Either transactionUtr or appUtr is required |
| 400 | TRANSACTION_NOT_FOUND | Transaction UTR provided is not found |
| 400 | TRANSACTION_NOT_FOUND | App name or App UTR is not found |
| 400 | REJECTED | Refund UTR provided is not found |
| 500 | ERROR_FROM_PG | Error in processing gateway response |
| 400, 500 | ERROR_FROM_PG | Processor/gateway returned an error |
| 500 | INTERNAL_PROCESSING_ERROR | Something went wrong at our end, try again after sometime |
| 502, 503 | ERROR_CONNECTING_PG | Gateway connectivity unavailable |