forked from LiveCarta/PayPal-PHP-Server-SDK
1.2 KiB
1.2 KiB
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 merchant’s 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"
}
}