API Reference

Tips for robust integration

📘

How have we arrived at these tips?

We have done more than 50 fintech-lender integrations. Following these tips would help you avoid several of the common issues faced by earlier integration efforts.

Things to ensure

  1. Add auto retries to make integration robust. In each of the APIs where objects are getting created, we have checks that duplicate objects do not get created. In case a duplicate request is sent, appropriate error is sent, so handle those.

  2. Handle error scenarios as well as success scenarios.

  3. Add a cron for posting unposted payments, so that you do not have to do manual retries.

Things to avoid

  1. Do not do API calls concurrently, do them sequentially to avoid overwhelming the servers and face unexpected issues. This would help avoid lots of issues in future.

  2. Do not regenerate payment transaction ids in every request, it must be an id which is present in your database.