Payout quickstart

This page takes you from GET /v1/vault to a payout.confirmed webhook: pick a vault, fund it, send a payout to an external address, and track it to confirmation. Follow it with a sandbox key, where the vault is funded by a simulated deposit and no real funds move. With a live key, the vault, payout, and tracking requests work unchanged, but the funding step doesn't: test helpers answer 404 in live, so you fund the vault with a real transfer instead.

Limited availability in live

Every sandbox comes with its own vault, so you can follow this page with a sandbox key straight away. In live, vaults are provisioned in supported regions only and for select clients only: if GET /v1/vault returns an empty list with a live key, your workspace isn't vault-enabled yet — reach out to enable payouts for your region. See Vaults for the custody model and the full notice.

Get an API key

In the Stridge dashboard (opens in a new tab), choose Developer → API Keys → Create API key in your sandbox and give the key the Vaults and Payouts scopes. The secret starts with sk_sbx_. Keep it on your server, and export it for the commands on this page:

export STRIDGE_API_KEY='sk_sbx_...'
Pick a vault

List your vaults and note the id of the one you will send from.

curl 'https://api.stridge.com/v1/vault' \
  -H "X-API-Key: $STRIDGE_API_KEY"
Response
{
  "success": true,
  "message": "success",
  "data": [
    { "livemode": false, "id": "550e8400-e29b-41d4-a716-446655440000", "label": "hot" }
  ]
}
Fund the vault (sandbox)

A new sandbox vault is empty. Fund it with a simulated deposit of 200 USDT on Ethereum. amount is in base units (USDT has 6 decimals), asset names the token by its contract address, and every helper call needs an Idempotency-Key. GET /v1/test_helpers/options lists the networks your vault has an address on and the tokens you can simulate on each.

cURL
curl -X POST 'https://api.stridge.com/v1/test_helpers/vault/deposits' \
  -H "X-API-Key: $STRIDGE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H 'Content-Type: application/json' \
  -d '{
    "vault_id": "550e8400-e29b-41d4-a716-446655440000",
    "network_id": "60",
    "asset": { "token": "0xdAC17F958D2ee523a2206206994597C13D831ec7" },
    "amount": "200000000"
  }'

The helper answers 201 with a simulation before the vault is credited, so don't create the payout straight away. You receive vault.deposit.detected when the deposit lands, and the simulation completes once the vault is credited. Wait for it, then confirm the balance:

cURL
curl 'https://api.stridge.com/v1/test_helpers/simulations/SIMULATION_ID?wait=completed&timeout_ms=30000' \
  -H "X-API-Key: $STRIDGE_API_KEY"

curl 'https://api.stridge.com/v1/vault/550e8400-e29b-41d4-a716-446655440000/balances?network=ethereum&asset=USDT' \
  -H "X-API-Key: $STRIDGE_API_KEY"

Replace SIMULATION_ID with the id from the helper's response. When the simulation's state is completed and the balance shows the 200 USDT, move on. In live, fund the vault with a real transfer to its address instead; see Vaults.

Create the payout

Send 100.50 USDT to an external address. Name the vault, asset, and network, give the payout a reference_id from your own system, and state either a crypto amount (in whole units, not base units) or a usd_amount.

curl -X POST 'https://api.stridge.com/v1/transfer/payout' \
  -H "X-API-Key: $STRIDGE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "vault_id": "550e8400-e29b-41d4-a716-446655440000",
    "asset": "USDT",
    "network_symbol": "ethereum",
    "to_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
    "reference_id": "order-12345",
    "amount": "100.50",
    "remark": "Payment for order #12345"
  }'

It answers 201 with the payout, which starts in queued. Stridge tops up gas if the vault is short, then signs and broadcasts the transaction.

Response
{
  "success": true,
  "message": "Payout created successfully",
  "data": {
    "livemode": false,
    "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "vault_id": "550e8400-e29b-41d4-a716-446655440000",
    "reference_id": "order-12345",
    "remark": "Payment for order #12345",
    "to_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
    "network_symbol": "ethereum",
    "asset": "USDT",
    "amount": "100.50",
    "usd_amount": "100.50",
    "rate": "1.0001",
    "type": "normal",
    "status": "queued",
    "created_at": "2026-10-25T09:52:10Z"
  }
}
Track it to confirmation

Subscribe a webhook endpoint to payout.confirmed and payout.failed for push updates, or read the payout by its id. Once the transaction lands, the record carries status: "confirmed", the on-chain tx_id, and confirmed_at.

curl 'https://api.stridge.com/v1/transfer/payout/7c9e6679-7425-40de-944b-e07fc1f90ae7' \
  -H "X-API-Key: $STRIDGE_API_KEY"

To exercise your failure handling in the sandbox, create the payout through POST /v1/test_helpers/payouts instead: it takes the same body plus an outcome of success, fail, or hold. A held payout waits until you release or fail it with POST /v1/test_helpers/payouts/{payout_id}/release or …/fail. See Test helpers.

Tip

Reuse the same reference_id to make creation safely retryable — a duplicate returns 409 Conflict instead of paying twice. Pick an id you already store, like an order or invoice id.

Common errors

StatusMeaningFix
400Validation error or insufficient balanceCheck the asset/network and that the vault holds enough to cover the amount
404Vault not foundConfirm vault_id from GET /v1/vault
409Duplicate reference_idThe payout already exists — fetch it instead of resending
422Invalid address, or an amount with more decimals than the asset allowsCheck to_address against the network, and round amount to the asset's precision

Next steps

Was this page helpful?