> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ECP Subobject

Lists details for an ECP account.

| Data Member | Data Type | Description |
| - | - | - |
| `account` | string | The full bank account number for this payment. Be certain to enter this number in full if you are using the associated payment method for Subscribe Transactions. **Note:** Subscribe does not validate ECP accounts algorithmically, and partially masks the account number when returning it in response to your call. |
| `accountHash` | string | A hash of the full account number. Specify this string only if you are not specifying the full account number when reporting a Transaction for ChargeGuard. |
| `accountLength` | integer | The length (number of digits) of the full account number. Specify this string only if you are not specifying the full account number when reporting a Transaction for ChargeGuard. |
| `accountType` | `AccountType` | The type of bank account that issues this electronic check. The allowed values are `ConsumerChecking`, `ConsumerSavings`, and `CorporateChecking`. **Note:** This field is required. |
| `allowedTransactionType` | `ECPTransactionType` | The enumerated Transaction types allowed for ECP- or ACH-based Transactions that use this `PaymentMethod` object. The allowed values are `All`, `Inbound`, `Outbound`, `InboundOutbound`, `Transfer`, and `NA`. The default is `All`. |
| `hashType` | `HashType` | The type of hash algorithm used if you specify the `accountHash` field. The allowed values are `sha1` and `md5`. Subscribe supports SHA1 hashing only. You need not specify this field if the associated payment method is for a Transaction processed through Subscribe. |
| `lastDigits` | string | The truncated last part of the full account number, typically the last four or five digits of that number. Specify this string only if you are not specifying the full account number or its hash in the `accountHash` field for security when reporting transactions to Vindicia for ChargeGuard. You need not specify this field if the associated payment method is for a one-time or recurring transaction processed through Subscribe. |
| `routingNumber` | string | The bank routing number for an ACH or ECP account. Be certain to enter the correct number if you are using the associated payment method for Subscribe Transactions. |
| **Parent topic:**[PaymentMethod Subobjects](../topics/PaymentMethod_Subobjects) | | |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.