# Pay Fiat to Crypto API > REST API to accept payments that settle in USDC on Base. Customers pay by card, bank transfer or digital wallet, in US dollars or euros, through a hosted checkout, a widget or a ready payment link, or send USDC to the order's own wallet. Every payment is split automatically between the seller, your commission and the platform, then paid out on-chain. Base URL: https://api.payfiattocrypto.com. JSON over HTTPS, `Authorization: Bearer ` on every call. Money is always a decimal string in units of the stablecoin. Wallets are EIP-55 checksummed EVM addresses. API keys come from the Telegram bot @fiat_to_crypto_bot (/newkey, in a private chat), together with the webhook signing secret. Key features: - Card, bank transfer and digital wallet payments in US dollars or euros, through a hosted checkout page, an embeddable widget or a ready payment link: you choose per order. - One checkout for the customer, with no payment provider to choose: Privy, the wallet and payments infrastructure owned by Stripe, routes each payment to a large licensed provider that serves the customer's country. - Every order has its own wallet, so each payment reconciles to exactly one order, with no memo or reference to match. - A customer who comes back to a payment link sees the real state of the payment (in progress, already paid or expired), so nobody pays twice by mistake. - Automatic split of every payment between the seller, your commission and the platform fee, paid out on-chain. - Split payouts to up to 5 seller wallets and up to 5 commission wallets per order. - Payouts start as soon as the payment is final on-chain, with no manual step: on Base, a payout is final about half an hour after the payment arrives. - Payouts follow what actually arrives: any excess goes to the seller, and a shortfall is paid out in proportion to what arrived. - Idempotent order creation, cursor pagination and stable error codes. - Optional Telegram messages to the seller and to you when an order is created, paid and settled. - Signed webhooks when the payment arrives, is paid out, fails to pay out or expires, when a customer pays an order again, and for what the payment page reports from the checkout. Payment links, no code: sellers and freelancers can create a payment link at https://payfiattocrypto.com with only the amount and a USDC wallet on Base, with no account, email or business verification. The customer pays by card, bank transfer or digital wallet in US dollars or euros, and the seller receives USDC on Base. Anyone can also buy USDC on Base for their own wallet there: choose "Buy for myself", enter the amount and the wallet, see the total with the fees added, and pay in the same form. Pricing per card, bank or digital wallet payment: payment links on the website, a 3% commission + the processing fee; through the API, a 1% platform fee + the processing fee, plus the commission you set. The processing fee is the payment provider's MDR: 6.70% + US$ 0.50 per payment. No maximum amount, only a minimum of US$ 10 per order. The card processor may deduct its own fee from what it delivers. ## Docs - [Full documentation in Markdown](https://payfiattocrypto.com/llms-full.txt): every section of the docs in one file; read this to integrate - [OpenAPI 3.1 specification](https://payfiattocrypto.com/openapi.json): machine-readable contract of every endpoint, field and error - [API documentation (HTML)](https://payfiattocrypto.com/en/docs): the guides as a web page - [API reference (HTML)](https://payfiattocrypto.com/en/docs/reference): every endpoint, with request and response examples ## Endpoints - [GET /v1/assets](https://payfiattocrypto.com/en/docs/reference#get-assets): Stablecoins and networks you can use in an order (today, USDC on Base), with minimums and settlement times. - [POST /v1/orders](https://payfiattocrypto.com/en/docs/reference#create-order): Creates an order and returns its own wallet and, for USDC on Base, its checkout. - [GET /v1/orders/{orderId}](https://payfiattocrypto.com/en/docs/reference#get-order): Current status, wallet, checkout and breakdown of one order. - [GET /v1/orders](https://payfiattocrypto.com/en/docs/reference#list-orders): Your orders, newest first, with filters and cursor pagination. - [GET /v1/orders/{orderId}/checkout/offers](https://payfiattocrypto.com/en/docs/reference#get-checkout-offers): How much the customer pays, in their currency, before paying. - [POST /v1/orders/{orderId}/checkout](https://payfiattocrypto.com/en/docs/reference#create-checkout): Returns a link that sends the customer straight to the payment page. ## Guides - [Terms of use](https://payfiattocrypto.com/en/docs#terms): no KYB on our side, no liability toward regulators, no refunds; a 1% platform fee via the API (3% on the website) + the processing fee (the payment provider's MDR, 6.70% + US$ 0.50 per payment), plus your commission; no maximum amount, US$ 10 minimum; the card processor may deduct its own fee from what it delivers - [Why integrate](https://payfiattocrypto.com/en/docs#why-integrate): where card-to-crypto gateways lose payments and how this API avoids each case; Privy, owned by Stripe, routes every payment to a large licensed provider that serves the customer's country - [Quickstart](https://payfiattocrypto.com/en/docs#quickstart): first order in four steps - [Checkout](https://payfiattocrypto.com/en/docs#checkout): card, bank and digital wallet payments for USDC on Base; hosted page, widget or ready link; who pays the MDR; processorFee is 0.00 today; a payment in progress and a second payment - [Fees and payouts](https://payfiattocrypto.com/en/docs#fees): platform fee, your commission, network fee, fee modes - [Order lifecycle](https://payfiattocrypto.com/en/docs#lifecycle): statuses and what to do in each - [When the amount received differs](https://payfiattocrypto.com/en/docs#amount-differences): excess to the seller, proportional payout of a shortfall, minimum - [Additional payments and derived orders](https://payfiattocrypto.com/en/docs#derived-orders): a second payment, or one after the order expired, is paid out through a new order linked by parentOrderId - [Split payouts](https://payfiattocrypto.com/en/docs#split): up to five wallets per side - [Webhooks](https://payfiattocrypto.com/en/docs#webhooks): signed order and payment events sent to the order's webhookUrl, including the derived order of an additional payment; how to verify them - [Idempotency](https://payfiattocrypto.com/en/docs#idempotency): safe retries of order creation - [Errors](https://payfiattocrypto.com/en/docs#errors): envelope and every error code