# Breet Docs - [API Introduction](https://docs.breet.io/index.md): Integrate crypto payments into your product with the Breet API. Accept deposits, convert assets, and settle to bank accounts in local currency. - [Quickstart](https://docs.breet.io/quickstart.md): Get your Breet API credentials, set up authentication headers, and make your first API request in minutes. - [AI-powered docs](https://docs.breet.io/ai-powered-docs.md): Plug the Breet API docs directly into Cursor, VS Code, and any MCP-aware AI tool so your assistant answers from live documentation instead of guessing. - [Supported assets](https://docs.breet.io/supported-assets.md): Cryptocurrencies and stablecoins supported for deposits and withdrawals on the Breet API, including networks, tokens, and minimum amounts. - [FAQs](https://docs.breet.io/faqs.md): Answers to frequently asked questions about the Breet API, pricing, supported countries, integration, and more. - [Deposits](https://docs.breet.io/deposits.md): A detailed explanation concerning what happens end-to-end when crypto lands on a Breet-generated wallet address. - [Withdrawals](https://docs.breet.io/withdrawals.md): A detailed explanation concerning what happens end-to-end when you withdraw stablecoins or fiat from Breet to an external wallet address or bank account. - [Auto-settlement](https://docs.breet.io/auto-settlement.md): Automatically convert incoming crypto deposits to local currency and pay out to a linked bank account using the Breet API. - [Testing](https://docs.breet.io/testing.md): Test deposits and flows in the sandbox environment using the mock trade endpoint. - [Webhooks](https://docs.breet.io/webhooks.md): Set up Breet API webhooks to receive real-time notifications for crypto deposits, withdrawals, and trade events. Includes payload examples and security best practices. - [Pagination](https://docs.breet.io/pagination.md): Learn how to paginate through large result sets in the Breet API using page and size query parameters. Includes supported endpoints and response examples. - [Error handling](https://docs.breet.io/errors.md): Understand Breet API error responses, HTTP status codes, and how to handle common error scenarios in your integration. - [Rate limiting](https://docs.breet.io/rate-limiting.md): Understand Breet API rate limits, retry headers, and best practices for handling 429 responses. - [Fintech](https://docs.breet.io/use-cases/fintech.md): Accept crypto and stablecoin deposits in your fintech app and auto-settle to local bank accounts with the Breet API. - [Betting & gaming](https://docs.breet.io/use-cases/betting-gaming.md): Enable crypto deposits and bank payouts for betting and gaming platforms. Accept stablecoins and settle winnings to local accounts with Breet. - [E-commerce](https://docs.breet.io/use-cases/ecommerce.md): Add crypto checkout to your online store and auto-settle payments to your local bank account with the Breet API. - [OTC & P2P trading](https://docs.breet.io/use-cases/otc-p2p.md): Use Breet as settlement infrastructure for OTC desks and P2P crypto trading platforms. Auto-settle trades to local bank accounts. - [SaaS & digital goods](https://docs.breet.io/use-cases/saas-digital-goods.md): Accept crypto payments for SaaS subscriptions and digital products. Auto-settle to your bank account with the Breet API. - [Payroll](https://docs.breet.io/use-cases/payroll.md): Pay remote employees and contractors across Africa with stablecoin-to-bank payouts using the Breet API. Fast, low-cost, no bank wires. - [Crypto off-ramping](https://docs.breet.io/use-cases/offramp.md): Convert crypto and stablecoins to local currency and pay out to bank accounts in Nigeria and Ghana using the Breet API. - [Crypto on-ramping](https://docs.breet.io/use-cases/onramp.md): Buy stablecoins (USDT or USDC) with your Breet USD balance and send them to any external wallet address. - [Crypto payouts](https://docs.breet.io/use-cases/crypto-payouts.md): Turn your business balance into outbound crypto payments. Fund your account with crypto or Naira, then send stablecoin payouts to any wallet address worldwide. - [API overview](https://docs.breet.io/api-reference/introduction.md): Authenticate with the Breet API using header-based credentials. Learn about environments, base URL, response format, and security best practices. - [Generate Wallet Address](https://docs.breet.io/api-reference/crypto-wallet/generate-wallet-address.md): Generates a permanent deposit wallet address for a specified asset. Each address is unique and reusable, so you only need to call this once per user per asset. Store the returned address and display it for future deposits. Optionally pass bank details and `autoSettlement` so incoming crypto can be p… - [Update Bank For Existing Wallet Address](https://docs.breet.io/api-reference/crypto-wallet/update-bank-for-existing-wallet-address.md): Update the bank account linked to an existing wallet address. Optionally set `autoSettlement` so incoming crypto to this address is paid out to that bank. - [Set Auto Settlement Status](https://docs.breet.io/api-reference/crypto-wallet/set-auto-settlement-status.md): Enable/Disable auto settlement for a wallet address - [Fetch Wallet Addresses](https://docs.breet.io/api-reference/crypto-wallet/fetch-wallet-addresses.md): Retrieve all wallet addressess. - [Fetch Wallet By ID](https://docs.breet.io/api-reference/crypto-wallet/fetch-wallet-by-id.md): Retrieve a wallet using its unique ID. - [Mock a trade (non-production only)](https://docs.breet.io/api-reference/testing/mock-a-trade-non-production-only.md): Simulates an incoming deposit so you can test your integration without sending real crypto. **Only available when `X-Breet-Env` is `sandbox`.** The wallet is identified by `walletAddress`; it must match the given asset. The trade is processed as if it came from the blockchain and will trigger the sa… - [Withdraw (Crypto)](https://docs.breet.io/api-reference/withdrawals/withdraw-crypto.md): Initiate a crypto withdrawal to an external wallet address. Supports stablecoins (USDT, USDC) and the UTXO coins BTC, LTC, DOGE, and BCH. - [Withdrawal (NGN | GHS)](https://docs.breet.io/api-reference/withdrawals/withdrawal-ngn-|-ghs.md): Initiate fiat (NGN | GHS) payout to bank - [Fetch Withdrawals](https://docs.breet.io/api-reference/withdrawals/fetch-withdrawals.md): Retrieve all withdrawals - [Fetch Withdrawal By ID](https://docs.breet.io/api-reference/withdrawals/fetch-withdrawal-by-id.md): Retrieve a withdrawal by its ID or external ID - [Estimate Network Fee](https://docs.breet.io/api-reference/withdrawals/estimate-network-fee.md): Estimate the network fee for a UTXO withdrawal (BTC, LTC, DOGE, BCH) at each fee level. Estimates are cached for 60 seconds and are not a locked quote - the fee is re-estimated when the withdrawal is submitted. - [Fetch Bank List](https://docs.breet.io/api-reference/banks/fetch-bank-list.md): Retrieve list of available banks - [Fetch Saved Banks](https://docs.breet.io/api-reference/banks/fetch-saved-banks.md): Fetch banks on your integration - [Fetch Bank By ID](https://docs.breet.io/api-reference/banks/fetch-bank-by-id.md): Fetch a bank on your integration by ID - [Verify Bank Account](https://docs.breet.io/api-reference/banks/verify-bank-account.md): Verify bank account - [Add Bank](https://docs.breet.io/api-reference/banks/add-bank.md): This adds a validated NGN or GHS bank to your integration - [Delete bank](https://docs.breet.io/api-reference/banks/delete-bank.md): Remove a saved bank account from your integration by ID. The bank will also be detached from all wallets associated with it. - [Fetch Transactions](https://docs.breet.io/api-reference/transactions/fetch-transactions.md): Retrieve all crypto transactions. - [Fetch Transaction By ID](https://docs.breet.io/api-reference/transactions/fetch-transaction-by-id.md): Retrieve a crypto transaction using its unique id. - [Complete A Flagged Deposit With A Resolution Fee](https://docs.breet.io/api-reference/transactions/complete-a-flagged-deposit-with-a-resolution-fee.md): Releases a deposit that was flagged **only** because it fell below the asset's minimum, by paying the resolution fee out of the deposit itself. - [Fetch Deposit Assets](https://docs.breet.io/api-reference/assets/fetch-deposit-assets.md): Retrieves the full list of supported deposit/sell assets, available networks, and configuration settings. - [Fetch Withdrawal Assets](https://docs.breet.io/api-reference/assets/fetch-withdrawal-assets.md): Retrieves the full list of supported withdrawal assets, available networks, rates, and withdrawal configuration settings. UTXOs (BTC, LTC, DOGE, BCH) return an empty networks array and a null fee - their network fee is dynamic, so quote it with POST /payments/estimate-network-fee. - [Crypto Prices](https://docs.breet.io/api-reference/rates-and-prices/crypto-prices.md): Returns the current global market price for a crypto-to-fiat pair. These are global market prices, not Breet-specific rates. To get Breet's actual conversion rate for NGN or GHS, use the Rate Calculator endpoint instead. - [Rate Calculator](https://docs.breet.io/api-reference/rates-and-prices/rate-calculator.md): Calculate crypto amount and get NGN/GHS rate. This endpoint returns Breet's actual conversion rate for NGN or GHS. Use this endpoint to determine the exact amount you'll receive when converting crypto to NGN or GHS. - [Fetch Account Details](https://docs.breet.io/api-reference/account/fetch-account-details.md): Retrieve integration details such as balances, wallets, platform fees, and preferences. Includes the current bank withdrawal fee per currency as `withdrawalFee`, and who absorbs it as `withdrawalFeeBearer`. - [Enable Trade Auto-Resolution](https://docs.breet.io/api-reference/account/enable-trade-auto-resolution.md): Turn on automatic resolution of flagged deposits. When enabled, Breet deducts the resolution fee from the USD value of the flagged deposit the moment it is flagged, credits the remainder to your wallet, and fires `trade.completed` with `flagFeeUSD` populated — no dashboard action required. - [Disable Trade Auto-Resolution](https://docs.breet.io/api-reference/account/disable-trade-auto-resolution.md): Turn off automatic resolution of flagged deposits. New flagged deposits will wait for a customer top-up or a manual **Pay Resolution Fee** action from your dashboard. - [Update Markup Percentage](https://docs.breet.io/api-reference/account/update-markup-percentage.md): Set a markup percentage that will be applied to your auto settled crypto transactions payout - [Set Withdrawal Fee Bearer](https://docs.breet.io/api-reference/account/set-withdrawal-fee-bearer.md): Choose who absorbs the fee on every withdrawal: bank (NGN | GHS), stablecoin, UTXO, and auto-settlement payouts. On crypto withdrawals the fee is the network fee. With `user`, the fee is deducted from the payout and the recipient gets `amount - fee`. With `business`, the fee is added to the amount d… - [Convert USD to Fiat](https://docs.breet.io/api-reference/conversion/convert-usd-to-fiat.md): Convert USD balance to local fiat (NGN or GHS). Optionally specify a saved bank to credit. - [Convert Fiat to USD](https://docs.breet.io/api-reference/conversion/convert-fiat-to-usd.md): Convert local fiat (NGN or GHS) balance to USD. Optionally provide a withdrawal address ID to automatically withdraw the converted USD to that address. - [Swap Fiat Currency](https://docs.breet.io/api-reference/payments/swap-fiat-currency.md): Swap fiat balance between NGN and GHS in either direction. The `from` and `to` currencies must be different. - [Fetch withdrawal addresses](https://docs.breet.io/api-reference/withdrawal-addresses/fetch-withdrawal-addresses.md): Fetch all saved withdrawal (payout) wallet addresses for the authenticated user or integration. - [Add withdrawal address](https://docs.breet.io/api-reference/withdrawal-addresses/add-withdrawal-address.md): Add a withdrawal (payout) wallet address for stable coins. If the same address, network, and token are sent with a different label, the existing address is updated instead of creating a duplicate. Maximum 3 addresses per user. - [Validate withdrawal address](https://docs.breet.io/api-reference/withdrawal-addresses/validate-withdrawal-address.md): Check that a wallet address is correctly formed for a token and network before you submit a withdrawal. This is a format check only — it does not confirm the address exists, is reachable, or is permitted. A withdrawal to an address that passes here can still be rejected for other reasons. - [Remove withdrawal address](https://docs.breet.io/api-reference/withdrawal-addresses/remove-withdrawal-address.md): Remove a saved withdrawal (payout) wallet address by ID. If the same address, network, and token is re-added later with a different label, it will be stored as a new entry (add endpoint updates the existing one only when it already exists). - [List outgoing webhook events](https://docs.breet.io/api-reference/webhooks/list-outgoing-webhook-events.md): Returns paginated records of outgoing webhooks sent to your webhook URL. Webhooks are persisted for a fixed retention period of 7days. - [Get a single webhook event](https://docs.breet.io/api-reference/webhooks/get-a-single-webhook-event.md): Returns a stored webhook event by its `_id`. Webhooks are persisted for a fixed retention period of 7days. - [Resend all webhooks for a reference](https://docs.breet.io/api-reference/webhooks/resend-all-webhooks-for-a-reference.md): Triggers an immediate redelivery attempt for **every** stored webhook event that matches the given `reference` (the trade or withdrawal reference). Webhooks are persisted for a fixed retention period of 7days. ## OpenAPI Specs - [openapi](/api-reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.