# Withdraw to your own account

`POST /v1/orgs/{orgId}/withdrawals`

Moves funds to one of the organization's own accounts. Follows the same approval policy and limits as payments. Requires two-factor authentication.

Requires: organization active; permission withdrawals:create; second factor for browser sessions

## Request body

- `account_id` (string (uuid), required): 
- `external_account_id` (string (uuid), required): One of the organization's own accounts
- `amount` (string, required): 
- `asset` (enum):  One of USDC, SBC.
- `rail` (enum):  One of ach_credit, same_day_ach_credit, wire, fednow_credit, onchain.
- `policy` (enum):  One of cheapest, fastest.
- `memo` (string): 

```json
{
  "account_id": "{{account_id}}",
  "external_account_id": "{{external_account_id}}",
  "amount": "1200.00",
  "policy": "cheapest"
}
```

Events: withdrawal.updated

Errors: not_own_account, insufficient_funds, single_payout_limit, daily_payout_limit, idempotency_key_reused

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/orgs/$ORG_ID/withdrawals" \
  -H "Authorization: Bearer $PAYEZY_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "{{account_id}}",
  "external_account_id": "{{external_account_id}}",
  "amount": "1200.00",
  "policy": "cheapest"
}'
```
