Skip to content

Reference

SDKs Beta

The SDK surface mirrors the REST tree exactly, so a method name is a path and nothing has to be learned twice. Until the packages are published, these shapes are stable enough to write against with `fetch`.

import { Railor } from "@railor/sdk"

const railor = new Railor({ apiKey: process.env.rail_test_your_key_here! })

await railor.corridors.search({ entityCountry: "IN", destinationCountry: "AE" })
await railor.providers.list({ product: "payout" })
await railor.providers.retrieve("ironwood-settlement")
await railor.changes.list({ provider: "meridian-pay", limit: 10 })

One key works across REST, SDKs, CLI and MCP.