Legacy v1

This is the legacy API

/v1 is deprecated, and /v2 succeeds it. Build anything new on /v2. This section documents /v1 for integrations that still call it.

https://api.stridge.com/v1 is the earlier version of the Stridge API. It keeps working, unchanged, alongside /v2. When you are ready to move, Moving to /v2 walks you through it.

Deprecation headers

Every response from the operations documented here, errors included, carries two headers that point you to /v2:

Deprecation headers on a /v1 response
Deprecation: @1793491200
Link: </v2>; rel="successor-version"
The deprecation headers on a /v1 response
HeaderWhat it says
Deprecation

@1793491200 is when /v1 was deprecated: 1 November 2026 at 00:00 UTC.

Link

</v2>; rel="successor-version" names /v2 as the version that replaces it.

A few gateway operations that this reference does not document return no deprecation headers. Among them are the on-ramp catalog and quote reads, the ERC-20 rate and the on-chain balance.

Resources

The /v1 operations documented here, grouped by resource:

How /v1 differs

The two versions differ in how you authenticate, how responses are shaped, and how lists are paged:

How /v1 differs from /v2
Property/v1/v2
Credential/v1
The key in X-API-Key; gateway endpoints take X-Gateway-Key
/v2
The key in Authorization: Bearer
Permissions/v1
Scopes such as uda, deposit and payout
/v2
Named permissions such as payout.create
Success/v1
{ success, message, data }, lists add pagination
/v2
The object itself; lists are { object: "list", data, has_more, url }
Failure/v1
{ success: false, code, error, details }
/v2
{ error: { type, code, message, param, doc_url, request_log_url } }
Lists/v1
limit and offset, or page and limit
/v2
limit with an object id in starting_after or ending_before
Webhook events/v1
The full object in the event body, signed with a hex HMAC
/v2
A thin event that names the object, signed with Standard Webhooks

A /v1 key and a /v2 key are different keys. /v2 returns 401 api_key_not_accepted for:

  • a key created with only /v1 scopes;
  • any key sent in X-API-Key.

Create a /v2 key in the dashboard when you move.

Authentication

Send the key, unchanged, in the X-API-Key header. The key decides the environment: sk_live_… keys act in live, and sk_sbx_… keys act in the sandbox. A key with no prefix acts in live.

A /v1 request
curl "https://api.stridge.com/v1/uda" \
  -H "X-API-Key: $STRIDGE_API_KEY"

Gateway keys

The gateway operations, which the Gateway Kit, its SDK and the on-ramp call, take a gateway key in X-Gateway-Key instead. They work with live keys only. A call with a sandbox key returns 403.

Errors

A failure returns its HTTP status and an error envelope. code repeats the status:

A /v1 failure
{
  "success": false,
  "code": 409,
  "error": "payout not held",
  "details": { "state": "confirmed" }
}

Branch on the HTTP status. Where the status alone is not enough, match the exact error string. details appears only when you need more information to act on the error.

Pagination

/v1 lists use two paging styles, depending on the resource:

How /v1 lists are paged
ListsQueryPaging
Deposit addresses and settlementslimit, offset

limit defaults to 50. A value above 200 is treated as 200. pagination repeats both values and adds count, the number of items on the page.

Payouts, gas stations, routing policies and simulationspage, limit

page starts at 1. limit defaults to 10, with a maximum of 100. A larger value is refused. pagination gives page, limit, total_items, total_pages, has_next and has_prev.

Moving to /v2

/v1 keeps working while you switch, so you can move step by step.

Create a /v2 secret key

Create it in the dashboard with the permissions your integration needs. See Permissions.

Change the header and the base path

Send the key as Authorization: Bearer and change the base path to /v2.

Read the /v2 shapes

Read objects and lists in their /v2 shapes. Page through lists with starting_after, and branch on error.code. See Pagination and Errors.

Send an Idempotency-Key on every POST

It makes a retry safe, and the sandbox test helpers require one. See Idempotency.

Move your webhook endpoint to thin events
  1. Create a new webhook endpoint for thin events, in the dashboard or with a live key.
  2. Verify its Standard Webhooks signatures.
  3. Run it alongside the old endpoint, then delete the old one.

While both run, each event reaches both endpoints with the same webhook-id header, so deduplicate on that header. See Endpoints created before thin events.

Where each operation goes

Find each /v1 operation next to the /v2 operation that does the same job. Where /v2 does it with a filter, a note says what to send.

Each /v1 operation and the /v2 operation that takes over its job
/v1 operationMoves to/v2 operation
UDA
List UDA addressesGET/v1/udaList deposit addressesGET/v2/uda
Create a UDA addressPOST/v1/udaCreate a deposit addressPOST/v2/uda
Get a cross-chain / cross-asset quoteGET/v1/uda/quoteQuote a deposit's routeGET/v2/uda/quote
List UDA-supported assetsGET/v1/uda/supported-assetsList what deposit addresses acceptGET/v2/uda/supported-assets
List settlements for a UDA addressGET/v1/uda/{id}/settlementsList settlementsGET/v2/settlements

Filter with uda_id.

Get a settlementGET/v1/uda/settlements/{id}Read one settlementGET/v2/settlements/{id}
List settlements by referenceGET/v1/uda/settlements/by-referenceList settlementsGET/v2/settlements

Filter with deposit_tx_id, the deposit's transaction hash.

Routing Policies
List routing policiesGET/v1/routing-policiesList routing policiesGET/v2/routing-policies
Get a routing policyGET/v1/routing-policies/{id}Read one routing policyGET/v2/routing-policies/{id}
Payout
List vaultsGET/v1/vaultList vaultsGET/v2/vaults
List vault addressesGET/v1/vault/{vault_id}/addressesList a vault's addressesGET/v2/vaults/{vault_id}/addresses
Get vault address by networkGET/v1/vault/{vault_id}/addresses/{network}List a vault's addressesGET/v2/vaults/{vault_id}/addresses

Filter with network_id.

Get vault balancesGET/v1/vault/{vault_id}/balancesList what a vault holdsGET/v2/vaults/{vault_id}/balances
Get vault total valueGET/v1/vault/{vault_id}/totalRead what the environment is worthGET/v2/balances/total-asset-value

One USD total for everything the environment holds: its vaults, gas stations and deposit addresses together.

List payoutsGET/v1/transfer/payoutList payoutsGET/v2/payouts
Create payoutPOST/v1/transfer/payoutCreate a payoutPOST/v2/payouts
List pending payoutsGET/v1/transfer/payout/pendingList payoutsGET/v2/payouts

Filter with status=queued.

Get payout by idGET/v1/transfer/payout/{id}Read one payoutGET/v2/payouts/{payout_id}
Reject pending payoutPOST/v1/transfer/payout/{id}/rejectReject a payoutPOST/v2/payouts/{payout_id}/reject
Gas Stations
Get gas station details by addressGET/v1/gas-stations/address/{address}List gas stationsGET/v2/gas-stations

Each station carries its address.

Get gas station details by wallet idGET/v1/gas-stations/wallet/{wallet_id}Read one gas stationGET/v2/gas-stations/{id}

The /v1 wallet_id is the station's id.

List gas station walletsGET/v1/gas-stations/walletsList gas stationsGET/v2/gas-stations
Test Helpers
Read what the test helpers acceptGET/v1/test_helpers/optionsRead what the test helpers acceptGET/v2/sandbox/test-helpers/options
Simulate a deposit to a UDAPOST/v1/test_helpers/uda/depositsSimulate a deposit to a deposit addressPOST/v2/sandbox/test-helpers/uda/deposits
Simulate a deposit to a vaultPOST/v1/test_helpers/vault/depositsSimulate a deposit to a vaultPOST/v2/sandbox/test-helpers/vault/deposits
Simulate a payoutPOST/v1/test_helpers/payoutsSimulate a payoutPOST/v2/sandbox/test-helpers/payouts
Release a held payoutPOST/v1/test_helpers/payouts/{payout_id}/releaseRelease a held payoutPOST/v2/sandbox/test-helpers/payouts/{payout_id}/release
Fail a held payoutPOST/v1/test_helpers/payouts/{payout_id}/failFail a held payoutPOST/v2/sandbox/test-helpers/payouts/{payout_id}/fail
List simulationsGET/v1/test_helpers/simulationsList the environment's simulationsGET/v2/sandbox/simulations
Get a simulationGET/v1/test_helpers/simulations/{simulation_id}Read one simulationGET/v2/sandbox/simulations/{simulation_id}