FX
List FX pairs enabled for the organization
Returns the currency pairs the calling organization can quote on. Backs customer-facing pickers so they only offer corridors the org has configured. The response is cached server-side for ~30s.
get/v1/fx/pairs
Request
- Base URLhttps://sandbox.api.infinite.dev
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
onBehalfOfstring
Example:cus_abc123
Filter the listing to the pairs a specific customer can trade. Some customers have a narrower pair set than the organization; pass the customer that will request quotes so pickers only offer corridors that customer can actually quote on.
Headers
X-API-Keystring
API key
Response
Enabled pairs.
Example response
{
"pairs": [
{
"sourceCurrency": "USDC",
"destinationCurrency": "EUR"
}
]
}Changes
No recorded changes to this operation across all 47 revisions of this API.