Transaction Status Callback

API Endpoints

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 platform.

Flow

  1. The platform will perform a transaction with Initiate Payout:.
  2. Once Decentro fetches the final status from the provider, Decentro will trigger the callback to the platform's endpoint.
  3. The platform must acknowledge the callback. If the callback is not acknowledged as per the given examples, Decentro will retrigger the callback.
  4. Decentro will retrigger a total of 3 times to the platform if the callback is not acknowledged.
  5. If the platform has not acknowledged any of the callbacks triggered, then the platform can use Get Transaction Status: to fetch the status of the transaction.

Key Points

Below are the key points for the Transaction Status Callback workflow.

  • Platforms must ensure that to handle the retrigger of the callbacks from Decentro to avoid registering double debits/credits in their system.
  • It is recommended that platforms whitelist Decentro's IP address for both staging and production.
  • Decentro will trigger the callback only when the transaction status moves from pending to success/failure
Language
Click Try It! to start a request and see the response here!