This callback is triggered by Decentro to a custom endpoint if the platform has subscribed to it. If you reject the callback, the transaction is refunded to the source or else accepted.
Via this callback, it is possible for any company to accept or reject incoming transactions for their virtual accounts based on their custom criteria.
The incoming transactions will be accepted under the following scenarios:
- Company has not opted for pre-deposit checks.
- Company accepts the transaction.
- Company does not respond with the valid payload. (Refer examples)
- Company does not respond within the configured timeframe of 15 seconds.
The custom endpoints for different providers(if opted) need to be different.