# TransactionCustomerDetailsInput

Input · GraphQL API

Customer details to be stored on the transaction itself, if the transaction is not associated with a customer. Used for fraud detection purposes.

## Fields

- `email` (`String`): Email address for the customer.
- `phoneNumber` (`String`): Phone number for the customer.
- `firstName` (`String`): First name of the customer. 255 character maximum.
- `lastName` (`String`): Last name of the customer. 255 character maximum.

## Used by

- [TransactionInput](/braintree/graphql/reference/types/transaction-input) — Input; customerDetails
- [TransactionRiskEvaluateInput](/braintree/graphql/reference/types/transaction-risk-evaluate-input) — Input; customerDetails

## GraphQL definition

```graphql
input TransactionCustomerDetailsInput {
  email: String
  phoneNumber: String
  firstName: String
  lastName: String
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)