The payment card to use to fund a payment. Can be a credit or debit card.
Note: Passing card number, cvv and expiry directly via the API requires PCI SAQ D compliance.
PayPal offers a mechanism by which you do not have to take on the PCI SAQ D burden by using hosted fields - refer to this Integration Guide.
idstring<instrument_id>Optionalexpirystring<date_year_month>Optionalcard_typeenum<card_brand>OptionalDeprecated| See |
|---|
| type |
typeenum<card_type>Optionalbrandenum<card_brand>Optionalbilling_addressobject<address_portable>Optionaladmin_area_4stringOptionaladmin_area_3stringOptionaladmin_area_1stringOptionalcountry_codestring<country_code>RequiredNote: The country code for Great Britain isGBand notUKas used in the top-level domain names for that country. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
address_detailsobject<Address Details>Optionalattributesobject<card_attributes>Optionalcustomerobject<card_customer>Optionalidstring<merchant_partner_customer_id>Optionalemail_addressstring<email>OptionalNote: Up to 64 characters are allowed before and 255 characters are allowed after the@sign. However, the generally accepted maximum length for an email address is 254 characters. The pattern verifies that an unquoted@sign exists.
phoneobject<phone_with_type>Optionalphone_typeenum<phone_type>Optionalphone_numberobject<phone_number_without_country_code>Requirednational_numberstringRequirednameobject<name>Optionalvaultobject<vault_instruction_base>Optionalstore_in_vaultenum<store_in_vault_instruction>Optionalverificationobject<card_verification>Optionalvault_idstring<vault_id>Optionalsingle_use_tokenstring<single_use_token>Optionalstored_credentialobject<card_stored_credential>Optionalpayment_initiatorenum<payment_initiator>Requiredpayment_typeenum<stored_payment_source_payment_type>Requiredusageenum<stored_payment_source_usage_type>Optionalprevious_network_transaction_referenceobject<network_transaction_reference>OptionalidstringRequireddatestringOptionalnetworkenum<card_brand>Optionalnetwork_tokenobject<network_token_request>Optionalexpirystring<date_year_month>Requiredeci_flagenum<eci_flag>Optionaltoken_requestor_idstringOptionalexperience_contextobject<card_experience_context>Optional