post https://your.custom.endpoint.com/#pre_deposit_check
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.
Important Note
Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.
API Endpoints
Environment | Endpoint |
---|---|
Staging / Sandbox | https://your.custom.endpoint.com |
Production | https://your.custom.endpoint.com |
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.