# CheckData

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Represents the data associated with a check transaction.

## Fields
- `nameOnCheck` (string): The name printed on the check. Required: When IsStoredPayment is not true. (nullable)
- `routingNumber` (string): The routing number of the bank. Required: When IsStoredPayment is not true. Conditional: When IsStoredPayment is true. (nullable)
- `routingNumberLast4` (string): The last 4 digits of `routingNumber` as a string, preserving leading zeros, or  `null` when no digits are available. (nullable, read only)
- `accountNumber` (string): The account number associated with the check. Required: When IsStoredPayment is not true. Conditional: When IsStoredPayment is true. (nullable)
- `accountNumberLast4` (string): The last 4 digits of `accountNumber` as a string, preserving leading zeros, or  `null` when no digits are available. (nullable, read only)
- `checkNumber` (string): The check number. (nullable)
- `micr` (string): The Magnetic Ink Character Recognition (MICR) data. (nullable)
- `driversLicense` (string): The driver's license number of the check writer. (nullable)
- `state` (string): The state of issuance for the driver's license. (nullable)
- `ssn` (string): The Social Security Number of the check writer. (nullable)
- `dateOfBirth` (string): The date of birth of the check writer. (nullable)
- `checkType` ([CheckType](https://devportal.demo.winkpg.io/docs/api/models/CheckType.md)): The type of check.
  Values:
  - `Personal`: Represents a personal check. This is typically issued by an individual from their personal account.
  - `Business`: Represents a business check. This is typically issued by a company or organization from their business account.
- `accountType` ([CheckAccountType](https://devportal.demo.winkpg.io/docs/api/models/CheckAccountType.md)): The type of account associated with the check. Conditional: When IsStoredPayment is not true.
  Values:
  - `Checking`: Represents a checking account.
  - `Savings`: Represents a savings account.
- `rawMicr` (string): The raw MICR data. (nullable)
- `branchCity` (string): The city of the bank branch. (nullable)
- `emailAddress` (string): The email address of the check writer. Conditional: When IsStoredPayment is not true. Must be a valid email. (nullable)
- `telephoneNumber` (string): The telephone number of the check writer. Conditional: When IsStoredPayment is not true. Pattern: ^[0-9+()\-\s]*$. (nullable)
- `address` ([Address](https://devportal.demo.winkpg.io/docs/api/models/Address.md)): The address associated with the check.  Optional by default (no nested validation enforced). Conditional: When IsStoredPayment is not true.
  Fields:
  - `id` (string(uuid)): Gets the unique identifier for the address. (read only)
  - `address1` (string): Gets or sets the first line of the address (e.g., street address). (nullable, max length 100)
  - `address2` (string): Gets or sets the second line of the address (e.g., apartment, suite, unit, building, floor, etc.). (nullable, max length 100)
  - `city` (string): Gets or sets the city of the address. (nullable, max length 100)
  - `state` (string): Gets or sets the state or region of the address. (nullable, max length 100)
  - `province` (string): Gets or sets the province of the address (if applicable). (nullable)
  - `zip` (string): Gets or sets the ZIP code of the address. Conditional: Conditional (see validator source). Pattern: ^\d{5}(-\d{4})?$. Conditional: When IsUsCountry(Country) is false. Max length: 20. (nullable)
  - `postalCode` (string): Gets or sets the postal code of the address. (nullable, max length 20)
  - `country` (string): Gets or sets the country of the address. Defaults to "USA". (nullable, max length 100)
  - `isMailing` (boolean): Gets or sets a value indicating whether this address is a mailing address.
  - `isDefault` (boolean): Gets or sets a value indicating whether this address is the default address.
- `secCode` ([SecCode](https://devportal.demo.winkpg.io/docs/api/models/SecCode.md)): The Standard Entry Class (SEC) code for the transaction. (nullable)
  Values:
  - `Ccd`: Corporate Credit or Debit (CCD) - Used for business-to-business transactions.
  - `Ppd`: Prearranged Payment and Deposit (PPD) - Used for consumer transactions.
  - `Web`: Internet-Initiated/Mobile Entry (WEB) - Used for internet or mobile-initiated transactions.
  - `Arc`: Accounts Receivable Conversion (ARC) - Used for converting eligible checks to ACH debits.
  - `Tel`: Telephone-Initiated Entry (TEL) - Used for telephone-initiated transactions.
- `isStoredPayment` (boolean): When `true`, this check data originates from a stored payment method and  client-side field validation is not applicable. The server resolves actual  account data from the payment token. (nullable)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
