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 the validity and status of a bank account number.
Validates that a bank account is open, active, and in good standing before initiating a payment or transaction.
- Before creating a transaction that involves a direct bank deposit
- To confirm the account details provided by a sender or beneficiary
- To reduce payment returns caused by invalid or closed accounts
- Validates the routing number structure (ABA checksum)
- Verifies the account against the bank verification provider
- Returns the verification result with risk assessment and bank details
Requires either x-api-key header OR x-client-id + x-secret-key headers.
- The routing number must pass ABA checksum validation before the account is verified.
- Account types accepted:
C(Checking),S(Savings). - The response includes a risk level (LOW, MEDIUM, HIGH) to help determine next steps.
400Missing required fields or invalid routing number401Invalid API key500Verification service temporarily unavailable
The bank account number to verify.
Error codes: required=400001, type=400002, minLength=400003, maxLength=400004
The 9-digit ABA routing number of the financial institution.
Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, pattern=400009
- Verify a savings account
- Verify a checking account
curl -i -X POST \
https://sandbox-viablocks.viamericas.io/service/account/verify \
-H 'Content-Type: application/json' \
-H 'x-api-key: string' \
-H 'x-client-id: string' \
-H 'x-secret-key: string' \
-d '{
"accountNumber": "987654321",
"routingNumber": 96016930,
"accountType": "S"
}'{ "status": "success", "message": "Account number verified successfully", "data": { "verificationValue": "Pass", "verificationRisk": "LOW", "verificationDescription": "The suggested action is to accept the bank account and/or customer data for this inquiry.", "bankName": "US BANK NA" } }