Adds a card on file to an existing customer.
DEPRECATED
/v2/customers/{customer_id}/cards
Adds a card on file to an existing customer.
As with charges, calls to CreateCustomerCard
are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the first call.
A 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. For more information, see Walkthrough: Integrate Square Payments in a Website.
NOTE: Card nonces generated by digital wallets (such as Apple Pay) cannot be used to create a customer card.
Address information for the card on file.
NOTE: If a billing address is provided in the request, the CreateCustomerCardRequest.billing_address.postal_code
must match the postal code encoded in the card nonce.
An identifying token generated by Payments.verifyBuyer(). Verification tokens encapsulate customer device information and 3-D Secure challenge results to indicate that Square has verified the buyer identity.