Create payout

POST/transfer/payout

Create a payout from the tenant's vault wallet to an external address. Provide either amount (crypto) or usd_amount (converted to crypto at the current rate). Payouts are idempotent by (vault_id, reference_id) — resubmitting a reference_id returns 409 instead of paying twice. Set type to forceful for a single fail-fast attempt — gas is still refilled when needed, but the refill and transfer are each tried once with no retry; the default normal refills and retries until expired_at.

Header parameters

  • Idempotency-Keystringoptional

    Optional. A unique key for this request, such as a UUID. A repeat of the same request with the same key within 24 hours is answered the first response again, refusals included, with Idempotency-Replay: true, and is not carried out twice. Learn more

    Show full description

    Keys are scoped to your workspace and the key's environment, so every API key of that environment shares them. The same key with a different body is answered 409 with Idempotency key reused with different request; a repeat that arrives while the first is still running waits for it, and is answered 408 with Request processing timeout if it does not finish in time.

Request body

Create payout request.

  • vault_idstringrequired

    The vault the funds leave from.

  • assetstringrequired

    Asset symbol to send.

  • network_symbolstringrequired

    Network slug (e.g. ethereum, tron, solana, bitcoin, tempo).

  • to_addressstringrequired

    External destination address.

  • reference_idstringrequired

    Your idempotency key — unique per vault.

  • amountstring

    Crypto amount; provide either amount or usd_amount.

  • usd_amountstring

    USD amount; converted to crypto at the current rate.

  • remarkstring

    Free-form note stored on the payout.

  • typestringenum normal · forcefuldefault "normal"

    Payout strategy. normal (default) refills gas when needed and retries until expired_at.

    Show full description

    forceful still refills when needed but is single-attempt — the refill and the transfer are each tried once, with no retry and no expired_at; it fails immediately if either can't complete.

  • expired_atstring <date-time>

    Cutoff after which a non-confirmed payout expires. Defaults to 1 hour from creation; capped at 12 hours ahead. Ignored for forceful payouts.

Responses

The payout was created.

    • livemodeboolean

      true when the API key that made the request acts in a live environment, false in a sandbox.

      Show full description

      It is on every object a keyed request answers with — the resource itself, each item of a list, and each object inside a list a resource carries — but not on the success/message envelope or on an object nested directly in another (such as destination, fees or pagination), so a payload read on its own still says which side of the boundary it came from. The two public endpoints answer without it. It is derived from the key at the time of the response and is never stored.

    • idstring
    • vault_idstring
    • assetstring
    • network_symbolstring
    • amountstring

      Crypto amount sent.

    • usd_amountstring

      USD value at submit time.

    • ratestring

      Conversion rate applied when usd_amount was used.

    • to_addressstring
    • reference_idstring
    • remarkstring
    • typestringenum normal · forceful

      Payout strategy the payout was created with.

    • statusstringenum queued · processing · confirmed · failed · expired
    • tx_idstring

      On-chain transaction hash; empty until broadcast.

    • errorstring

      Failure reason when status is failed; empty otherwise.

    • created_atstring <date-time>
    • confirmed_atstring <date-time>
    • expired_atstring <date-time>
Request
curl "https://api.stridge.com/v1/transfer/payout" \
  -X POST \
  -H "X-API-Key: $STRIDGE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "vault_id": "550e8400-e29b-41d4-a716-446655440001",
  "asset": "USDT",
  "network_symbol": "ethereum",
  "to_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
  "reference_id": "order-12345",
  "amount": "100.50",
  "remark": "Payment for order #12345",
  "type": "normal",
  "expired_at": "2026-01-01T01:00:00Z"
}'

Set your api key as STRIDGE_API_KEY (sent as X-API-Key).

Response201
"livemode": true,
"id": "550e8400-e29b-41d4-a716-446655440000",
"vault_id": "550e8400-e29b-41d4-a716-446655440001",
"asset": "USDT",
"network_symbol": "ethereum",
"amount": "100.50",
"usd_amount": "100.50",
"rate": "1.0001",
"to_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"reference_id": "order-12345",
"remark": "Payment for order #12345",
"type": "normal",
"status": "confirmed",
"tx_id": "0xabc123def456789",
"error": "",
"created_at": "2026-01-01T00:00:00Z",
"confirmed_at": "2026-01-01T00:05:00Z",
"expired_at": "2026-01-01T01:00:00Z"
}
}