v1
latestOpenAPI 3.1.02026-07-2418201.6 MBGet Transaction Status Basic
This API allows the platform to fetch the status of a transaction intiated through a payment link/collect request/dynamic QR code/ UPI Autopay(Refunds only).
get/v3/payments/transaction/status?{decentro_txn_id}
Query parameters
decentro_txn_idstring
The Decentro transaction id that you received in the collection request/ payment link request.
reference_idstring
The reference_id passed during initial payment request.
Headers
client_idstring required
Decentro assigned client_id during on boarding.
client_secretstring required
Decentro assigned client_secret during on boarding.
authorizationstring
Customers can generate JWT using our Auth API with various grant types in the request body. JWT is valid for 15minutes.
Response
200
Example response
{
"decentro_txn_id": "1994D0249CD944B28C4821F33192B332",
"api_status": "SUCCESS",
"message": "Transaction status retrieved successfully",
"data": {
"reference_id": "bccc5f72-a237-4e07-b773-150a65de0441",
"request_decentro_txn_id": "0BB40475AFD94D9D94E7396569CBC2B9",
"transaction_status": "PENDING",
"transaction_status_description": "Transaction status pending",
"purpose_message": "Test Transaction"
},
"response_key": "success_transaction_status_fetched"
}