Quick Start
Use this flow to check the development service, discover published routes and request an indicative quote. These requests require no account credentials.
Development verification status
1. Check service health
API_ORIGIN='https://development-api.bridflow.com'
curl --fail-with-body --silent --show-error "$API_ORIGIN/api/v1/health/ping" Expect HTTP 200 when the process is live. A successful response may have an empty body. Use /api/v1/health/ready to check readiness.
2. Discover routes
curl --fail-with-body --silent --show-error --get \
"$API_ORIGIN/api/v1/transfer-previews/routes" \
--data-urlencode 'flow=Direct' Choose an entry from sourceCurrencies and send it as sourceCurrency.
SOURCE_CURRENCY='<value from sourceCurrencies>'
curl --fail-with-body --silent --show-error --get \
"$API_ORIGIN/api/v1/transfer-previews/routes" \
--data-urlencode 'flow=Direct' \
--data-urlencode "sourceCurrency=$SOURCE_CURRENCY" Pick a value from the resulting destinationCurrencies and repeat the request with both parameters.
DESTINATION_CURRENCY='<value from destinationCurrencies>'
curl --fail-with-body --silent --show-error --get \
"$API_ORIGIN/api/v1/transfer-previews/routes" \
--data-urlencode 'flow=Direct' \
--data-urlencode "sourceCurrency=$SOURCE_CURRENCY" \
--data-urlencode "destinationCurrency=$DESTINATION_CURRENCY" Use a key from the returned routes array. API reference
3. Request an indicative quote
Replace the placeholder with the key from the selected route. Use the same flow value as in discovery.
ROUTE_KEY='<key returned by route discovery>'
curl --fail-with-body --silent --show-error --get \
"$API_ORIGIN/api/v1/transfer-previews/quote" \
--data-urlencode 'flow=Direct' \
--data-urlencode "routeKey=$ROUTE_KEY" \
--data-urlencode 'amount=125.00' The example uses the gross source amount and may fall below the route minimum. A response with "estimate": null means the public estimate is unavailable. A successful estimate is indicative and does not authorize or create a transfer.