CustomerPaymentCardRequest Document (Shop API 16.5)

Document representing a customer payment card request.

Property Type Constraints Description
card_type String maxLength=256 The payment card type (for example, 'Visa').
credit_card_expired boolean   A flag indicating if the credit card is expired.
credit_card_token String   A credit card token. If a credit card is tokenized, the token can be used to look up the credit card data at the token store.
expiration_month Integer maxIntegerValue=12, minIntegerValue=1 The month when the payment card expires.
expiration_year Integer   The year when the payment card expires.
holder String maxLength=256 The payment card holder.
issue_number String maxLength=256 The payment card issue number.
number String maxLength=4000 The payment card number.
valid_from_month Integer maxIntegerValue=12, minIntegerValue=1 The payment card valid from month.
valid_from_year Integer   The payment card valid from year.
OCAPI obsolete versions 13.x and 14.x will be end of life in 2020 and versions 15.x and 16.x in 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.