fixed-routes
Validate if a fixed route can be created
Checks if a fixed route configuration is valid before creating it. Returns validation result with any errors.
post/v1/fixed-routes/validate
Headers
X-API-Keystring
API key
Request body
Example request
{
"sweepTargetAccountId": "ewa_abc123",
"fixedRouteType": "FIAT_TO_CRYPTO",
"sourceRail": "ACH",
"sourceCurrency": "USD",
"destinationRail": "BASE",
"destinationCurrency": "USDC"
}Response
Validation result
Example response
{
"valid": true,
"error": "FIAT_TO_CRYPTO route requires a wallet as sweep target",
"minimumAmount": {
"currency": "USD",
"exponent": 2,
"value": "12345",
"displayValue": "123.45"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.