> For the complete documentation index, see [llms.txt](https://docs.coridor.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coridor.fun/user/withdraw.md).

# Withdraw

Withdraw through SEP-24. You send **USDC on-chain**; Coridor sends **IDR to your bank** via Xendit after the payment is detected.

## Steps

1. In your wallet, choose **Withdraw** for USDC
2. Enter **USDC** amount (minimum **0.5 USDC**)
3. Enter **bank details** (bank name, account number, account holder name)
4. The popup shows the **distribution address**, **memo**, and instructions
5. **Close the popup** — Demo Wallet (or your wallet) prepares the Stellar transaction
6. In the wallet, tap **Approve & Send USDC** (required — balance is debited here)
7. After the anchor receives USDC on-chain, **IDR is paid out** to your bank account

## Important

* Withdraw is **not** a manual bank transfer from you — you send **USDC on Stellar**
* The **memo** must match what the popup shows (the observer uses it to match your payment)
* Track progress in your **wallet’s transaction list**, not only in the popup

## SEP-24 behavior (Demo Wallet)

After you close the interactive popup, Demo Wallet **automatically builds** the Stellar payment (address + memo). That is standard SEP-24 — you still must **Approve** before funds move.

## Timing

After USDC is detected (Horizon observer), Coridor triggers a Xendit payout. Sandbox timing varies; production depends on the destination bank.

## Troubleshooting

| Issue                       | What to do                                                                           |
| --------------------------- | ------------------------------------------------------------------------------------ |
| USDC sent, IDR not received | Wait for observer; verify memo was correct                                           |
| Unexpected USDC deduction   | Normal after Approve in wallet — see [SEP-24 behavior](#sep-24-behavior-demo-wallet) |
| Popup shows “coming soon”   | Hard refresh; ensure latest `coridor-server` is deployed                             |

More: [FAQ](/user/faq.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.coridor.fun/user/withdraw.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
