# Send a payment

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

Sends money to a recipient. The amount plus fee is reserved immediately; payments above the approval threshold wait for approvers. Requires two-factor authentication. Retrying with the same Idempotency-Key returns the original payment.

When to use it: Paying a recipient. Always send an `Idempotency-Key`; retrying with the same key returns the original payment instead of paying twice. Never use this for your own accounts - that is a withdrawal.


Requires: organization active; permission payments:create; second factor for browser sessions; An API key with the scope replaces AAL2.

## Request body

- `account_id` (string (uuid), required): 
- `external_account_id` (string (uuid), required): The recipient's bank account or wallet
- `amount` (string, required): 
- `asset` (enum): Stablecoin to deliver to a wallet (default USDC) 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): 
- `invoice_number` (string): The invoice or bill this payment settles

```json
{
  "account_id": "{{account_id}}",
  "external_account_id": "{{external_account_id}}",
  "amount": "250.00",
  "rail": "ach_credit",
  "memo": "Invoice 1042",
  "invoice_number": "1042"
}
```

Events: payment.updated

Errors: own_account, insufficient_funds, recipient_blocked, recipient_under_review, single_payout_limit, daily_payout_limit, above_ceiling, idempotency_key_reused, org_restricted, invalid_rail

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/orgs/$ORG_ID/payments" \
  -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": "250.00",
  "rail": "ach_credit",
  "memo": "Invoice 1042",
  "invoice_number": "1042"
}'
```
