Prerequisites
Before you begin, ensure you have:- An approved Line of Credit facility with Circle. Contact your Circle representative if you haven’t completed the offline credit agreement.
- A Circle Mint API key with the Credit API entitlement enabled.
- Familiarity with Circle Mint authentication and idempotent requests.
Step 1: Check your credit line status
Before requesting a draw, verify that your credit line is active and has sufficient available credit. Call theGET /v1/credit endpoint to retrieve your
credit line details.
Response
productislineOfCredit.statusisactive.available.amountis greater than or equal to the amount you plan to draw.validationErrorsis an empty array. If it contains errors such asINSUFFICIENT_BALANCE,PENDING_FEES, orOVERDUE_TRANSFERS, resolve them before you create a new transfer.
Step 2: Request a draw
Request a draw against your credit line by callingPOST /v1/credit/transfers
with an idempotency key and the desired amount. Unlike Settlement Advance
transfers, LoC draws are auto-approved and don’t require wire proof or Treasury
review.
Response
id from the response. You need it to track the transfer in
the next step.
The transfer starts in requested status and automatically transitions to
disbursed once the funds are deposited into your Circle Mint wallet. No manual
approval step is required.
Step 3: Track the transfer
Monitor your transfer as it progresses fromrequested to disbursed. You can
poll the transfer endpoint or subscribe to webhook notifications.
Poll the transfer endpoint
CallGET /v1/credit/transfers/{id} to check the current transfer status.
Response
outstanding amount includes the original draw plus any accrued fees. The
dueDate indicates when repayment is expected.
Subscribe to webhook notifications
For real-time updates, subscribe to webhook notifications through the Circle Mint webhook management UI:creditTransfers: Receive notifications whenever a transfer changes status, such as the transition fromrequestedtodisbursed.creditFees: Receive notifications when fees are accrued against your outstanding transfers.creditRepayments: Receive notifications when a repayment is received and allocated against your outstanding balance.
requested -> disbursed -> paid
A transfer can also reach rejected (if the request is declined) or past_due
(if repayment is overdue after the due date).
Step 4: Repay outstanding balances
You can repay Line of Credit draws in two ways:- Crypto repayment: Deduct USDC directly from your Circle Mint wallet
balance using the
POST /v1/credit/cryptoRepaymentendpoint. - Wire repayment: Send a wire transfer to Circle using the instructions from
GET /v1/credit/wireInstructions. Include thetrackingRefvalue on your wire so Circle can match the payment to your credit line. For details on retrieving wire instructions, see the Settlement Advance quickstart.
POST /v1/credit/cryptoRepayment with the amount you want to apply toward your
outstanding balance.
Response
The requested repayment amount is capped at your total outstanding balance. If
you specify an amount greater than what you owe, the API applies only the
outstanding balance. Crypto repayment is available exclusively for Line of
Credit products.
Step 5: Verify repayment status
After initiating a repayment, verify that it completes successfully. You can poll the repayments endpoint or subscribe to webhook notifications.Poll the repayments endpoint
CallGET /v1/credit/repayments to list all repayments and check their status.
Response
transferId field links the repayment to the original draw. The
amountApplied reflects the portion of the payment allocated to that transfer’s
outstanding balance.
Subscribe to webhook notifications
For real-time repayment tracking, subscribe tocreditRepayments webhook
notifications through the Circle Mint webhook management UI. You receive
notifications when a repayment is received and allocated against your
outstanding transfers.