A step-by-step walkthrough of integrating a UPI payout API — credentials, IP whitelisting, creating payouts and handling webhooks, with sample code.
Get StartedIntegrating a UPI payout API is straightforward. This guide walks through the typical steps and shows a sample request so your team knows what to expect.
After onboarding you receive a merchant ID and a secret key. Payout requests are authenticated with an MD5 signature built from your order ID, a timestamp and your secret.
Payout endpoints only accept requests from your approved server IPs — an extra layer of protection for outgoing money.
Send a POST request with the payee details and amount:
# Create a payout POST https://api.xpay24.net/v1/payouts/create { "merchantId": 1001, "orderId": "PO20260724001", "amount": 50000, "payoutType": "UPI", "accountNumber": "name@bank", "timestamp": 1784540680182, "sign": "md5(orderId+timestamp+secret)" }
XPay calls your notifyUrl with the final status and UTR. Verify the signature, update your records, and reply OK. If your endpoint doesn't confirm, XPay retries automatically.
That's it — with those four steps you can disburse UPI and IMPS payouts programmatically. See the full field reference in our documentation.
Message us on WhatsApp or Telegram — we usually reply within minutes.