How to handle refunds after a card sale settles as USDC
A settled card sale stays in your wallet. Here is how to resolve a legitimate refund, keep the original payment traceable and tell the customer what actually happened.
To handle a refund after a card sale settles as USDC, locate the original order, decide what is owed under your terms and applicable rules, confirm a suitable repayment route, and record the completed repayment separately. A refund does not rewrite the original incoming sale. In card checkout that pays to your own wallet, that distinction matters because the sale proceeds are already under your control.
Why refunds need a workflow of their own
A customer says they paid twice. Another says they paid once, but the promised credits never arrived. A third request is an ordinary cancellation under your store terms. These look alike in a shared inbox and point to three different actions. Match the request to the evidence before proposing a repayment or changing product access.
Railbed's developer documentation distinguishes a refund you arrange from a card dispute handled by the provider that charged the card. Railbed never holds funds. Card sales settle to a wallet you control, almost always as USDC on Polygon, and settled sales can't be pulled back from your wallet. That is not a promise that disputes cannot occur, a waiver of refund obligations, or a reason to force a particular repayment method on a card buyer.
Before you start: name the people and records you need
- Give support an authorized way to find the customer order, accepted offer, receipt and delivery history. Decide who may see which information. A support queue should not need access to wallet credentials.
- Assign a person to confirm the decision under your terms and a person to release funds. Use separate approvals where your operating rules call for them. Confirm which repayment methods are suitable under your agreements and applicable legal requirements before you collect the first payment.
- Establish one place to log previous or pending repayments. Keep that record available even when an issue starts in a different channel, such as a customer email, a provider notice or a note from a finance assistant.
The non-obvious problem is that a buyer's card amount, your net USDC receipt and the amount you owe back are different questions. Do not calculate a refund from the amount that arrived in your wallet unless your actual obligation supports it. Equally, do not assume a buyer is entitled to a certain currency, asset or method just because your internal system can send it. Establish the basis before discussing a specific outcome with the customer.
1. Classify the request before opening a refund case
- Find the exact order. Use the authorized buyer account and original order reference. Compare the selected product, amount, currency and dates. Two transactions from the same email might be separate purchases. Two receipts for the same purchase might be two copies of one record.
- Confirm the money state. Check the payment in the authoritative record. The browser's return page and a screenshot sent by a buyer are not proof of settlement. Use the guide to verifying payments before delivery for the distinction between payment evidence and app events.
- Read the fulfillment history. Check whether the product was delivered, to which account, and what the customer used. Do not confuse an entitlement problem with a decline. If the customer bought for a workspace, the person who paid and the person using the product may differ.
- Look for a previous resolution. Inspect pending refunds, adjustments, completed repayments and any known dispute before starting another outgoing transaction. If the evidence conflicts, preserve it and route the case to the responsible person rather than sending a second repayment as a shortcut.
Expected result: you can explain whether the case is about an unconfirmed attempt, delivery, a refund decision, a provider dispute or an already recorded resolution. You have the original identifiers without asking the buyer to message full card details or credentials.
| What the buyer reports | What to verify | What not to assume |
|---|---|---|
| “I see two charges” | Original orders and distinct confirmed payments, if present | Multiple messages or authorizations are two completed purchases |
| “I paid but got nothing” | Verified payment and the delivery or entitlement state | A missing email means no sale occurred |
| “Please cancel my purchase” | Terms at sale, purchase status and applicable obligations | Every cancellation calls for the same repayment calculation |
| “My bank is investigating” | Provider case and any pending merchant action | A separate repayment resolves the provider case automatically |
| “Use this new destination” | Buyer's identity through your normal process, authorization and the approved repayment route | A new instruction received in chat is proof of control or consent |
Worked example: a duplicate receipt and a duplicate payment
A fictional AI video editor sends the same receipt twice after retrying an email job. The customer's inbox contains two confirmations with the same order reference. Support opens the original order and sees one verified payment and one entitlement. It can clarify what its records show and help the customer investigate any separate transaction they can identify safely. It should not send a repayment based solely on receipt count.
Now change the example: the buyer placed two orders when the first seemed stuck and the records show two different verified payments. Each purchased the same pack for the same workspace. That still leaves a decision. Check the accepted terms, actual circumstances, credit use, and whether any other resolution is in progress. If you owe a repayment for one order, bind the decision to that order and keep the other intact. The customer should be able to tell which purchase remains valid and why.
2. Decide the obligation and confirm the repayment route
- Identify the controlling terms. Use the terms for the purchased offer and date, not whatever appears on the storefront today. Confirm any legal or contractual limits on what you can do, including restrictions on changing the repayment method. An internal policy alone doesn't settle that question.
- Calculate the agreed amount in the order currency. For a partial repayment, record the item, share or other basis. Keep the exact transaction currency visible. Document any tax treatment with the responsible finance owner rather than assuming the number is interchangeable with net settlement.
- Confirm how the buyer will receive it. Use an authorized method allowed for the case. A card buyer may not have a wallet. If a wallet repayment is appropriate and agreed, check the asset, network and authorized destination through your established process. Never infer the buyer's address from the incoming settlement transaction.
- Give the buyer a precise status. State what has been approved, what method was agreed and what remains before completion. A decision in your support system is not proof that money was sent. If a provider is handling a dispute, follow the applicable process and avoid contradictory assurances.
Expected result: the person releasing money has a named case, verified source order, amount, authorized route and decision. If any required piece is missing, the case stays open. An assistant can assemble that summary as a proposal for your team to approve, not authorize the repayment itself.
Worked example: order amount and wallet receipt do not match
Imagine a hypothetical invoice for USD 100. The merchant ledger shows the resulting proceeds separately in USDC and the payment record reports settlement information. Later the merchant determines that a USD 25 partial refund is owed for an undelivered part of the invoice. The case starts with USD 25 owed, not one quarter of the USDC received. Your rule for deciding the obligation and your method for delivering repayment belong on different lines.
If the buyer and applicable rules allow a different asset or route, document how you determined the actual amount sent, which time and rate you used if conversion was involved, and how any fees were treated. If you cannot deliver the owed repayment by the proposed route, escalate before sending anything. A sound reconciliation trail should allow a reviewer to recreate the calculation without inferring the obligation from an on-chain transfer.
There is a separate timing issue for finance. The original sale, the refund approval and the outgoing repayment can happen on different dates. An exchange withdrawal, if you need one, introduces another event. Keep those dates rather than backdating a record to make a month's balance match. Have finance apply the accounting treatment appropriate to the business and its jurisdiction.
3. Release the repayment once and confirm it independently
- Require an approved case. The outgoing action should refer to the specific refund decision, not a free-text instruction pasted into a chat. Confirm who is allowed to approve and execute transfers. Don't give a coding agent or support assistant wallet signing authority to make a support queue faster.
- Check the existing execution state. If another operator started a transfer, inspect the existing reference before retrying. A timeout in an app is not evidence that no money moved. Have the operator who owns the chosen route confirm what happened before creating another payment.
- Record the outcome. Save the approved amount and currency, amount and asset actually sent where applicable, method, date, reference and person responsible. Keep buyer-facing confirmations free of secrets and details that do not belong in the channel. Link the outgoing record to the original charge without replacing either.
- Update product access according to the decision. Adjust a license, coverage period or balance only when appropriate. Preserve prior use and corrections as history rather than deleting the original entitlement. If you cannot recall a downloaded file or unspend compute, don't tell the customer that revoking access did either.
Expected result: the refund can be audited as one completed action, customers receive a truthful confirmation, and a repeat message does not send more funds. Leave payment and fulfillment history intact so the finance team can reconcile a settled payment and a later repayment in different reporting periods.
Handle common exceptions in the original case
A buyer asks for a refund before the payment is confirmed
Open the payment record before committing to send money. Explain that the status is unresolved if that's all you can see. Tell the buyer how you will follow up and which original order you are investigating. If the payment eventually confirms, apply the approved cancellation or refund process. If it never confirms, resolve the file based on the evidence instead of creating an outgoing transfer to settle an apparent charge.
The buyer reports an active card dispute
Find the associated case through an authorized channel and confirm which organization is handling it. The provider that charged the card handles the card dispute in the Railbed flow. A separate repayment can complicate a case if you don't coordinate it. Do not use the absence of a debit from your wallet to conclude that the dispute did not occur. Keep support and finance records aligned on what is known.
Someone changes the requested payout instructions mid-case
Pause execution and confirm the amendment through your independent process. Do not treat an email reply, a chat instruction or an assistant's summary as sufficient authorization to switch recipients. Preserve the original request and explain to the verified buyer which confirmation is needed. For wallet routes, confirming the network and asset matters as much as checking the address string. Sending to the wrong destination is not the same as sending to the correct person and waiting for delivery.
A team has already spent some credits
Find the original grant, the remaining usable units and any usage included in the case. Do not make a universal rule from an example; the accepted terms and applicable obligations decide whether partial use affects the amount. A technical balance tells you how much was used, not necessarily what is owed. Record any authorized adjustment explicitly so support can explain why the customer sees a different balance after the case closes.
Rehearse the decision before launch
Run a tabletop exercise with a normal refund, a duplicate-payment report and an ambiguous transfer outcome. Use fictional orders and simulated evidence. Ask support to distinguish the records, finance to calculate only what has been authorized, and the signer to explain how they'd confirm an already-started transfer. The test passes when someone who wasn't in the build can explain the next action without asking for a private wallet key or telling the buyer to pay again.
Railbed maintains checkouts.md, the open format for documenting how agent-built projects collect and confirm payments. Use the CHECKOUTS.md documentation guide to point to your approved refund process, role boundaries and latest rehearsal evidence. Keep sensitive buyer details and private credentials in the systems assigned to hold them. A repository guide describes the workflow; it doesn't grant an agent permission to send money.
Railbed card checkout fits merchants who want settlement to a wallet they control and can run a separate refund process. If your business needs refunds delivered by a particular route, confirm you can meet that requirement before launch. For AI tools that sell prepaid credits, checking the connection between payment, usage, and support before you start is easier than reconstructing it after a dispute.
FAQ
Can a merchant refund a card sale after it settles as USDC?
Yes, through an appropriate merchant-arranged repayment. Establish what is owed and use a permitted route, then record the outgoing payment separately.
Can Railbed reverse a settled sale from my wallet?
No. Settled sales can't be pulled back from your wallet. A refund you arrange is a separate action, and a card dispute is handled by the provider that charged the card.
Should I calculate a refund from the USDC I received?
Not by default. Start with the obligation in the original order currency, then record any agreed repayment in a different asset separately.
Does a card buyer need a wallet to receive a refund?
Not as a universal requirement. Confirm a suitable repayment route under the buyer's agreement and applicable rules; don't assume a card buyer uses a wallet.
Should I refund an order that still shows pending?
First establish what happened to the original payment. An unresolved state is not proof that money was received or that a repayment is appropriate.
Can an AI assistant approve and send the refund?
Keep approval and execution with authorized people or your established controls. An assistant can organize the evidence and prepare a proposal for your team to approve.
What should a refund record contain?
Keep the original order reference, decision, amount and currency owed, authorized method, actual repayment details and completion evidence. Keep entitlement adjustments separately traceable.
One last thing: ask what proves the money went out
Before closing a case, have another authorized teammate explain the difference between the decision and the transfer evidence. A note that says “approved” proves a decision. A draft message proves even less. If you can trace the single outgoing payment to the exact original order, a later support request won't force the team to guess whether money was sent.