Skip to main content
Version: v1

Pay and Save — UI Validations

This page provides a complete reference for validation rules and error messages for the Pay and Save flow in Payment mode. Pay and save allows authenticated wallet users to make a payment and save their payment method to their wallet in a single step.

Use this reference to understand what the widget will display when a user submits invalid input or encounters a form-level error.

Validation Types Covered:

  • Field Level: Triggered per input field on blur or submit.
  • Form Level: Triggered on form submission for cross-field or service-level errors.
Field Level Validations
Field NameValidation RulesError Messages
Name on Account1. This field is required.
2. Must contain only alphabets and special characters.
1. Name on account is required.
2. Name on account is invalid. Please make sure name field includes alphabet and special characters only.
Routing Number1. This field is required.
2. Must be 9 characters long.
3. Must only have numerical values.
1. Routing number is required.
2. Routing number is incomplete.
Account Number1. This field is required.
2. Must only have numerical values.
3. Account number must be between 6 and 17 digits.
1. Account number is required.
2. Account number is incomplete.
Nickname1. Must only contain alphanumeric characters and spaces, and must not exceed 30 characters.
2. Must not contain the account number.
1. Invalid bank account nickname
2. Please make sure that the nickname field doesn't contain a bank account number.
Form Level Validations
Error ScenarioError Message
Invalid Routing NumberPlease enter a valid routing number.
Invalid Account NumberPlease enter a valid account number.
Account and Routing Number MismatchThe account and routing number do not match.
Unsupported BankThis bank is not supported.
Account Not FoundThe bank account could not be found.
Insufficient FundsThere are insufficient funds in the account.
Account ClosedThe bank account has been closed.
Account FrozenThe bank account has been frozen.
Transaction Not AllowedThis transaction is not allowed for this account.

Note: Some validations are also managed by the Wells Fargo API.