Skip to content
Seismic Orchestration

api.eligibleRails

Resolve the rails eligible for an account being created with a given kind and currency. Works without credentials, returning every rail the currency can be settled over. When the client is authenticated and an organization is selected, the list is narrowed to the rails that organization is approved for. Drives an account-create rail picker. Render only the returned rails.

const { , ,  } = await .({
  : "fiat",
  : "INR",
  : "IN",
  : "IN",
});
.(, , );
// ["imps"]  "in_ifsc"  false

Arguments: { kind: "fiat" | "crypto"; currency: string; bankCountry?: string; holderCountry?: string }.

Returns: Promise<{ rails: string[]; fiat_shape: string | null; holder_address_required: boolean }>.

REST endpoint: GET /eligible-rails.