This section provides the Service endpoints required to manage and operate the full lifecycle of resources within the ViaBlocks platform. These endpoints are designed for secure, auditable, and scalable server-to-server integrations, and support core business operations and compliance workflows.
Verifies a bank routing number and optionally verifies an associated account.
Validates a routing number structure (ABA checksum), retrieves bank details and supported payment networks (ACH, Wire, RTP, FedNow). Optionally verifies an account number in the same request.
- Validate a routing number before creating a bank deposit transaction
- Retrieve bank name and payment capabilities for a routing number
- Verify both routing and account in a single call to reduce round trips
- Validates the routing number structure via ABA checksum
- If account fields are provided, verifies the account with the bank verification provider
- Checks the internal database for cached routing data
- If not cached, queries external providers (Lyon/Nabco) for routing details
- Caches the result asynchronously for future lookups
- Returns routing details with optional account verification results
Requires either x-api-key header OR x-client-id + x-secret-key headers.
- The routing number must be exactly 9 digits and pass ABA checksum.
- When
accountNumberis provided,accountTypebecomes required. - Account types accepted:
C(Checking),S(Savings). - The
countryISOparameter accepts ISO 3166-1 alpha-3 codes (e.g., USA, CAN). - Account verification results are included under the
accountVerificationkey when requested.
400Invalid routing number checksum or missing required fields401Invalid API key404Routing number not found in any provider500External service unavailable
The 9-digit ABA routing number to verify.
Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, pattern=400009
ISO 3166-1 alpha-3 country code (e.g., USA, CAN).
Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, pattern=400009
Bank account number to verify alongside the routing number. When provided, accountType is required.
Error codes: type=400002, minLength=400003, maxLength=400004
- Routing verification only
- Routing + Account verification (Checking)
- Routing + Account verification (Savings)
curl -i -X POST \
https://sandbox-viablocks.viamericas.io/service/routing/verify \
-H 'Content-Type: application/json' \
-H 'x-api-key: string' \
-H 'x-client-id: string' \
-H 'x-secret-key: string' \
-d '{
"routingNumber": "021000021",
"countryISO": "USA"
}'- Routing verified (no account)
- Routing + Account verified
{ "status": "success", "message": "Routing number verified successfully", "data": { "routingNumber": "021000021", "bank": "JPMORGAN CHASE", "rtp": true, "fednow": true, "aba": true, "wire": true, "ach": true, "active": true } }