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
Providing accurate consumer information helps improve payment success rates and fraud detection.

