Home › Blog › Webhook vs Status Polling vs Settlement File: How to Confirm Deposits and Payouts on Asian Local Rails

Webhook vs Status Polling vs Settlement File: How to Confirm Deposits and Payouts on Asian Local Rails

2026-11-23 · BestPay24

Every operator who takes deposits or sends withdrawals over local Asian rails eventually meets the same problem: a payment that is neither successful nor failed. The customer says they paid, your ledger says nothing, and support is waiting for an answer. How you confirm payment status decides how many of these tickets you get and how often you credit a player twice. There are three signals available to you: the webhook, status polling and the settlement file. They are not interchangeable. This guide compares them and shows which one to trust at which moment.

Why the status of a local payment is often unclear

Local rails are fast, but they are not always final in the first seconds. Razorpay describes a "deemed success" state for IMPS and UPI payouts: the sender account has been debited, but the beneficiary bank has not yet confirmed the credit. According to Razorpay, such payouts usually complete within about 180 seconds, but a payout can remain in processing for up to seven working days when a bank has technical problems, and most settle within one or two working days. The same pattern exists in other markets whenever a bank or wallet is slow to answer: the first response is not always the last one.

For a high risk merchant this matters more than for a normal shop. Disputed deposits, repeated withdrawal requests and frustrated players are all more expensive when your product is already under scrutiny from banks.

The three signals

Webhook (callback). Your provider sends an HTTP request to your server when a payment changes state. It is the fastest signal and the one your cashier logic usually depends on. Its weakness is that it is a message, not a record: it can arrive late, arrive twice, arrive out of order or never arrive if your server was down.

Status polling. Your server asks the provider for the current state of a payment, using your own order reference. It is slower and costs API calls, but you control the timing. Polling is the right tool when a webhook is missing or when you need to confirm a state before you act on money.

Settlement file. The provider's daily or periodic report listing every transaction with amounts, fees, references and final status, plus what was actually settled to you. It arrives last, but it is the closest thing to a financial record. Razorpay notes that reconciliation based on the settlement file typically completes around two days after the transaction for pending payouts.

Side by side

Factor Webhook Status polling Settlement file
Speed Seconds Seconds to minutes, on your schedule Hours to days
Who triggers it Provider You Provider, on a schedule
Failure mode Lost, duplicated or out of order Rate limits, wasted calls Late delivery, format changes
Best use Crediting a player quickly Resolving pending or missing callbacks Final accounting and dispute evidence
Can it be the only signal? No No No, too slow
Risk if trusted alone Double credit, missed credit Heavy load, stale reads Players wait too long

Which signal to trust when

For a deposit, treat the webhook as the trigger and the status call as the confirmation. When a webhook says "success", verify the signature, then check that the amount and order reference match what you created. If the payment was created more than a few minutes ago and no webhook has arrived, poll. If the polled state is still pending, show the player a clear pending message rather than a failure, and keep polling at growing intervals.

For a payout, be more careful, because money leaves your account. Do not mark a withdrawal as "paid" to the player until the provider returns a final state. If the state is a processing or deemed state, keep the player's withdrawal as "in progress" and do not release the same funds again. A common and expensive mistake is retrying a payout that was only pending, which sends the money twice.

The settlement file settles the argument at the end of the day. Match every transaction you credited or paid against it, and treat any line you cannot match as an exception to investigate before the next payout run. Our earlier guide on reconciliation covers the matching process in detail.

Controls that prevent most disasters

  • Idempotency. Create one unique order reference per payment attempt and refuse to process the same reference twice, whatever the webhook count.
  • Signature checks. Reject callbacks that fail the provider's signature verification.
  • One state machine. Define states such as created, pending, success, failed and reversed. Only allow valid transitions, so a late "pending" cannot overwrite a "success".
  • Timeouts with a plan. Decide in advance how long a payment may stay pending before an operator reviews it, and write that rule down.
  • Audit trail. Store the raw provider payload for every status change. It is your evidence in a dispute.

What to ask a provider

Does the provider sign its webhooks, and how many times does it retry? Is there a status endpoint that accepts your own reference? Can you get the settlement file by API or by scheduled delivery, and in which format? What states can a payout have, and which of them are final? How are reversed or returned payments reported? Ask for the answers in writing and test them with small transactions before you go live.

FAQ

Should I credit a deposit on the webhook alone? For small amounts and low risk players, many operators do, after a signature and amount check. For larger amounts, confirm with a status call first. Either way, reconcile against the settlement file afterwards.

What should I do with a payout stuck in a pending or deemed state? Do not resend it. Keep the withdrawal marked as in progress, poll the provider's status endpoint, and wait for a final state. Razorpay notes that such payouts can take several working days in the worst case, so set an internal review threshold.

Is polling enough without webhooks? It works, but it adds delay and load. Use webhooks for speed and polling as the safety net for the cases where a callback never arrives.

Working with BestPay24

BestPay24 is a high risk payment gateway for Asia with local-rail collections and payouts across several corridors, and reconciliation data for your back office. There is no setup fee and no prepayment: you start processing first and pay on what you process. To talk through callbacks, status checks or settlement reports for your corridor, message us on Telegram at @Bestpay24SalesSupport.

Sources: Razorpay (payout processing and deemed success for IMPS and UPI payouts), NPCI (UPI deemed approved transaction circulars).

Need local rails in these markets?

BestPay24 collects and pays out in twelve Asian countries for betting, casino, forex and digital merchants. No setup fee.

Message @Bestpay24SalesSupport

More articles

Ready to accept local payments in Asia?

Tell us your vertical, countries and volume. You get an offer with rates and settlement terms, usually the same day.

Chat on Telegram