CreateCustomerCardRequest

November 20, 2019 ยท View on GitHub

Description

Defines the fields that are included in the request body of a request to the CreateCustomerCard endpoint.

Properties

NameTypeDescriptionNotes
cardNonceStringA card nonce representing the credit card to link to the customer. Card nonces are generated by the Square Payment Form when customers enter their card information. See Embedding the payment form for more information. NOTE: Card nonces generated by digital wallets (e.g., Apple Pay) cannot be used to create a customer card.
billingAddressAddressAddress information for the card on file. Only the `postal_code` field is required for payments in the US and Canada.[optional]
cardholderNameStringThe full name printed on the credit card.[optional]
verificationTokenStringAn identifying token generated by `SqPaymentForm.verifyBuyer()`. Verification tokens encapsulate customer device information and 3-D Secure challenge results to indicate that Square has verified the buyer identity.[optional]