Watch Out!
The Apple Pay functionality is currently in a testing phase. It is only available for merchants in Chile 🇨🇱 and Peru 🇵🇪, and supports Visa and Mastercard cards. Please note that this functionality is subject to change without prior notice.
ApplePayPaymentContact| Property | Type | Description |
|---|---|---|
phoneNumber | string | User’s phone number associated with the Apple Pay contact. |
emailAddress | string | User’s email address. |
givenName | string | User’s first name. |
familyName | string | User’s last name. |
phoneticGivenName | string | User’s first name in phonetic representation. |
phoneticFamilyName | string | User’s last name in phonetic representation. |
subLocality | string | Sub-locality within the city (e.g., neighborhood or district). |
locality | string | City or locality name. |
postalCode | string | Postal or ZIP code. |
subAdministrativeArea | string | Sub-administrative region (e.g., county or district). |
administrativeArea | string | State, province, or region. |
country | string | Country name. |
countryCode | string | ISO 3166-1 alpha-2 country code. |
addressLines | string[] | Array of address lines (street name, building number, etc.). |
stringstringtypes/apple_pay_get_token_events.d.ts:20stringstringstringstringstringlocality: stringstringtypes/apple_pay_get_token_events.d.ts:26stringstringstringstringstring"US", "EC", "MX").string[]const billingContact: ApplePayPaymentContact = {
givenName: "John",
familyName: "Doe",
emailAddress: "john.doe@example.com",
phoneNumber: "+15555555555",
addressLines: ["123 Main St", "Apt 4B"],
locality: "Quito",
administrativeArea: "Pichincha",
postalCode: "170102",
country: "Ecuador",
countryCode: "EC",
};