1
0
Files
PayPal-PHP-Server-SDK/doc/models/apple-pay-attributes.md
Patrick Powers 6da8b9b5b8 1.1.0 Release (#44)
* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
Co-authored-by: Patrick Powers <patickpowers@hey.com>
2025-05-27 13:31:17 -05:00

1.2 KiB
Raw Blame History

Apple Pay Attributes

Additional attributes associated with apple pay.

Structure

ApplePayAttributes

Fields

Name Type Tags Description Getter Setter
customer ?CustomerInformation Optional This object represents a merchants customer, allowing them to store contact details, and track all payments associated with the same customer. getCustomer(): ?CustomerInformation setCustomer(?CustomerInformation customer): void
vault ?VaultInstruction Optional Base vaulting specification. The object can be extended for specific use cases within each payment_source that supports vaulting. getVault(): ?VaultInstruction setVault(?VaultInstruction vault): void

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"
  }
}