> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.coinflow.cash/guides/checkout/implementation-overview/implementation-guides/advanced-use-cases/one-time-purchase-direct-usdc-transfer-stellar/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.coinflow.cash/_mcp/server. # One-Time Purchase Integration - Stellar BYO Wallet Settlement > **Warning** > > **This page is for advanced / cryptocurrency-native companies.** If that's not you, head back to the [Quickstart](/guides/getting-started/quickstart) for the standard flows. This guide walks you through integrating Coinflow checkout to accept one-time credit card purchases with USDC settlement on the Stellar network — without requiring a smart contract. USDC is sent directly to your configured settlement wallet. ## Prerequisites > **Warning** > > Complete these steps before starting the integration. #### Create your sandbox account [Register](https://sandbox-merchant.coinflow.cash/register) or [login](https://sandbox-merchant.coinflow.cash/login) to your sandbox merchant account #### Generate API keys [Create a sandbox API key](https://sandbox-merchant.coinflow.cash/api-keys) for authentication #### Add chargeback protection [Add the protection script](/guides/checkout/payment-security-risk-management/fraud-protection/implement-chargeback-protection#how-to-add-chargeback-protection) to every page of your app #### Configure settlement Set up your [BYO Wallet](/guides/checkout/settlement-locations/merchant-byo-wallet-settlement) — your own Stellar wallet with a USDC trustline to receive USDC revenue. > **Info** > > USDC transfers to a BYO wallet do **not** require a `stellarTransaction`. No smart contract whitelisting or transaction construction is needed. > **Warning** > > Stellar checkout does not support Credits settlement or partial purchases where the customer contributes their own USDC alongside a credit card payment. ## Quick Reference #### Authorization Headers | Header | Description | | ----------------------------- | --------------------------------------------------------------------------------------------------------------- | | `Authorization` | Your API key from [the merchant dashboard](https://sandbox-merchant.coinflow.cash/api-keys) | | `x-coinflow-auth-user-id` | Unique customer ID from your system | | `x-coinflow-auth-blockchain` | Use `stellar` for Stellar settlement | | `x-coinflow-auth-session-key` | [JWT token](/api-reference/api-reference/authentication/get-session-key) authorizing the payer (valid 24 hours) | #### Helpful Resources * [Test card numbers for sandbox](/guides/checkout/testing/testing-credit-cards) * [Checkout webhooks](/guides/developer-resources/webhooks/checkout-webhooks) * [Custom branding](/guides/developer-resources/custom-branding) --- ## Choose Your Implementation #### Checkout Link Best for simple integrations. Generate a hosted checkout URL to redirect users or embed in an iframe. ### Step 1: Generate the checkout link **`Request`** ```bash title="Request" curl -X POST https://api-sandbox.coinflow.cash/api/checkout/link \ -H "x-coinflow-auth-user-id: customer123" \ -H "x-coinflow-auth-blockchain: stellar" \ -H "Authorization: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "email": "customer@example.com", "subtotal": { "cents": 500, "currency": "USD" }, "blockchain": "stellar", "settlementType": "USDC", "chargebackProtectionData": [{ "productType": "inGameProduct", "productName": "Digital Item", "quantity": 1, "rawProductData": { "description": "A digital purchase" } }], "deviceId": "123456789" }' ``` **`Response`** ```json title="Response" { "link": "https://sandbox.coinflow.cash/stellar/purchase-v2/YOUR_MERCHANT_ID?sessionKey=eyJhbGci..." } ``` ### Step 2: Use the checkout link **Embed in an iframe** ```html