The Rayls Custody API lets your platform create and manage wallets, register tokens, and sign and send transactions through Rayls Custody, without handling private keys in your own code.
Every Rayls Custody API endpoint expects a JWT in the Authorization header, as Bearer <token>. To get one, call Authorize with your Rayls Custody API key, then send the token with each call to the Wallet, Token and Transaction endpoints. Keep the API key on your server and never ship it in a browser or mobile app.
A typical flow:
- Authorize with your API key to get a token.
- Create a wallet, and register the tokens you want to hold.
- Check balances, then send transfers or other transactions from the wallet.
- Look up each transaction's receipt to confirm it succeeded.
| Endpoint | What it does |
|---|---|
| Authorize | Authenticates with your Rayls Custody API key |
