CoinCircuit REST API, full endpoint reference.
/api/v1/blockchain/assets: Retrieve supported blockchains and assetsReturns the full detailed list of supported blockchains and assets.
/api/v1/blockchain/confirmations: Retrieve confirmation requirementsReturns the number of confirmations required for transactions to be considered final on different blockchains.
/api/v1/blockchain/gas-fees: Retrieve gas feesReturns gas fees for all supported blockchains. All fee values are returned in the native token/asset value.
/api/v1/crypto-addresses: Create crypto payout recipientAdd a new crypto payout recipient by saving a wallet address you can send crypto payouts to. This is idempotent: if the same address already exists for this blockchain, the existing recipient is returned instead of an error.
/api/v1/crypto-addresses: List crypto payout recipientsReturns all your saved crypto payout recipients.
/api/v1/crypto-addresses/validate: Validate address formatValidates address format for a blockchain.
/api/v1/crypto-addresses/{id}: Retrieve crypto payout recipientReturns the crypto payout recipient for the given ID.
/api/v1/crypto-addresses/{id}: Update crypto payout recipientUpdates crypto payout recipient details.
/api/v1/crypto-addresses/{id}: Delete crypto payout recipientDeletes the crypto payout recipient.
/api/v1/balance: Retrieve balancesReturns all balances
/api/v1/balance/transactions: List balance transactionsReturns your balance transactions.
/api/v1/balance/transactions/{id}: Get a balance transaction by id/api/v1/swap/estimate: Estimate swap amount/api/v1/swap/quotation: Create a swap quotationCreates a swap quotation that locks the rate for 15 seconds. Execute the quotation before it expires.
/api/v1/swap/quotation/{quotationId}: Get swap quotation by ID/api/v1/swap/execute/{quotationId}: Execute swap quotation/api/v1/swaps: List swaps/api/v1/swaps/{id}: Get swap details by ID/api/v1/refunds/session/{sessionReference}: Process session refundRefunds the money received in a payment session back to the customer.
/api/v1/refunds/invoice/{invoiceReference}: Process invoice refundRefunds the money paid for an invoice back to the customer.
/api/v1/refunds: List refundsReturns all refunds.
/api/v1/refunds/estimate/{reference}: Estimate refundGet refund estimation including fees and amounts. Specify entity type (session/invoice) via query parameter.
/api/v1/refunds/{id}: Retrieve refundReturns the refund for the given ID.
/api/v1/payouts: Initiate payoutInitiates a payout to a receipient .
/api/v1/payouts: List payoutsReturns all payouts.
/api/v1/payouts/{id}: Retrieve payoutReturns the payout for the given ID.
/api/v1/payouts/fees: Retrieve all payout feesReturns both fiat and crypto payout fees for a specific currency in a clean, flat structure.
/api/v1/rates/convert: Retrieve conversion rateReturns the current conversion rate between any two supported currencies. Both "from" and "to" must be provided in uppercase.
/api/v1/rates: Retrieve all conversion ratesReturns all available conversion rates.
/api/v1/deposits/accounts: Create a deposit accountCreates a deposit account. Omit customerId to create a parent account.
/api/v1/deposits/accounts: List deposit accountsLists your deposit accounts.
/api/v1/deposits/accounts/{id}/identities: Issue a deposit identityIssues a pay-in identity into a deposit account: a static crypto deposit address or an NGN virtual account.
/api/v1/deposits/accounts/parent: Retrieve parent deposit accountRetrieves the merchant parent deposit account.
/api/v1/deposits/accounts/customer/{customerId}: Retrieve a customer's deposit accountRetrieves the deposit account for a customer.
/api/v1/deposits/accounts/{id}: Retrieve a deposit accountRetrieves a deposit account and its identities.
/api/v1/deposits: List depositsLists your inbound deposits (crypto and fiat).
/api/v1/deposits/{id}: Retrieve a depositRetrieves a single deposit.
/api/v1/customers: Create customerCreates a new customer. If a customer with the same email, phone, or telegram ID already exists, it will be updated instead.
/api/v1/customers: List customersReturns all customers.
/api/v1/customers/{id}: Update customerUpdates the customer.
/api/v1/customers/{id}: Retrieve customerReturns the customer for the given ID.
/api/v1/invoices: Create invoiceCreates an invoice for a product/service.
/api/v1/invoices: List invoicesReturns all invoices.
/api/v1/invoices/reference/{reference}: Retrieve invoice by referenceReturns the invoice for the given reference.
/api/v1/payments: Create payment sessionCreates a new payment session (payment link) to receive payments. You can set the asset and chain together, set one now and the other later, or leave both unset. A deposit address is created immediately only when the session already has the asset, chain, and customer details.
/api/v1/payments: List payment sessionsReturns all Payment Sessions.
/api/v1/payments/{reference}/address: Generate deposit addressGenerates a deposit address for the session. If the session already has an asset or chain assigned, those values cannot be overridden. Any missing asset or chain must be provided before the address can be created. If the session does not already have a customer, include customer details (email, and optionally firstName, lastName, phone). If the session already has a customer, the customer field is ignored.
/api/v1/payments/reference/{reference}: Retrieve payment session by referenceReturns the session for the given reference.
/api/v1/payments/estimate: Calculate crypto amount for sessionCalculate the required crypto amount for a session based on selected asset and chain without locking the rate.
/api/v1/payments/agent/settle: Settle x402 paymentSettles a gasless x402 payment on-chain. The sender signs a payment authorization off-chain, and CoinCircuit submits the transaction and covers gas. Three schemes are supported: - **eip3009** (USDC on Base and Arbitrum): sender signs an EIP-3009 TransferWithAuthorization - **permit2** (USDC, USDT on Base, Arbitrum, BSC): sender signs a Uniswap Permit2 permit - **solana** (SOL, USDC, USDT on Solana): sender partially signs a Solana transaction, CoinCircuit co-signs as fee payer Supported on Base, Arbitrum, BSC, and Solana. Include a `sessionReference` to validate the payment against a checkout session.
/api/v1/payments/agent/verify: Verify x402 paymentDry-runs the x402 payment checks without settling on-chain. Validates scheme, chain, asset, session constraints (if sessionReference provided), and runs scheme-specific checks: - **eip3009**: timestamp validity, nonce replay, sender balance - **permit2**: deadline, sender balance - **solana**: transaction structure validation Returns 200 with `valid: true` on success, or 400 with per-check pass/fail breakdown.
/api/v1/bank-accounts: Create bank payout recipientAdds a new bank payout recipient for receiving fiat payouts. The account will be verified and must match your name or business name.
/api/v1/bank-accounts: List bank payout recipientsReturns all your saved bank payout recipients.
/api/v1/bank-accounts/{id}: Retrieve bank payout recipientReturns the bank payout recipient for the given ID.
/api/v1/bank-accounts/{id}: Update bank payout recipientUpdates bank payout recipient details.
/api/v1/bank-accounts/{id}: Delete bank payout recipientDeletes the bank payout recipient. Cannot delete the only remaining recipient.
/api/v1/bank-accounts/banks: Retrieve bank listReturns the list of available banks.
/api/v1/payments/pages: Create payment pageCreates a new payment page.
/api/v1/payments/pages: List payment pagesReturns all payment pages.
/api/v1/payments/pages/{reference}/sessions: Retrieve payment page by referenceReturns the payment page for the given reference.
/api/v1/payments/pages/{id}: Update payment pageUpdates the payment page.
/api/v1/payments/pages/{id}: Delete payment pageDeletes the payment page.
/api/v1/transactions: List transactionsReturns all Payment Sessions Blockchain transactions.
/api/v1/transactions/{txHash}: Retrieve transactionReturns the transaction for the given hash.
/api/v1/settlements: List settlements/api/v1/settlements/{reference}: Retrieve settlement data