Apple Pay Attributes

May 27, 2025 · View on GitHub

Additional attributes associated with apple pay.

Structure

ApplePayAttributes

Fields

NameTypeTagsDescriptionGetterSetter
CustomerCustomerInformationOptionalThis object represents a merchant’s customer, allowing them to store contact details, and track all payments associated with the same customer.CustomerInformation getCustomer()setCustomer(CustomerInformation customer)
VaultVaultInstructionOptionalBase vaulting specification. The object can be extended for specific use cases within each payment_source that supports vaulting.VaultInstruction getVault()setVault(VaultInstruction vault)

Example (as JSON)

{
  "customer": {
    "id": "id0",
    "email_address": "email_address2",
    "phone": {
      "phone_type": "OTHER",
      "phone_number": {
        "national_number": "national_number6"
      }
    },
    "name": {
      "given_name": "given_name2",
      "surname": "surname8"
    }
  },
  "vault": {
    "store_in_vault": "ON_SUCCESS"
  }
}