customerId to use your org’s primary customer (created at signup).
Required scopes: api:read, api:write
Supported pair: Solana USDC ↔ EURC only (both directions).
When to use swaps
- Same-chain EURC/USDC conversion on Solana
- Treasury FX without operating a custodial hot wallet
- Indicative quotes via
GET /v1/ratesbefore create
Lifecycle
Rates (indicative)
GET /v1/rates and GET /v1/rates/{from}/{to} return live quotes. Optional query params:
Rates are indicative only.
POST /v1/swaps always creates a fresh quote.
Create a swap
Send the
from token to depositAddress before expiresAt. Track with GET /v1/swaps/{swapId} ({swapId} is the RemitFlex swap UUID from POST /swaps; syncs status on read).
List swaps by customer
Track and cancel
Failed / refunded swaps
When a swap reachesfailed or refunded, check errorMessage and status fields. Surface these to your user and include the swap id when contacting Remitflex support.
The same fields appear on swap rows in GET /transactions under receipt.
API reference
Create swap
POST /swapsList swaps
GET /swapsGet swap
GET /swaps/{swapId}Rates
Check FX before creating