Crypto Pay-Ins
This document shows how a merchant can generate a checkout link to accept payments in for users: credit cards, ach, crypto, apple pay, google pay, usdc and settling to the Coinflow in-app wallet.
Overview of How Pay-Ins Work
How Crypto Payins Work


Payer with connected wallet.
(Payer sees all tokens on all chains and can select which token + chain to pay with).

Payer who is paying from anywhere to an address.
(User selects the chain, which token, and is given an address to send the crypto to).
How Fiat Pay-Ins Work

Setup
Account Setup
You MUST complete the account setup section before you start integrating!
Configure settlement settings - Select where to receive revenue:
Developer Resources
Quick Links:
- Testing Card Numbers to use on Sandbox
- Listening to checkout webhooks
- Customize the UI to match your company branding guidelines
Authorization Headers:
Authorization- Your API Key from the merchant dashboardx-coinflow-auth-user-id- A unique customer ID you use within your systems to identify the user withdrawing fundsx-coinflow-auth-blockchain- Should always besolanaif your settlement location is the Coinflow in-app walletx-coinflow-auth-session-key- A JWT that authorizes the payer (valid for 24 hours, must be refreshed afterwards)
Checkout Integration
Implement via Checkout Link
- Call the Get Checkout Link endpoint to generate a link to the checkout modal.
- Note:
x-coinflow-auth-user-idis a unique customer identifier the merchant uses to identify the payer
Request
Response
- Embed the link in an iframe
Merchants can either redirect the payer to the checkout modal link returned from Step 1 or embed the link directly in your website via an iframe. This is fully responsive so can be put into a container as small as 350px wide.
Implement via React/React Native SDK
- Install Package
- Generate Session Key
RequestResponse
- Implement CoinflowPurchase Component
CoinflowPurchase
Next Steps
- Add dynamic height handling to the checkout modal.

