Skip to main content
Version: v2

Add Payment Method — UI Validations

This page provides a complete reference for validation rules and error messages for the Add Payment Method flow in Wallet mode. This covers the experience when a wallet user adds a new bank account or card to their wallet.

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 (e.g., duplicate payment method).
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.
3. Enter a valid routing number.
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. Enter a valid account number.
3. Account number must be between 6 and 17 digits.
Nickname1. Must only contain alphanumeric characters and spaces, and must not exceed 30 characters.
2. Must not contain the account number.
1. Enter a valid bank account nickname.
2. Please make sure that the nickname field doesn't contain a bank account number.
Form Level Validations
Error ScenarioError Message
Duplicate Payment MethodThis payment method already exists in your wallet.
Invalid Account NumberThe account number you entered is invalid. Please check the number and try again.
Invalid Routing NumberThe routing number you entered is invalid. Please check the number and try again.
System ErrorWe're sorry, but we encountered a problem processing your request. Please try again later.

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