FX Rates
Live and locked rates for USD ↔ HTG conversion.
Overview
Quotes are guaranteed for 60 seconds. Passing the quote id into /fx/convert executes at the quoted rate.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /v1/rates | Fetch mid-market rates for all supported pairs. |
| POST | /v1/fx/quote | Lock a rate for a specific amount. |
| POST | /v1/fx/convert | Execute a locked quote. |
GET /v1/rates
GET/v1/rates
Fetch mid-market rates for all supported pairs.
POST /v1/fx/quote
POST/v1/fx/quote
Lock a rate for a specific amount.
| Field | Type | Description |
|---|---|---|
fromreq | 'USD' | 'HTG' | Source currency. |
toreq | 'USD' | 'HTG' | Destination currency. |
amountreq | int | Amount in source minor units. |
POST /v1/fx/convert
POST/v1/fx/convert
Execute a locked quote.
