This guide shows how to create a widget URL using widgetParams, then test different user journeys in the staging environment.
Passing query parameters directly in the hosted widget URL is deprecated.
Use the Create Widget URL API from your backend to generate a widgetUrl and load that session in your app.
Generate a partner access token first.
You will receive:
Call the Create Widget URL API from your backend.
Sample response:
Keep these constraints in mind:
widgetUrl is valid for 5 minutessessionId can be used only oncewidgetParamsUse this to validate the default path with minimal configuration.
If your own app already collects the trade inputs, you can skip the exchange screen.
Use the staging data below to test KYC flows.
Additional staging identifiers:
123456789ABCDE1234AUse Checkout1! on the staging payment authorization screen.
345678909872 for INR000000 when a bank or phone verification code is requestedYou can simulate different outcomes by changing the email address used in staging.