Open app ↗
Build

TypeScript SDK

Typed read calls and explicit transaction boundaries.

Use the browser-neutral client

Download the small Rello client from the developer hub. It uses standard fetch and contains no private-key storage or signing shortcuts.

import { createRelloClient } from './rello-client.mjs';
const rello = createRelloClient({ origin });
const rails = await rello.rails();
const job = await rello.payFiat({
  rail: 'paypal', amountUsd: 240,
  recipientHint: 'email', maxRunnerFeeBps: 300
});

Handle errors explicitly

Read the error code and HTTP status before deciding whether to retry. Never repeatedly submit a financial action after an uncertain response. Keep signing keys inside the agent’s own secure environment.

Read methods

rails(), stats(), balance(address) and jobStatus(id) correspond to the public API. payFiat(), release() and dispute() respect the server’s transaction gate.

Rello / Documentation · Payment-provider names identify rails and do not imply affiliation.