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

1.4 KiB

Subscriptions Card Attributes

Additional attributes associated with the use of this card.

Structure

SubscriptionsCardAttributes

Fields

Name Type Tags Description Getter Setter
customer ?CardCustomer Optional The details about a customer in PayPal's system of record. getCustomer(): ?CardCustomer setCustomer(?CardCustomer customer): void
vault ?VaultInstructionBase Optional Basic vault instruction specification that can be extended by specific payment sources that supports vaulting. getVault(): ?VaultInstructionBase setVault(?VaultInstructionBase vault): void
verification ?CardVerification Optional The API caller can opt in to verify the card through PayPal offered verification services (e.g. Smart Dollar Auth, 3DS). getVerification(): ?CardVerification setVerification(?CardVerification verification): void

Example (as JSON)

{
  "customer": {
    "id": "id0",
    "email_address": "email_address2",
    "phone": {
      "phone_type": "OTHER",
      "phone_number": {
        "national_number": "national_number6"
      }
    },
    "merchant_customer_id": "merchant_customer_id2"
  },
  "vault": {
    "store_in_vault": "ON_SUCCESS"
  },
  "verification": {
    "method": "3D_SECURE"
  }
}