input VaultCardInput

Card details to tokenize. Only the card number is required; supply the expiration, security code and cardholder name when you have them, since a charge made later is more likely to be authorized with them.

FieldTypeDescription
numberString!

Card number. Digits only; spaces and dashes are stripped.

expirationMonthInt

Expiration month, 1-12.

expirationYearInt

Expiration year, four digits. Ex. 2029

securityCodeString

Card security code (CVV/CVC), 3 or 4 digits. Held for the charge that first uses the token and discarded once that authorization has been made; it is deleted with an unused token when it expires.

cardholderNameString

Name on the card.