billing

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

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

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

Request body

kind'withdrawal' | 'payout' required
network'base'
addressstring required
amount_microstring required

Unsigned base-10 integer as string; never a float.

asset'USDC' | 'USDT'

Example request

{
  "address": "0x1111111111111111111111111111111111111111",
  "amount_micro": "1"
}

Response

Code sent.

sentunknown required
expires_atstring date-time required

Example response

{
  "expires_at": "2026-09-25T12:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.