Supported workflows
Before you begin
Complete these steps before you send your first UPI payment through Boku:- Set up a Boku integration in your workspace. Contact your Payrails account team if Boku isn’t listed in your Payrails Portal yet.
- Ask Boku to enable UPI on your Boku merchant account.
- In the Payrails Portal, go to Settings → Integrations, open your Boku integration, select UPI under Payment methods, and save.
- Add UPI as a payment option in your workflow.
Request fields for Boku
Send these fields in the authorize request, in addition to the standard authorize fields. Payrails checks Required fields and returns an error when one is missing. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.Authorize a UPI payment
Call authorize a payment withupi as the paymentMethodCode. The response includes the redirect to the Boku payment page.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How Boku handles UPI
- Boku charges UPI payments immediately, so a successful payment is already captured.
- Payrails sends full and partial refunds to Boku as a refund of the original charge.
- Boku doesn’t return a reusable token for UPI, so Save Instruments and merchant-initiated transactions (MIT) aren’t available.