v4
latestOpenAPI 3.1.02026-08-08186985685.3 KBGet Checkout Link
Gets a checkout link for the UserID that can be embedded in vanilla iframe or the user can be redirected to
Headers
The external identifier of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Request body
Only authorize the purchase. This will not actually capture the payment.(default: false)
The payment methods displayed on the UI. If omitted, all available payment methods will be displayed.
Coinflow Types *
If true, pre-checks the partial USDC payment checkbox when USDC balance is available. If false or undefined, maintains default behavior (unchecked).
The DeviceID gotten from the Coinflow SDK: https://docs.coinflow.cash/guides/checkout/fraud-protection/chargeback-protection/implement-chargeback-protection#how-to-add-chargeback-protection
Your company email address that the customer can contact.
If rendering the Coinflow component within multiple nested iframes, all ancestors in the chain must be provided as a comma-separated list.
Example: Primary origin that will be interacting with the Coinflow iFrame: foo.com Subsequent origins that will render foo.com: bar.com The origin array would then be: [https://foo.com,https://bar.com]
Custom preset deposit amounts (in dollars) to display in the AmountSelector. Only the first 3 values are used. Defaults to [10, 25, 50] if not provided.
If this purchase is for a seller/submerchant where the marketplace takes a fee, this is the % fee which is taken from the subtotal amount.
(Stellar only) Base64 XDR transaction string for executing a merchant contract call on a successful purchase.
For transaction purchases, pass the base64 XDR string created using .toXDR() on a transaction built with generated TypeScript bindings (e.g., NftClientWrapper.buildNftPurchaseTx).
For direct USDC transfers (no merchant transaction), omit this field or pass undefined.
Gas fees for the transaction will be automatically calculated and added to the total charged to the customer.
(Solana only) If a transaction involved in the purchase, should payment be checked for redemption
If utilizing USDC settlement to addresses other than your main merchant settlement address. Utilize this destinationAuthKey which is a JWT encoded with the information for which address to send the USDC to.
If utilizing USDC settlement to addresses other than your main merchant settlement address. Utilize this destination which is the address to send the USDC to.
(Optional) Idemptotency Key to pass to prevent multiple purchases with the same checkout link. If not passed, a random one will be generated for you automatically.
If custom statement descriptors are enabled for your merchant account and the bank supports dynamic descriptors, this will appear on the customer's statement.
Response
Ok