<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/CustomerEngagementSession/requestCustomerInfo(for:fields:message:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader25CustomerEngagementSessionC07requestC4Info3for6fields7messageAA0cD0O0cG0VAC7PurposeOSg_SayAC5FieldOGSSSgtYaKF"
  },
  "title" : "requestCustomerInfo(for:fields:message:)"
}
-->

# requestCustomerInfo(for:fields:message:)

Opens a form so that the customer can share the contact information.

```
final func requestCustomerInfo(for purpose: CustomerEngagementSession.Purpose? = nil, fields: [CustomerEngagementSession.Field], message: String? = nil) async throws -> CustomerEngagement.CustomerInfo
```

## Parameters

`purpose`

An optional enum of pre-defined purpose of the form, for example `.checkIn`.
The `purpose`` parameter supports `.checkIn`and`.receipt`.

`fields`

An array of contact field types on the form.

`message`

A multi-line message text below the title.

## Return Value

[`CustomerEngagement.CustomerInfo`](/documentation/ProximityReader/CustomerEngagement/CustomerInfo) contact information shared by the customer.

## Discussion

If the `fields` array contains `pass` and a matching `passTypeIdentifier` ,
it displays the Wallet pass in full screen for the customer to confirm.

> Throws: ``doc://com.apple.ProximityReader/documentation/ProximityReader/CustomerEngagementSession/Error`` if the request fails.
> Note: The merchant is responsible for obtaining appropriate consent and maintaining
> compliant privacy notices for personal information collected through this session.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)