Prerequisites
- Contact Rails on Telegram to request API access: https://t.me/Oxbryte
- A Rails API key issued manually
- A backend that can store your order IDs
- A webhook endpoint or polling loop
- At least one supported token and fiat corridor
First integration steps
- Contact
https://t.me/Oxbryteand request an API key. - Wait for manual key issuance.
- Fetch supported currencies with
/v1/currencies. - Fetch payout institutions with
/v1/institutions/{currency_code}. - Fetch a rate with
/v1/rates/{token}/{amount}/{fiat}. - Create an offramp order.
- Register a webhook and watch for settlement updates until payout completes.
Implementation rule
Keep the order lifecycle in your own database. Rails should be the system of record for settlement state, but your app should persist:- the order reference
- the user reference
- the quoted amount
- the selected corridor
- the current state