---
title: "Email a 6-digit code for one withdrawal or payout (session, no 2FA)"
method: POST
path: "/api/v1/withdrawals/code"
tags: ["billing"]
---

# Email a 6-digit code for one withdrawal or payout (session, no 2FA)

`POST /api/v1/withdrawals/code`

## Request

- Base URL: `https://amplerun-api.spiry.org`
- URL: `https://amplerun-api.spiry.org/api/v1/withdrawals/code`
- Auth: HTTP bearer

Bound to kind, network, address, amount and asset; 10 minutes, 5 tries, single use, 5 per hour. 409 for 2FA accounts (use the authenticator).

## Request body

- object
  - `kind` 'withdrawal' | 'payout', required
  - `network` 'base'
  - `address` string, required
  - `amount_micro` string, required: Unsigned base-10 integer as string; never a float.
  - `asset` 'USDC' | 'USDT'

## Response `202`

Code sent.

- object
  - `sent` unknown, required
  - `expires_at` string, date-time, required

## Other responses

- `default`: Error envelope. 401 unauthenticated, 403/404 forbidden, 409 conflict, 422 invalid input, 429 rate limited (code UNAVAILABLE, retryable:true, no Retry-After header), 503 unavailable money/provider state with retryable:true.

---

[API](https://skmtc.dev/amplerun/apis/amplerun-business-api.md) · [All operations](https://skmtc.dev/amplerun/apis/amplerun-business-api/llms.txt) · [OpenAPI document](https://skmtc.dev/amplerun/apis/amplerun-business-api/revisions/40944687fa52?raw)
