Storspay Docs
Support

September v1 API (deprecated)

The first payouts API: still supported, never broken, marked deprecated.

Deprecated, still supported. Responses carry the header Deprecation: true. There is no end date. For new work use the new routes.

Routes

#RouteRequest / responseNew routes equivalent
1POST /recipients{ name, email, country (ISO-2), currency, bankAccount { bankCode, accountNumber } | mobileMoney { provider, phone } } → 201 { recipientId, status: verified | pending }POST /v1/beneficiaries
2GET /recipients?limit=50&cursor → { data, hasMore, nextCursor }GET /v1/beneficiaries
3GET /recipients/:id404 recipient_not_foundGET /v1/beneficiaries/{id}
4POST /payouts{ recipientId, amountUsd, reference, callbackUrl?, escrow? } → 201 { payoutId, status, amountUsd, fee, exchangeRate, localAmount, currency, estimatedDelivery, holdExpiresAt? }POST /v1/payouts with quoteId and clientRef; escrow for sellers with POST /v1/transfers
5GET /payouts/:idthe payoutGET /v1/payouts/{id}
6GET /payoutsfilters status, from, to, recipientId → { data, hasMore, nextCursor, totals { amountUsd, fees } }GET /v1/payouts
7POST /payouts/:id/releaseonly when held, else 409 not_held + currentStatusPOST /v1/transfers/{id}/release
8POST /payouts/:id/cancelonly when held; refunds amount and fee; status refundedPOST /v1/transfers/{id}/cancel; POST /v1/payouts/{id}/cancel before sending
9GET /balance{ available, pending, currency }GET /v1/balances
10GET /earnings{ totalEarnings, pendingPayout, lastPayoutAt }GET /v1/platform-fees/earnings
11GET /corridorscode, country, currency, rate, fee % after discount, limits { min, max }, channelsGET /v1/payouts/requirements and GET /v1/accounts/me
12GET /rates/:corridor{ corridor, currency, rate, asOf } (indicative)POST /v1/quotes

A 13th route is still to be confirmed and is not listed here.

Statuses

Normal: created (funds reserved) → processing → completed, or failed (amount and fee returned). Escrow: held (holdExpiresAt = 14 days) → released → processing → completed, or held → refunded (cancelled_by_platform or escrow_timeout_14d). Escrow without escrow enabled for your account → 403 escrow_not_enabled.

How these map to the new names: Payout statuses.

Webhooks

Sent to the endpoint we set for you, or to a per-payout callbackUrl. Events: payout.created, payout.processing, payout.completed, payout.failed, payout.refunded, payout.held, payout.released. Payload: event, payoutId, reference, status, amountUsd, localAmount, currency, recipient { recipientId, name }, timestamp. Header Storspay-Signature: t=<unix>,v1=<hex HMAC-SHA256(secret, t + "." + rawBody)>, the same as the new routes. Retries at 30 s, 2 min and 10 min after a non-2xx answer or a 10 s timeout. See Webhooks.

Errors

See Errors → September v1 API errors.