How you add UPI depends on your integration.
Choose the server-side flow that your integration uses:
Start integrating with Sessions flow Drop-in
Choose your versionRequirements
Requirement | Description | |
---|---|---|
Integration type | Make sure that you have an existing Sessions flow Web Drop-in integration. | |
Checkout API | Make sure that you use Checkout API v68 or later. | |
Setup steps | Before you begin, add UPI in your Customer Area. |
Add additional parameters to your /sessions request
You do not need to add any parameters when you create a payment session.
Import UPI (optional)
When you import Adyen Web, you can optionally import individual payment methods to optimize performance by using tree shaking. To do this, include UPI
.
import { AdyenCheckout, Dropin, Upi } from '@adyen/adyen-web';
Test and go live
Depending on your account setup, you may have access to the UPI simulator which you can use to test your UPI integration. Contact your Account Manager or our Support Team if you have questions about the simulator.
You can also use your personal account on a UPI app to test your integration by making live payments with a low value.