This callback is used by Decentro to trigger the status of a transaction to pre-configured endpoint of the platform.
Overview
This callback allows the platform to proactively receive a transaction's status without having to check it from their end, thus reducing the computational burden and making it more efficient to propagate the status to the payer.
This callback allows a platform to receive the status of a transaction undertaken through any of the flows below.
The platform can share the endpoint for configuring this callback before going live at [email protected].
Points to Note
Key points to note.
- This callback is triggered 3 times per transaction
- This callback only propagates the transaction status
- This callback is triggered when a transaction status moves to one of SUCCESS, FAILURE, EXPIRED.
Flow
Below is the flow for using the callback capability as part of Decentro
- The platform consumes this callback to get the latest status of an initiated transaction from Generate Netbanking intent link API, Generate Netbanking QR or Generate Netbanking Redirection Link API
- In this callback, Decentro relays the transaction status via the transaction_status field and the transaction details. The default status will always be 'PENDING' unless the payer authorizes a payment.
- The platform can map the transaction type at its end using the initiation_type parameter triggered as part of the callback payload.
- The platform acknowledges the callback by responding to it with 'CB_S00000' from its end. If any other value is passed, Decentro shall retrigger the callback.
- If the platform cannot acknowledge the callback or handle the same at its end, the transaction status can also be fetched using Get Transaction Status in case of a UPI transaction.
Simulation Data
Overview
Decentro's simulation data helps developers simulate all the real-world scenarios using the Payment Link API.
This requires the platform to use standard request payloads to handle scenarios for each API and scenario, as mentioned below.
The platform must whitelist its IP and configure callback endpoints with Decentro if it wishes to handle the flow. Please reach out to us at [email protected] for the same.
Flow
Decentro triggers the transaction status callback to the endpoints configured by Decentro as per the platform's requests. The callback for the testbed will mirror the fields in the documentation but will have the data as passed by the platform in any of the below APIs.
