Accept One-Time USDC Payments with Hosted Checkout Links
Learn to accept one-time USDC payments from self-custody wallets using a hosted checkout link and reconcile each stablecoin payment to customer accounts.

A growing number of SaaS, digital product and B2B platforms want to let users pay in USDC from their own wallets. One-time payments are a common first step: a user pays a single invoice or settles a balance. This guide covers how to accept a one-time USDC payment through a hosted checkout link, and how to reconcile the payment to a customer account.
Why Hosted Checkout for One-Time USDC Payments?
Hosted checkout links let you accept payment from any self-custody wallet. No need to build your own onchain payment UI. You generate a link, share it with the customer, and they complete payment on a secure page. The customer signs and sends a transaction directly from their wallet. The funds settle to your specified address. You receive a webhook or API callback when the payment is confirmed.
Hosted checkout works anywhere you can share a link: email, chat, support ticket, or a customer portal. It is non-custodial: the payment never passes through an intermediary wallet, and you never request a private key or seed phrase.
Overview: The End-to-End Flow
- Generate a hosted checkout link for a specific payment amount and customer.
- Present the link to the customer.
- The customer pays from their self-custody wallet.
- The payment settles onchain to your address.
- You receive a webhook or poll an API to confirm payment.
- Reconcile the payment to the customer account in your system.
Step 1: Generating a Hosted Checkout Link
Most platforms (including Reclack) let you create a checkout link with an API call or from a dashboard. You specify:
- The amount in USDC
- The chain (Arc, Base, Ethereum, Polygon)
- A reference (such as an internal customer ID or invoice number)
- The destination address for settlement
- (Optional) Metadata you need for reconciliation
Example: Create a Hosted Checkout Link via API
Suppose you want to request a $120 USDC one-time payment from a customer for invoice #INV-3921. The settlement address is your company’s Polygon address: 0xMerchantPolygonAddr. The internal customer ID is cus_8129.
Here is a sample API call:
POST /api/checkout-links
Content-Type: application/json
Authorization: Bearer <your_api_key>
{
"amount": "120.00",
"currency": "USDC",
"chain": "polygon",
"settlement_address": "0xMerchantPolygonAddr",
"reference": "INV-3921",
"metadata": { "customer_id": "cus_8129" }
}
The response includes a unique checkout URL:
{
"checkout_url": "https://checkout.reclack.com/pay/6d44be..."
}
Step 2: Deliver the Checkout Link to the Customer
Send the checkout_url to the customer. You can email it, include it in a support ticket, or embed it in your app. The customer opens the link in their browser.
Step 3: Onchain Payment from Self-Custody Wallet
On the hosted checkout page:
- The customer connects their wallet (e.g., MetaMask, Rabby, Coinbase Wallet).
- The payment details are shown: amount, asset, destination, and any invoice reference.
- The customer reviews and signs a transaction to send exactly 120 USDC to your settlement address.
No approval or recurring allowance is requested. Only a one-time transfer is signed. The customer pays any required gas for the transaction.
If the customer closes the page or rejects the transaction, the payment is not sent. If the transaction fails onchain (insufficient balance, user cancels, or gas error), the page will show the failure, and no webhook is sent to you.
Step 4: Payment Settlement and Finality
Once the USDC transfer is confirmed onchain, the funds are in your wallet. On Polygon, this usually takes seconds. On Ethereum, allow for higher confirmation times. The transaction hash is now the source of truth: the payment is settled, and cannot be reversed.
Step 5: Receiving the Payment Confirmation
Your system needs to know when payment completes. There are two common ways:
- Webhook: You receive a POST to your configured endpoint with payment details, including the reference, metadata, chain, amount, transaction hash, and settlement address.
- API Polling: You periodically check the status of the payment link or associated invoice.
Sample Webhook Payload
{
"event": "payment_confirmed",
"amount": "120.00",
"currency": "USDC",
"chain": "polygon",
"settlement_address": "0xMerchantPolygonAddr",
"reference": "INV-3921",
"metadata": { "customer_id": "cus_8129" },
"transaction_hash": "0xabc123...",
"confirmed_at": "2024-06-02T19:22:41Z"
}
Step 6: Reconciling the Payment to a Customer Account
You now have all the data needed to match the onchain payment to the customer in your system. Use the reference or metadata fields to look up the customer ID or invoice. Mark the invoice as paid, update the customer balance, and store the transaction hash for your records.
Example Reconciliation Logic (Pseudocode)
# Pseudocode for reconciling a webhook event
def on_payment_confirmed(event):
invoice = find_invoice_by_reference(event['reference'])
if not invoice:
raise Exception('Invoice not found')
if invoice.status == 'paid':
return # Already settled
invoice.status = 'paid'
invoice.paid_at = event['confirmed_at']
invoice.tx_hash = event['transaction_hash']
update_customer_balance(invoice.customer_id, event['amount'])
log_payment_event(invoice.id, event)
Handling Failed or Partial Payments
If the user sends less than the requested amount, or sends USDC to the wrong address, the hosted checkout will not confirm the payment. Only exact matches to the generated payment request count as settled. If you want to accept partial payments, you must build explicit logic for that case, but for most SaaS or digital products, exact payment is the norm.
What If a Customer Pays Twice?
If the customer re-uses the link after payment, the hosted checkout will either show the payment as already complete, or generate a new request. Your reconciliation logic should check for duplicate payments (matching invoice and amount) and avoid double-crediting. Store each transaction hash alongside your internal invoice or customer record.
Worked Example: End-to-End One-Time USDC Payment
- You generate a link for invoice #INV-3921, amount 120 USDC, on Polygon.
- The customer receives the link and pays from their MetaMask wallet.
- Funds settle to
0xMerchantPolygonAddr. - You receive a webhook with the transaction hash, invoice reference, and customer ID.
- Your system marks invoice #INV-3921 as paid, records the hash, and updates the customer balance.
- The transaction is final and cannot be reversed.
Security: No Custody, No Unlimited Approvals
The entire process is non-custodial. Reclack never holds funds or asks for a seed phrase. The customer signs a single transfer of the exact USDC amount. You set the destination address. Every transaction is final once confirmed onchain. There is no way for a third party to reverse or intercept payment.
Supporting Multiple Chains and USDC Assets
You can issue hosted checkout links for Arc, Base, Ethereum, or Polygon. Always specify the correct chain and settlement address for each payment. The customer will need to have the required USDC and enough native gas token (ETH or MATIC) to cover transaction fees on the selected chain.
Summary and Next Steps
You can accept one-time USDC payments from self-custody wallets using a hosted checkout link. You get a webhook or API callback with all the data needed to reconcile each payment to a customer account. Settlement is non-custodial and final. To see how this works with Reclack, or to try it with your own integration, visit our site.


