The Helm API.
Pay-ins, payouts, balances and bank-format statements, straight from your own systems. One REST API on the same accounts, rails and controls your team uses in Helm.
https://api.helm.business/v1The Helm API lets your systems do what your team does in the Helm dashboard: read balances and account details, add beneficiaries, send payouts, follow pay-ins, download statements and receive signed webhooks. Every request runs through the same checks as the dashboard (account status, limits and controls on your account, spendable balance).
Keys and environments
Create keys under Settings > Developers (owners and administrators, with your authenticator code).
| Key starts with | Environment | Money |
|---|---|---|
helm_test_ |
Sandbox | Never real. Safe to test anything. |
helm_live_ |
Production | Real payments from your Helm accounts. |
Send the key on every request:
Authorization: Bearer helm_live_3f9a1c7e_...
- A key is shown once, when it is created. Helm stores only a fingerprint of it.
- You can limit a key to IP addresses or ranges (IPv4 or IPv6, e.g.
203.0.113.10,198.51.100.0/24). Requests from anywhere else get403. - A key acts for the person who created it. If that person stops being an owner or administrator, the key stops working; create a new one.
- You can bind a key to a client certificate (see Certificate connections below).
- Revoking a key takes effect immediately.
- Limit: 120 requests a minute per key (
429above that).
Every response carries Helm-Request-Id (quote it to support) and Helm-Environment.
Errors
{
"error": {
"type": "payment_refused",
"message": "The balance is not enough for this payment.",
"param": "amount",
"request_id": "req_..."
}
}
| Status | type |
Meaning |
|---|---|---|
| 400 | invalid_request |
The request is malformed; param names the field. |
| 401 | authentication_error |
Missing, wrong or revoked key. |
| 403 | permission_error |
IP not allowed, a certificate-bound key without its certificate, or a sandbox endpoint called with a live key. |
| 404 | not_found |
No such object for your business. |
| 409 | idempotency_conflict |
The Idempotency-Key was used for a different payout. |
| 409 | statement_unavailable |
A camt.053 for the period would not balance, so Helm will not issue it. |
| 422 | payment_refused |
Helm refused the payout (balance, limits, account status, destination). |
| 422 | statement_unavailable |
A bank-format statement is not available for this account or period. |
| 429 | rate_limited |
Too many requests. |
| 503 | unavailable |
Helm could not complete the request. |
A 4xx response to POST /payouts always means no money was sent.
Amounts, dates, lists
- Amounts are decimal strings:
"148500.00". Never send or expect floating-point numbers. - Dates are ISO 8601 in UTC.
- Lists return
{ "object": "list", "data": [...], "has_more": true, "next_cursor": "..." }, newest first. Pass?limit=(1 to 100, default 25) and?cursor=<next_cursor>for the next page.
Endpoints
| Method and path | What it does |
|---|---|
GET /balances |
Available and reserved balance. |
GET /accounts |
Your account details (account number, routing number, bank) to give customers who pay you. |
GET /beneficiaries |
Saved payout destinations. |
POST /beneficiaries |
Add a destination (US bank account or Base wallet). |
GET /beneficiaries/{id} |
One destination. |
POST /payouts |
Send money. Needs an Idempotency-Key header. |
GET /payouts |
Payouts, optional ?status=. |
GET /payouts/{id} |
One payout. |
GET /payins |
Money received, optional ?status=. |
GET /payins/{id} |
One pay-in. |
GET /statements?from=YYYY-MM-DD&to=YYYY-MM-DD |
Statement of pay-ins and payouts (up to 366 days). CSV, or &format=json, camt.053, camt.054. |
GET /events |
Events, optional ?type=. |
GET /events/{id} |
One event. |
GET /webhook_endpoints |
Your webhook endpoints for this environment. |
POST /webhook_endpoints |
Add an endpoint: { "url": "https://...", "events": [] } (empty = all events). Returns the signing secret. |
DELETE /webhook_endpoints/{id} |
Remove an endpoint. |
POST /sandbox/payins |
Sandbox only: simulate money arriving. |
Send a payout
curl https://api.helm.business/v1/payouts \
-H "Authorization: Bearer $HELM_KEY" \
-H "Idempotency-Key: inv-20931" \
-H "Content-Type: application/json" \
-d '{
"beneficiary_id": "0b6c2a2e-1f7a-4d8e-9a0b-1c2d3e4f5a6b",
"amount": "148500.00",
"rail": "wire",
"reference": "INV-20931"
}'
rail is one of ach, ach_same_day, wire (US bank destinations) or base (USDC to a Base wallet).
Response 201:
{
"id": "6f1e...",
"object": "payout",
"status": "submitted",
"amount": "148500.00",
"currency": "USD",
"destination_amount": null,
"destination_currency": "USD",
"rail": "wire",
"beneficiary_id": "0b6c...",
"reference": "INV-20931",
"purpose": null,
"failure_reason": null,
"destination_tx_hash": null,
"created_at": "2026-11-09T21:14:03.120Z",
"completed_at": null
}
Idempotency. Use one key per payment instruction, such as your invoice or payment-run id. Sending the same key again returns the original payout (200) and sends nothing new. Sending the same key with a different beneficiary, amount or rail returns 409. Keys are 1 to 100 characters: letters, digits, -, _, :, ..
Payout statuses: submitted, awaiting_funds, processing, completed, failed, returned, cancelled.
Add a US bank beneficiary
POST /beneficiaries
{
"type": "bank_account",
"name": "Shenzhen Components",
"account_owner_type": "business",
"account_owner_name": "Shenzhen Components Ltd",
"bank_name": "Example Bank",
"routing_number": "026073150",
"account_number": "123456789",
"checking_or_savings": "checking",
"address": { "line1": "1 Main St", "city": "New York", "state": "NY", "postal_code": "10005" }
}
A Base wallet: { "type": "wallet", "name": "Supplier wallet", "wallet_address": "0x..." }.
Webhooks
Helm posts an event to each of your endpoints whenever a payout or pay-in changes status:
POST https://your-endpoint
Content-Type: application/json
Helm-Event-Id: 8a2c...
Helm-Event-Type: payout.completed
Helm-Signature: t=1794258000,v1=5f1d...
{ "id": "8a2c...", "object": "event", "type": "payout.completed", "environment": "production",
"created_at": "...", "data": { "object": { ...the payout... } } }
Check every delivery. Compute HMAC-SHA256 of "<t>.<raw body>" with your endpoint's signing secret, compare it in constant time with v1, and reject anything where t is more than five minutes old.
import crypto from "node:crypto";
function verify(secret, rawBody, header) {
const p = Object.fromEntries(header.split(",").map((x) => x.split("=")));
if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
const expected = crypto.createHmac("sha256", secret).update(`${p.t}.${rawBody}`).digest("hex");
return crypto.timingSafeEqual(Buffer.from(expected, "hex"), Buffer.from(p.v1, "hex"));
}
Reply with any 2xx within 10 seconds. Anything else is retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours, then marked failed (visible under Settings > Developers). Deliveries can arrive more than once or out of order: use Helm-Event-Id to ignore repeats and the object's status as the truth.
Event types: payout.created, payout.submitted, payout.awaiting_funds, payout.processing, payout.completed, payout.failed, payout.returned, payout.cancelled, payin.pending, payin.processing, payin.completed, payin.failed, payin.returned, payin.cancelled.
Sandbox
Test keys use a separate, simulated account:
- The balance starts at 250,000.00 USD. Simulated pay-ins add to it; payouts take from it.
- A payout moves to
processingafter 5 seconds andcompletedafter 30 seconds. - An amount ending in
.13fails. An amount ending in.31is returned by the receiving bank. POST /sandbox/payinswith{ "amount": "125000.00", "payer": "Gulf Retail Group", "rail": "wire" }creates a pay-in that completes after 10 seconds.- Sandbox webhooks go only to endpoints added for the sandbox, signed the same way as production.
Bank-format statements (ISO 20022)
GET /statements also returns the ISO 20022 XML that banks send and ERP systems (SAP, Oracle, Microsoft Dynamics, NetSuite) import:
format= |
Message | Contains |
|---|---|---|
camt.054 |
Debit and credit notification | Every entry in the period, booked and pending. No balances. |
camt.053 |
End-of-day statement | Opening balance, every booked entry, closing balance. |
curl "https://api.helm.business/v1/statements?from=2026-11-01&to=2026-11-30&format=camt.053" \
-H "Authorization: Bearer helm_live_3f9a1c7e_..." -o november.xml
- Version
.001.08, valid against the official ISO 20022 schemas. - Completed payouts and pay-ins are booked (
BOOK) on the date they settled. Money in flight is pending (PDNG, camt.054 only). Failed, cancelled and returned payouts are left out, as they moved nothing. - A pay-in shows the amount credited after Helm's fee, with the amount the payer sent and the fee itemised.
- camt.053 opening and closing balances are real readings from the account provider, never calculated. Helm issues it only when the booked entries between the two readings add up exactly; otherwise it answers
409 statement_unavailableand camt.054 still has every entry. Its period runs between those two readings, shown inFrToDt. - Bank formats cover balances held in national currencies (USD, EUR, GBP). A balance held in a stablecoin gets
422 statement_unavailable; use CSV or JSON. - In the sandbox both formats work in full, with exact balances from the 250,000.00 USD opening balance.
Certificate connections (mutual TLS)
For the strongest protection, bind a key to a client certificate. The key then works only over a connection that presents that certificate, so a leaked key on its own is useless.
- Generate a private key and a signing request on your own system. The private key never leaves it.
openssl req -new -newkey rsa:2048 -nodes \
-keyout helm-client.key -out helm-client.csr -subj "/CN=your-company-erp"
- In Settings > Developers, choose Certificates on the key, paste the contents of
helm-client.csrand download the certificate Helm issues (helm-client.crt, valid for 395 days). - Send every request with both:
curl https://api.helm.business/v1/balances \
--cert helm-client.crt --key helm-client.key \
-H "Authorization: Bearer helm_live_3f9a1c7e_..."
- Once a key has a certificate it is certificate-only for life. Revoking or letting its certificates expire locks the key; it never goes back to working without one. To add a certificate to a key already in use, create a new key, add its certificate, switch over, then revoke the old key.
- A key can hold two live certificates at once, so you can install a new one before the old one expires.
- Without the certificate a bound key gets
403 permission_error.