Skip to content
On this page

CardSwap

Host

https://cardswap.q2open.io (production)
https://sb-cardswap.q2open.io (sandbox)

CardSwap Gif

Q2 CardSwap™ is the first switch kit for subscription and eCommerce merchants, allowing users to put your card top-of-wallet for their favorite services—all in one place.

View demo

CardSwap Events

CardSwap will emit events back to your app using the browser postMessage API, WKScriptMessageHandler on iOS, or addJavascriptInterface on Android, allowing you to decide what to do after the user is finished.

EventDescription
finishOccurs when the user successfully completes the swap process. Only emits when the startView URL parameter is set to brands.

URL parameters

The following URL parameters can be optionally passed into the CardSwap URL to customize the experience.

ParameterDescription
startViewIndicates where users are redirected to after completing a swap. Set to brands to skip the introductory page and return users to the brand selection page.
sessionIdSession ID to be linked to corresponding Events.