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

# Consumer

> Customer information for payment processing

The `Consumer` object contains information about the customer making the payment.

## Properties

| Field       | Type     | Required | Description                                  |
| :---------- | :------- | :------: | :------------------------------------------- |
| `firstName` | `string` |     ✅    | Customer's first name                        |
| `lastName`  | `string` |     ❌    | Customer's last name                         |
| `email`     | `string` |     ✅    | Customer's email address                     |
| `phone`     | `string` |     ❌    | Customer's phone number                      |
| `ip`        | `string` |     ❌    | Customer's IP address (for fraud prevention) |

## Usage

Consumer information is used for:

* **Fraud prevention** - IP address and contact details help identify legitimate transactions
* **Communication** - Email for receipts and notifications
* **Compliance** - Some regulations require customer identification
* **Analytics** - Understanding your customer base

<Note>
  Providing accurate consumer information helps improve payment success rates and fraud detection.
</Note>
