Stridge API Reference

The Stridge API lets your server receive money on any supported chain, hold it, and pay it out. It is a REST API over HTTPS, and it speaks JSON.

With it you can:

  • create deposit addresses that accept funds on any supported chain and settle them where you choose;
  • follow the deposits, settlements and routings that come after;
  • hold money in vaults and send it on with payouts;
  • hear about all of it through webhook events and the Events API.

Your first request

Send every request to one base URL:

Base URL
https://api.stridge.com/v2

Authenticate with a secret key in the Authorization header. The key also decides whether the request acts in live or in your sandbox:

GET /v2/payouts
curl "https://api.stridge.com/v2/payouts" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

Keys, environments and permissions

Three things decide what a request does: the base URL, the key, and the permissions that key holds.

The parts of a request that decide where it goes and what it may do
GET https://api.stridge.com/v2/payouts
Authorization: Bearer sk_sbx_…
Base URL
Live and sandbox share one base URL. The path carries the API's major version, /v2. Versioning
The key
The key picks the environment. A sandbox key (sk_sbx_…) acts in your sandbox, and a live key (sk_live_…) acts in live. Nothing else in the request selects it. Environments
The key's permissions
You choose a secret key's permissions when you create it in the Stridge dashboard. Every operation needs one, such as payout.create. A key without it gets 403 permission_denied. Permissions

A few operations work with live keys only. Managing webhook endpoints is one of them. Authentication covers secret and publishable keys, and what happens when a key is refused.

Resources

Operations are grouped by what your integration does with them. Each operation page lists its parameters, its request body and every response it can return. It has samples in cURL, JavaScript, Python and Go, and a Try it console that sends the request from your browser with your key. Try it uses the sandbox by default.

How the API behaves

These pages cover the rules every operation shares. Read them once and the rest of the reference is predictable.

How the Stridge API behaves, and the page that covers each topic
TopicWhat to know
Authentication

Secret and publishable keys, sent as Authorization: Bearer. What each key may do, and what you get back when a key is refused.

Environments

Live and sandbox share one base URL, and the key decides which one a request acts in. Every object carries livemode, so you can tell where it came from. A few operations work with one environment's keys only.

Permissions

A key holds the permissions you gave it when you created it. Each operation names the permission it needs.

Requests and objects

Every resource comes back as itself, with its id, an object that names its type, and livemode.

Lists and search

A list returns { object: "list", data, has_more, url }. Page through it with limit, starting_after and ending_before.

To match part of a value, or one value or another, use search. It returns { object: "search_result", data, has_more, next_page, url }.

Idempotency

Every POST takes an Idempotency-Key. Retry after a dropped connection, and the request still runs only once.

Errors

Every failure returns { error: { type, code, message, param, doc_url, request_log_url } }. Branch on code. The page lists every error code, what causes it and what to do.

Rate limits

The secret keys of an environment share one rate budget. Responses counted against it carry RateLimit-* headers. Go over it and the API returns 429 with a Retry-After header.

Webhooks

Event types, how delivery and retries work, and how to recover missed events. Events carry Standard Webhooks (opens in a new tab) signatures and are retried on a published schedule. The Events API keeps the last 30 days of events.

Sandbox

Simulated chains, test helpers that drive deposits and payouts, resets, and the sandbox explorer.

Legacy v1

The earlier API at /v1, with its X-API-Key header and its response envelope, for integrations that still call it.