TanqoryDocs

TanqoryExtCreditCardInput

  • Input object
  • Orders and payments

A credit card typed by the merchant. Only its brand, first and last digits, holder name and expiry are kept. With the payments account (tanqoryExtDraftOrderCardEntry provider stripe) the card is typed into Stripe's own fields and only paymentMethodId is given; with a gateway account the number, expiry and CVV are.

Input fields

Input fieldTypeRequiredDefaultDescription
billingAddressMailingAddressInputOptional

The card's billing address; null keeps the draft's (the shipping address when it has none).

expiryMonthIntOptional

Expiry month, 1–12. Gateway accounts only.

expiryYearIntOptional

Expiry year, four digits (two digits are read as 20xx). Gateway accounts only.

nameString!Required

The name on the card.

numberStringOptional

The card number (spaces and dashes are ignored). The test payment gateway takes 1, 2 or 3. Gateway accounts only.

paymentMethodIdStringOptional

Stripe's PaymentMethod (pm_…) made by Stripe.js on the store's connected account. Payments account only.

verificationValueStringOptional

The card verification value, 3 or 4 digits. Sent to the gateway only, never stored. Gateway accounts only.

Taken by

Built from commit c0b3fb3fdef7 · API version 2026-10