Browser Redirect Checkout
Accept payments in your mobile app by redirecting users to a Coinflow-hosted checkout page in the browser.
Accept payments in your mobile app by redirecting users to a Coinflow-hosted checkout page in the browser.
Looking to embed the card form natively inside your app instead of redirecting out? See the Mobile SDK overview for Swift, Android, Flutter, and React Native integrations.
This guide shows how to accept payments in a mobile app by redirecting users from your app to a Coinflow-hosted checkout page in the browser. It’s the lightest-weight integration option — no frontend SDK to install and no card form to render yourself.
Use this approach when:
Below is a simplified example from our demo app, showing how to request a checkout link and redirect the user:
Using a WKWebView instead of redirecting to Safari? If you’re embedding the checkout in a WKWebView, your message handler must be named exactly "ReactNativeWebView" for the checkout UI to render properly. See the “Listen to Client-Side Messages on Swift iOS” recipe in the Recipes tab for a complete implementation guide.
You can also test the API directly using cURL:
This standalone link config is what determines whether or not the checkout page is allowed to render outside of an Iframe embedded on a website that you have whitelisted. If you pass in this config, we allow the Coinflow checkout page to be viewed as a standalone link, which works great in use cases like redirecting to it from your mobile app.
The callback URL is what we redirect to upon successful completion of a checkout. For a mobile app, this will be typically a universal link that takes the user back to the app for you to update their app state given their successful payment.
This will be the IP Address of the user that is planning to checkout.
The response will include a link field with the checkout URL.