# Circle Docs: API reference Mint and Custody > Developer documentation for Circle's developer tools > ## Agent Instructions > Before reading these docs, install the relevant Circle Skill to get pre-loaded context — skills are LLM-optimized and cover architecture decisions, correct flows, and common pitfalls. In Claude Code: run /plugin marketplace add circlefin/skills then /plugin install circle-skills@circle. With Vercel Skills CLI: run npx skills add circlefin/skills. Available skills: use-usdc https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-usdc/SKILL.md (balances, transfers, approvals on EVM and Solana); EURC has no skill — see https://developers.circle.com/stablecoins/what-is-eurc.md; bridge-stablecoin https://github.com/circlefin/skills/blob/master/plugins/circle/skills/bridge-stablecoin/SKILL.md (crosschain transfers via CCTP, USDC, EURC, and third-party assets); use-arc https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-arc/SKILL.md (Arc chain config, contract deployment, USDC bridging — Arc docs: https://docs.arc.io/llms.txt); use-circle-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-circle-wallets/SKILL.md (choose wallet type); use-developer-controlled-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-developer-controlled-wallets/SKILL.md (custodial wallets for payouts and treasury); use-user-controlled-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-user-controlled-wallets/SKILL.md (embedded wallets with Web2 login); use-modular-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-modular-wallets/SKILL.md (smart contract wallets with passkeys and ERC-4337); use-gateway https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-gateway/SKILL.md (unified USDC balance, nanopayments); use-smart-contract-platform https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-smart-contract-platform/SKILL.md (deploy, interact, monitor contracts). Pair any skill with the Circle MCP server for live SDK signatures, contract addresses, and chain IDs: {"mcpServers":{"circle":{"url":"https://api.circle.com/v1/codegen/mcp"}}}. > Read the product overview first. Each product has an overview explaining when and why to use it. Read it before quickstarts. > Pick the right wallet type. Developer-controlled (you hold keys), user-controlled (end user holds keys via PIN/social login), or modular (smart contract wallets with passkeys). See https://developers.circle.com/wallets.md. > Use CCTP V2 for crosschain transfers. CCTP natively transfers USDC and EURC via burn-and-mint, and supports permissionless wrapping of third-party assets via lock-and-mint. V1 is legacy; always use V2 unless V1 is specified or the chain requires it (Noble, Sui, and Aptos still require V1). Migration guide: https://developers.circle.com/cctp/migration-from-v1-to-v2.md. > Use Bridge Kit for frontend bridging. Wraps CCTP with a simpler SDK for user-facing apps. Use CCTP directly for backend transfers. > Gas Station vs Paymaster. Gas Station sponsors gas for Circle Wallet transactions. Paymaster lets users pay gas in USDC. Different use cases — read both overviews. > Gateway Nanopayments for sub-cent payments. Gasless USDC micropayments down to $0.000001 via x402 and batched settlement. For pay-per-request APIs, AI agent payments, streaming. > Look up USDC addresses per chain. Never hardcode — use https://developers.circle.com/stablecoins/usdc-contract-addresses.md. > Prefer SDKs over raw API calls. Node.js and Python SDKs handle auth, retries, and errors. > API key required. Bearer token in Authorization header. Testnet and mainnet use separate keys and may use different base URLs depending on the product. > Set up webhooks when available. Most operations are async. Webhooks deliver transaction confirmations and state changes. > When calling list endpoints, paginate using pageSize and pageAfter until no nextPageAfter cursor is returned—stopping at the first page silently misses records. > Building an AI agent? Start with the Agent Stack—Circle CLI, agent wallets, and nanopayments built for autonomous use cases: https://developers.circle.com/agent-stack.md. ## Mint and Custody - [Circle Mint and Custody API](https://developers.circle.com/api-reference/circle-mint.md): Manage USDC and EURC balances, process deposits and payouts, execute cross-currency trades, and manage reserves. - [Postman collection](https://developers.circle.com/api-reference/circle-mint/postman.md): Use Circle's Postman collection to send API requests and explore the Circle Mint APIs. - [Error codes](https://developers.circle.com/api-reference/circle-mint/error-codes.md): Reference for synchronous and asynchronous error codes returned by the Circle Mint API, organized by product, with recommended treatment for each. ### API overview #### Health - [Ping](https://developers.circle.com/api-reference/circle-mint/general/ping.md): Checks that the service is running. #### Management - [Get configuration info](https://developers.circle.com/api-reference/circle-mint/general/get-account-config.md): Retrieves general configuration information. #### Subscriptions - [List all notification subscriptions](https://developers.circle.com/api-reference/circle-mint/general/list-subscriptions.md): Retrieve a list of existing notification subscriptions with details. - [Create a notification subscription](https://developers.circle.com/api-reference/circle-mint/general/create-subscription.md): Subscribe to receiving notifications at a given endpoint. The endpoint should be able to handle AWS SNS subscription requests. For more details see https://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/sns-send-http.html. Note, the sandbox environment allows a maximum of 3 active subscript… - [Remove a notification subscription](https://developers.circle.com/api-reference/circle-mint/general/delete-subscription.md): To remove a subscription, all its subscription requests' statuses must be either 'confirmed', 'deleted' or a combination of those. A subscription with at least one 'pending' subscription request cannot be removed. #### Stablecoins - [List all stablecoins](https://developers.circle.com/api-reference/circle-mint/general/list-stablecoins.md): Retrieves total circulating supply for supported stablecoins across all chains. This endpoint is rate limited to one call per minute (based on IP). - [List stablecoin address statuses](https://developers.circle.com/api-reference/circle-mint/general/list-stablecoin-address-statuses.md): Retrieves secondary market burn (SMB) records for blockchain addresses. Only burned addresses on publicly visible tokens are returned. Filter by `address`, `chain`, or `symbol`. Filters that match no records return an empty `data` array. Results are paginated; to retrieve the next page, pass the ret… ### Custody API #### Accounts ##### Accounts - [List all accounts](https://developers.circle.com/api-reference/circle-mint/accounts/list-accounts.md): Retrieves the accounts available to the calling entity. - [Create an account](https://developers.circle.com/api-reference/circle-mint/accounts/create-account.md): Creates a new account. This account can be used to create accounts for Mint, or intermediary accounts for a Managed Payments customer. For Managed Payments, the account created represents the end customer that will settle stablecoin payments by the customer. That end customer can be either a busines… - [Get an account](https://developers.circle.com/api-reference/circle-mint/accounts/get-account.md): Retrieves a single account by `accountId`. - [Update an account](https://developers.circle.com/api-reference/circle-mint/accounts/update-account.md): Updates mutable fields on an account. Only fields present in the request body are changed; omitted fields are left untouched. - [Archive an account](https://developers.circle.com/api-reference/circle-mint/accounts/archive-account.md): Archives a subledger account. Only subledger-type accounts (those created via `POST /v1/accounts`) may be archived, and the account must have a zero balance. ##### Account Groups - [List custody account groups](https://developers.circle.com/api-reference/circle-mint/accounts/list-account-groups.md): Retrieves the custody account groups owned by the calling entity. Each row includes an aggregate USD-equivalent balance and a short preview of member account names; use the detail endpoint for metadata only. - [Create a custody account group](https://developers.circle.com/api-reference/circle-mint/accounts/create-account-group.md): Creates a new custody account group for the calling entity. - [Get a custody account group](https://developers.circle.com/api-reference/circle-mint/accounts/get-account-group.md): Retrieves a single custody account group by `groupId`. Returns the metadata view (`id`, `name`, `createDate`, `updateDate`) only — `approximateBalanceInUsd` and `accountsPreview` are intentionally omitted; see the list endpoint for the aggregate view. - [Update a custody account group](https://developers.circle.com/api-reference/circle-mint/accounts/update-account-group.md): Renames a custody account group. The new name must be unique (case-insensitive) within the calling entity. - [Delete a custody account group](https://developers.circle.com/api-reference/circle-mint/accounts/delete-account-group.md): Soft-deletes a custody account group and hard-deletes every member assignment in a single transaction. Member accounts themselves are left untouched. Deletion is rejected for groups already soft-deleted or owned by a different entity. - [Bulk-assign accounts to a custody account group](https://developers.circle.com/api-reference/circle-mint/accounts/assign-accounts-to-group.md): Assigns up to 100 accounts to the target custody account group in a single atomic transaction. Accounts already bound to another group are reassigned; rebinding an account that already belongs to this group is a no-op write. - [Bulk-unassign accounts from a custody account group](https://developers.circle.com/api-reference/circle-mint/accounts/unassign-accounts-from-group.md): Removes up to 100 accounts from the target custody account group. All-or-nothing: every account listed must currently belong to this group, otherwise the call fails with 404 and no assignment row is removed. ##### Limits - [List account limits and usage](https://developers.circle.com/api-reference/circle-mint/accounts/list-account-limits-usage.md): Retrieves the effective limits and current usage for an account. Monetary values use USD cents, and count-based limits use whole-number counts. Transaction limits do not include `window`, `currentAggregate`, or `usagePercent`. Aggregate fields can also be omitted when a usage source is unavailable. ##### Transactions - [List all account transactions](https://developers.circle.com/api-reference/circle-mint/accounts/list-account-transactions.md): Searches for transactions across account activity, including deposits, withdrawals, transfers and other activity. Results are returned in descending chronological order. If date parameters are omitted, returns the most recent transactions. #### Balances - [List all balances](https://developers.circle.com/api-reference/circle-mint/account/list-business-balances.md): Retrieves the balance of funds that are available for use. #### Transfers - [List all transfers](https://developers.circle.com/api-reference/circle-mint/account/list-business-transfers.md): Searches for transfers from your business account. If the date parameters are omitted, returns the most recent transfers. This endpoint returns up to 50 transfers in descending chronological order or pageSize, if provided. - [Create a transfer](https://developers.circle.com/api-reference/circle-mint/account/create-business-transfer.md): A transfer can be made from an existing business account to a blockchain location. - [Get a transfer](https://developers.circle.com/api-reference/circle-mint/account/get-business-transfer.md) - [Get associated accounts](https://developers.circle.com/api-reference/circle-mint/account/get-associated-accounts.md): Returns a list of sibling CMAs that are associated with the current account under unified credentials. These accounts can be used as destinations for cross-entity transfers. #### Deposits - [List fiat deposits](https://developers.circle.com/api-reference/circle-mint/account/list-business-deposits.md): Searches for wire and other fiat deposits sent to your business account. Onchain (crypto) deposits do not appear on this endpoint; use `GET /v1/transfers` to retrieve onchain deposits. If the date parameters are omitted, the endpoint returns the most recent deposits. It returns up to 50 deposits in… - [Get a deposit by ID](https://developers.circle.com/api-reference/circle-mint/account/get-business-deposit-by-id.md): Returns a deposit by ID. #### Reporting - [List reports](https://developers.circle.com/api-reference/circle-mint/account/list-reports.md): Returns a paginated list of the account's previously generated reports for a given report type and date range, each with a pre-signed `downloadUrl`. Listable report types: `managed_payout_transactions`, `managed_payment_wallet_balances`, `managed_payin_transactions`, `camt_managed`, `camt053`, `camt… - [Request a report](https://developers.circle.com/api-reference/circle-mint/account/request-report.md): Submits a report generation request. `reportType` specifies the type of report and required fields. Supported report types: `camt053`, `camt_managed`, `managed_payout_transactions`, `managed_payment_wallet_balances`, and `managed_payin_transactions`. The managed-payment reports take a `timeframe` fi… - [Get report by ID](https://developers.circle.com/api-reference/circle-mint/account/get-report-by-id.md): Returns the current metadata for a report, including a fresh pre-signed `downloadUrl` when the report is `ready`. Use this endpoint to check the status of a `pending` report or to obtain a new download URL after the previous one has expired. - [Download report content](https://developers.circle.com/api-reference/circle-mint/account/get-report-content.md): Streams the raw report content as a file download, an alternative to following `downloadUrl` from the JSON response. Returns `409` if the report is not yet `ready`. #### Addresses - [List all deposit addresses](https://developers.circle.com/api-reference/circle-mint/account/get-business-deposit-address.md): Returns a list of deposit addresses for a given wallet. - [Create a deposit address](https://developers.circle.com/api-reference/circle-mint/account/create-business-deposit-address.md): Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you're requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryp… - [List all recipient addresses](https://developers.circle.com/api-reference/circle-mint/account/list-business-recipient-addresses.md): Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response. - [Create a recipient address](https://developers.circle.com/api-reference/circle-mint/account/create-business-recipient-address.md): Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. - [Delete a recipient address](https://developers.circle.com/api-reference/circle-mint/account/delete-business-recipient-address.md): Deletes an external blockchain address. The recipient address must be in an 'active' or 'pending' state in order to be deleted successfully. - [List recipient VASPs](https://developers.circle.com/api-reference/circle-mint/account/list-business-recipient-vasps.md): Returns the Virtual Asset Service Providers (VASPs) available to the caller. Use a returned `id` as `vaspId` in `ownership.custody` when creating a recipient and custody is `hosted`. ### Mint API #### Payouts - [List all payouts](https://developers.circle.com/api-reference/circle-mint/account/list-business-payouts.md): Lists all payouts for your account. - [Create a payout](https://developers.circle.com/api-reference/circle-mint/account/create-business-payout.md): Create a redemption (offramp) payout. This payout converts a digital asset to fiat currency. - [Get a payout](https://developers.circle.com/api-reference/circle-mint/account/get-business-payout.md) - [List redemption fee calculations](https://developers.circle.com/api-reference/circle-mint/account/list-net-burn-fee-daily-calculations.md): Returns redemption fee calculations, including daily records and surcharges. Returns up to 50 calculations in descending chronological order, or `pageSize` results if specified. #### Wires - [List all wire bank accounts](https://developers.circle.com/api-reference/circle-mint/account/list-business-wire-accounts.md) - [Create a wire bank account](https://developers.circle.com/api-reference/circle-mint/account/create-business-wire-account.md) - [Get a wire bank account](https://developers.circle.com/api-reference/circle-mint/account/get-business-wire-account.md) - [Get wire instructions](https://developers.circle.com/api-reference/circle-mint/account/get-business-wire-account-instructions.md): Get the wire transfer instructions into the Circle bank account given your bank account ID. #### Payments - [Create a mock Wire payment](https://developers.circle.com/api-reference/circle-mint/account/create-mock-wire-payment.md): In the sandbox environment, initiate a mock wire payment that mimics the behavior of funds sent through the bank (wire) account linked to master wallet. #### CUBIX - [List all CUBIX bank accounts.](https://developers.circle.com/api-reference/circle-mint/account/list-business-cubix-accounts.md) - [Create a CUBIX bank account](https://developers.circle.com/api-reference/circle-mint/account/create-business-cubix-account.md) - [Get a CUBIX bank account](https://developers.circle.com/api-reference/circle-mint/account/get-business-cubix-account.md) - [Get CUBIX instructions](https://developers.circle.com/api-reference/circle-mint/account/get-business-cubix-account-instructions.md): Get the CUBIX transfer instructions into the Circle bank account given your fiat account id. #### PIX - [List all PIX bank accounts.](https://developers.circle.com/api-reference/circle-mint/account/list-business-pix-accounts.md) - [Create a PIX bank account](https://developers.circle.com/api-reference/circle-mint/account/create-business-pix-account.md) - [Get a PIX bank account](https://developers.circle.com/api-reference/circle-mint/account/get-business-pix-account.md) - [Get PIX instructions](https://developers.circle.com/api-reference/circle-mint/account/get-business-pix-account-instructions.md): Get the PIX transfer instructions into the Circle bank account given your bank account id. #### Settlement Bank Routing - [Get wire routing info](https://developers.circle.com/api-reference/circle-mint/account/get-wire-routing-info.md): Retrieves available settlement banks and current routing configuration for a wire fiat account. - [Update wire routing preferences](https://developers.circle.com/api-reference/circle-mint/account/update-wire-routing-preferences.md): Creates or updates the settlement bank routing preferences for a wire fiat account. - [Get PIX routing info](https://developers.circle.com/api-reference/circle-mint/account/get-pix-routing-info.md): Retrieves available settlement banks and current routing configuration for a PIX fiat account. - [Update PIX routing preferences](https://developers.circle.com/api-reference/circle-mint/account/update-pix-routing-preferences.md): Creates or updates the settlement bank routing preferences for a PIX fiat account. ### Cross-currency API #### Trades - [Get quote](https://developers.circle.com/api-reference/circle-mint/cross-currency/get-quote.md): Fetches an exchange rate between two currencies. Exactly one of the from and to currencies must be USDC; the other may be EURC or a supported fiat currency (MXN, SGD, BRL, HKD), subject to your account's enabled currencies. Quote amounts have currency-specific minimums. The minimum quote amount for… - [Get all FX trades](https://developers.circle.com/api-reference/circle-mint/cross-currency/get-fx-trades.md): Returns all cross-currency trades. You can include an optional `settlementId` query parameter to filter the trades to only a specific settlement. - [Create FX trade](https://developers.circle.com/api-reference/circle-mint/cross-currency/create-fx-trade.md): Creates a cross-currency trade - [Get FX trade](https://developers.circle.com/api-reference/circle-mint/cross-currency/get-fx-trade-id.md): Returns an FX trade by ID. - [Create FX account](https://developers.circle.com/api-reference/circle-mint/cross-currency/create-fx-account.md): Creates a currency trading account by linking a fiat bank account to a currency. The account must have Cross-Currency enabled. For `SGD`, the Circle Mint account must be contracted with Circle SG, and `fiatAccountId` must reference a wire bank account. - [Get daily currency exchange limits](https://developers.circle.com/api-reference/circle-mint/cross-currency/get-daily-fx-limits.md): Returns daily currency exchange limits and usages. #### Settlements - [Get all settlements](https://developers.circle.com/api-reference/circle-mint/cross-currency/get-settlements.md): Returns all settlements. - [Get settlement](https://developers.circle.com/api-reference/circle-mint/cross-currency/get-settlement-id.md): Returns a settlement by ID. - [Get settlement instructions](https://developers.circle.com/api-reference/circle-mint/cross-currency/get-settlement-instructions.md): Returns settlement instructions for a specific currency. #### Payments - [Create a mock PIX payment](https://developers.circle.com/api-reference/circle-mint/cross-currency/create-mock-pix-payment.md): Initiates a mock PIX payment in the sandbox environment that mimics the behavior of funds sent through the bank account linked to the main wallet. ### Reserve management API #### Reserve Management - [Create daily custody balance report](https://developers.circle.com/api-reference/circle-mint/reserve-management/report-daily-custody-balances.md): Creates a daily custody balance report for USDC and EURC and sends it to Circle. ### Credit API #### Credit - [Get credit line details](https://developers.circle.com/api-reference/circle-mint/credit/get-credit-line.md): Provides overall credit line details, including status, available limit, and outstanding balance. #### Credit Repayments - [Get repayment account details](https://developers.circle.com/api-reference/circle-mint/credit/get-repayment-account-detail.md): Returns repayment account details and wire instructions for making a credit repayment using the specified fiat account. - [List all credit repayments](https://developers.circle.com/api-reference/circle-mint/credit/list-credit-repayments.md): Returns a paginated list of all repayments (fiat and crypto). Filterable by create date range, transfer ID, type, and status. - [Get a credit repayment](https://developers.circle.com/api-reference/circle-mint/credit/get-credit-repayment.md): Returns detailed information about a specific repayment. - [Initiate a crypto repayment](https://developers.circle.com/api-reference/circle-mint/credit/create-credit-crypto-repayment.md): Initiates a crypto repayment for a credit transfer. - [Create a mock wire repayment](https://developers.circle.com/api-reference/circle-mint/credit/create-mock-wire-repayment.md): In the sandbox environment, initiate a mock wire repayment that simulates an incoming wire payment to repay an outstanding credit transfer. The fiat account will be automatically linked as a repayment account if not already linked. #### Credit Transfers - [List all credit transfers](https://developers.circle.com/api-reference/circle-mint/credit/list-credit-transfers.md): Returns a paginated list of all credit transfers. Filterable by create date range and status. Transfer items in list responses do not include outstanding and fees properties. - [Create a credit transfer](https://developers.circle.com/api-reference/circle-mint/credit/create-credit-transfer.md): Requests a new credit transfer (drawdown) from the credit line. Disbursement is asynchronous. - [Get a credit transfer](https://developers.circle.com/api-reference/circle-mint/credit/get-credit-transfer.md): Returns detailed information about a specific credit transfer. - [Reserve funds for a credit transfer](https://developers.circle.com/api-reference/circle-mint/credit/reserve-credit-transfer-funds.md): Reserves funds for a Settlement Advance or RWA Redemption Advance draw. This is the first mandatory step in the advance transfer flow. - [Request reserved funds](https://developers.circle.com/api-reference/circle-mint/credit/request-credit-transfer-reserved-funds.md): Transitions a `funds_reserved` transfer to `requested` status by uploading evidence (wire proof for Settlement Advance or receipt for RWA Redemption Advance). - [Cancel reserved funds](https://developers.circle.com/api-reference/circle-mint/credit/cancel-credit-transfer-reserve.md): Cancels a `funds_reserved` transfer and releases the reserved amount back to available credit. #### Credit Fees - [List all credit fees](https://developers.circle.com/api-reference/circle-mint/credit/list-credit-fees.md): Returns a paginated list of all historical fees. Filterable by create date range, currency, and status. - [Get a credit fee](https://developers.circle.com/api-reference/circle-mint/credit/get-credit-fee.md): Returns detailed information about a specific fee. ### Digital Asset-Backed Borrowing #### Borrow Wallets - [Get the wallet](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/list-borrow-wallets.md): Returns the wallet as a single-element array. - [Create a wallet](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/create-borrow-wallet.md): Provisions your wallet. The wallet is co-owned by your passkey (supplied as `ownerKey` + `credentialId`) and a Circle-provisioned ECDSA key. Circle derives the MSCA address and signs the setup UserOperation for you. - [Add a wallet owner](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/add-borrow-wallet-owner.md): Adds a new passkey owner to your wallet. Asynchronous. Circle builds, signs, and submits the UserOperation for you. Returns an `onchainJob` of `jobType = add_owner`. Poll the job until it reaches `completed`. #### Borrow Loans - [List all loans](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/list-borrow-loans.md): Returns a paginated list of loans you own, sorted by `createDate`, most recent first. - [Create a loan (borrow)](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/create-borrow-loan.md): Originates a loan (borrow) against posted collateral. Asynchronous. Circle builds, signs, and submits the borrow UserOperation for you. Poll the returned job until it reaches `completed` or a terminal failure state. - [Get a loan](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/get-borrow-loan.md): Returns detailed information about a specific loan position. - [Create a repayment](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/create-borrow-repayment.md): Repays part or all of a loan. Asynchronous. Circle builds, signs, and submits the UserOperation for you. - [Add collateral](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/add-borrow-loan-collateral.md): Adds collateral to an existing loan, typically in response to a margin call. Asynchronous. Circle builds, signs, and submits the UserOperation for you. - [Trigger a residual collateral sweep](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/create-borrow-loan-residual-sweep.md): Triggers a sweep of collateral left in the lending protocol after a partial liquidation. Circle creates this job automatically when it detects the residual, so you only need to call this endpoint to manually retry the sweep. #### Borrow Jobs - [List all jobs](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/list-borrow-jobs.md): Returns a paginated list of onchain jobs available to you, sorted by `createDate`, most recent first. Useful for rendering transaction history and surfacing jobs that require customer action, such as automatically created `withdraw_residual` jobs. - [Get a job](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/get-borrow-job.md): Returns details for a single onchain job, including `jobType`, `amount`, `asset`, `toAddress`, `loanId`, and timeline timestamps for displaying the transaction to an end user. #### Borrow Markets - [List all markets](https://developers.circle.com/api-reference/circle-mint/digital-asset-backed-borrowing/list-borrow-markets.md): Returns the allowlisted lending markets available to you, including current rates and LTV parameters. ### Webhook events - [Get a notification signature public key](https://developers.circle.com/api-reference/circle-mint/webhooks/get-notification-signature.md): Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. - [Transfer state change](https://developers.circle.com/api-reference/circle-mint/webhooks/custody-transfer.md): Sent when a stablecoin transfer changes state. A `blockchain` source is an inbound crypto deposit into a subaccount. A `blockchain` destination is an outbound crypto transfer. A `wallet` source with a `wallet` destination is an internal transfer between subaccounts. `status` is one of `pending`, `co… - [Wrapped token deposit received](https://developers.circle.com/api-reference/circle-mint/webhooks/custody-wrapped-token-receive.md): Sent when a wrapped token deposit is received. The payload carries the original and wrapped amounts plus the deposit transaction key. - [Wrapped token mint started](https://developers.circle.com/api-reference/circle-mint/webhooks/custody-wrapped-token-mint-initiated.md): Sent when a wrapped token mint is initiated. The payload carries the original and wrapped amounts plus the deposit transaction key. - [Wrapped token withdrawal](https://developers.circle.com/api-reference/circle-mint/webhooks/custody-wrapped-token-withdrawal.md): Sent when a wrapped token withdrawal completes. The payload carries the wrapped and unwrapped amounts, the destination wallet address, and the transfer transaction key. - [Wrapped token redeem started](https://developers.circle.com/api-reference/circle-mint/webhooks/custody-wrapped-token-redeem-initiated.md): Sent when a wrapped token redeem is initiated. The payload carries the wrapped and unwrapped amounts, the destination wallet address, and the transfer transaction key. - [Transfer approved via approval workflow](https://developers.circle.com/api-reference/circle-mint/webhooks/custody-approval-workflow-transfer-approved.md): Sent when a transfer proposal is approved through the approval workflow. The payload carries the idempotency key, transfer ID, proposal status, and transfer status. - [Transfer rejected via approval workflow](https://developers.circle.com/api-reference/circle-mint/webhooks/custody-approval-workflow-transfer-rejected.md): Sent when a transfer proposal is rejected through the approval workflow. The payload carries the idempotency key, transfer ID, proposal status, and transfer status. - [FX trade state change](https://developers.circle.com/api-reference/circle-mint/webhooks/fx-trade.md): Sent when an FX trade changes state. `status` is one of `pending`, `confirmed`, `pending_settlement`, `complete`, `failed`, `terminated`, `breaching`, `breached`, `taker_funded`, or `maker_funded`. The payload may also carry `statusCode` and `settlementId`. - [FX settlement state change](https://developers.circle.com/api-reference/circle-mint/webhooks/fx-settlement.md): Sent when an FX settlement changes state. `status` is one of `pending` or `settled`. The `details` array carries the payable and receivable legs of the settlement. - [Application approved](https://developers.circle.com/api-reference/circle-mint/webhooks/onboarding-application-approved.md): Sent when an end customer application is approved. The end customer can transact. - [Application denied](https://developers.circle.com/api-reference/circle-mint/webhooks/onboarding-application-denied.md): Sent when an end customer application is denied. The end customer cannot transact, and the decision is final. - [Application cancelled](https://developers.circle.com/api-reference/circle-mint/webhooks/onboarding-application-cancelled.md): Sent when an end customer application is cancelled before reaching a decision. `previousStatus` reports the stage it was cancelled from, either `DRAFT` or `IN_REVIEW`. - [Information requested](https://developers.circle.com/api-reference/circle-mint/webhooks/onboarding-application-rfi-requested.md): Sent when Circle needs more information before it can decide. The application moves to `PENDING_CUSTOMER_INFORMATION` from review, and stays there until the end customer supplies what was requested. - [Periodic review requested](https://developers.circle.com/api-reference/circle-mint/webhooks/onboarding-periodic-review-requested.md): Sent when a periodic review opens for an approved end customer. The review starts as a new application in `DRAFT`, so the end customer must complete it to stay in good standing. - [Payment state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-payments.md): Sent when a payment changes state. `status` is one of `pending`, `action_required`, `confirmed`, `paid`, `failed`, or `reversed`. `paid` and `failed` are terminal. - [Payout state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-payout.md): Sent when a withdrawal to a bank account changes state, including the intermediate milestones reached while the payout is being processed. `status` is one of `pending`, `complete`, or `failed`. - [Deposit state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-deposits.md): Sent when a fiat deposit into a subaccount changes state. `status` is one of `pending`, `complete`, or `failed`. Stablecoins sent to a subaccount's blockchain deposit address are reported by `custody.transfer` instead. - [Payment intent state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-payment-intents.md): Sent when a payment intent is created, receives a deposit address, or receives funds. `status` is one of `created`, `pending`, `active`, `complete`, `expired`, `failed`, or `refunded`. One-time intents use `pending` while awaiting a deposit; continuous intents use `active` once a deposit address is… - [Wire state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-wire.md): Sent when a wire transfer changes state. `status` is one of `pending`, `complete`, or `failed`. - [Return state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-returns.md): Sent when a payout return changes state. `status` is one of `pending`, `complete`, or `failed`. `reason` is `payout_returned`. - [Recipient address state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-address-book-recipients.md): Sent when a recipient address changes state, most often as it moves through verification. `status` is one of `pending`, `pending_verification`, `pending_additional_information`, `pending_owner_information`, `pending_beneficiary_information`, `denied`, `inactive`, `verification_succeeded`, `active`,… - [Subaccount status change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-accounts.md): Sent when a subaccount changes status. `status` is one of `pending`, `active`, `rejected`, `archived`, or `closed`. `type` is `first_party` or `third_party`, and `purpose` is `payments` or `custody`. - [External entity compliance decision](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-external-entities.md): Sent when an external entity reaches a compliance decision. `complianceState` is one of `PENDING`, `ACCEPTED`, or `REJECTED`. Wait for `ACCEPTED` before transacting on behalf of the entity. - [Bank account created](https://developers.circle.com/api-reference/circle-mint/webhooks/bank-accounts-created.md): Sent when a bank account is created. The notification carries the bank account details nested under a `wire`, `ach`, or `sepa` key depending on the rail. - [Bank account updated](https://developers.circle.com/api-reference/circle-mint/webhooks/bank-accounts-updated.md): Sent when a bank account is updated. The notification carries the bank account details nested under a `wire`, `ach`, or `sepa` key depending on the rail. - [Bank account denied](https://developers.circle.com/api-reference/circle-mint/webhooks/bank-accounts-denied.md): Sent when a bank account is denied. The notification carries the bank account details nested under a `wire`, `ach`, or `sepa` key depending on the rail. - [Credit transfer state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-credit-transfers.md): Sent when a credit transfer changes state. `status` is one of `funds_reserved`, `requested`, `disbursed`, `past_due`, `paid`, `rejected`, `expired`, or `canceled`. - [Credit fee state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-credit-fees.md): Sent when a credit fee changes state. `status` is one of `pending`, `paid`, `failed`, or `invoiced`. - [Credit repayment state change](https://developers.circle.com/api-reference/circle-mint/webhooks/mint-credit-repayments.md): Sent when a credit repayment changes state. `status` is one of `pending`, `completed`, or `failed`. `type` is `fiat` or `crypto`. ## OpenAPI Specs - [general](/openapi/general.yaml) - [accounts](/openapi/accounts.yaml) - [account](/openapi/account.yaml) - [cross-currency](/openapi/cross-currency.yaml) - [reserve-management](/openapi/reserve-management.yaml) - [credit](/openapi/credit.yaml) - [digital-asset-backed-borrowing](/openapi/digital-asset-backed-borrowing.yaml) - [mint-webhooks](/openapi/mint-webhooks.yaml)