Card Attributes
May 27, 2025 ยท View on GitHub
Additional attributes associated with the use of this card.
Structure
CardAttributes
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Customer | CardCustomerInformation | Optional | The details about a customer in PayPal's system of record. | CardCustomerInformation getCustomer() | setCustomer(CardCustomerInformation customer) |
Vault | VaultInstructionBase | Optional | Basic vault instruction specification that can be extended by specific payment sources that supports vaulting. | VaultInstructionBase getVault() | setVault(VaultInstructionBase vault) |
Verification | CardVerification | Optional | The API caller can opt in to verify the card through PayPal offered verification services (e.g. Smart Dollar Auth, 3DS). | CardVerification getVerification() | setVerification(CardVerification verification) |
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": {
"store_in_vault": "ON_SUCCESS"
},
"verification": {
"method": "3D_SECURE"
}
}