1 Answers
A:
Ah, the classic UPI retry storm problem one FD payment lags, and suddenly your system hammers the PSP 50 times like it owes you rent.
If your reconciliation engine is involved in posting or retrying UPI payments for term deposits, you’ve got to rate-limit and back off intelligently when response times get ugly.
Here’s how to handle it cleanly:
Your reconciliation service should be monitoring average UPI API response times from PSPs or payment gateways.
Once it crosses a threshold (say, >2 seconds for collect requests or >5 seconds for status checks), mark the PSP as degraded.
You can track this using a rolling 5-minute window:
if avg_response_time > 2s for last 20 calls:
PSP_status = DEGRADED
Instead of retrying instantly, back off exponentially when in degraded mode.
Never let reconciliation keep hammering NPCI endpoints or gateway APIs — you’ll just make the latency worse.
Term deposit openings are high-value and not time-sensitive like bill payments.
Throttle them harder e.g. 2–3 retries max over 15 minutes.
Meanwhile, keep low-value UPI collections (like ₹100 bills) on a faster retry policy.
That means your logic should check something like:
if txn.category == TERM_DEPOSIT:
set_retry_policy(slow)
else:
set_retry_policy(normal)
If all your PSPs (Razorpay, Cashfree, PayU, etc.) are lagging at once, it’s probably an NPCI or bank switch issue.
In that case, trigger a global cooldown stop retries for 5–10 minutes and show users a soft message like:
UPI networks are slower right now. Your FD payment will be retried automatically once things stabilize.
When throttling kicks in, send a Slack/email alert to finance or ops:
That keeps everyone informed without manual digging.
When your average response time drops back below the threshold (say, <1.5s for 3 consecutive minutes),
mark the PSP as healthy again and restore normal retry intervals.
Find the Best Payment Gateway
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers