1
0
Files
PayPal-PHP-Server-SDK/doc/models/paypal-wallet-attributes.md
2025-11-06 20:07:39 +00:00

1.3 KiB

Paypal Wallet Attributes

Additional attributes associated with the use of this PayPal Wallet.

Structure

PaypalWalletAttributes

Fields

Name Type Tags Description Getter Setter
customer ?PaypalWalletCustomerRequest Optional - getCustomer(): ?PaypalWalletCustomerRequest setCustomer(?PaypalWalletCustomerRequest customer): void
vault ?PaypalWalletVaultInstruction Optional Resource consolidating common request and response attributes for vaulting PayPal Wallet. getVault(): ?PaypalWalletVaultInstruction setVault(?PaypalWalletVaultInstruction 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"
    },
    "merchant_customer_id": "merchant_customer_id2"
  },
  "vault": {
    "description": "description6",
    "usage_pattern": "THRESHOLD_PREPAID",
    "usage_type": "MERCHANT",
    "customer_type": "CONSUMER",
    "permit_multiple_payment_tokens": false
  }
}