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 field | Type | Required | Default | Description |
|---|---|---|---|---|
billingAddress | MailingAddressInput | Optional | The card's billing address; null keeps the draft's (the shipping address when it has none). | |
expiryMonth | Int | Optional | Expiry month, 1–12. Gateway accounts only. | |
expiryYear | Int | Optional | Expiry year, four digits (two digits are read as 20xx). Gateway accounts only. | |
name | String! | Required | The name on the card. | |
number | String | Optional | The card number (spaces and dashes are ignored). The test payment gateway takes 1, 2 or 3. Gateway accounts only. | |
paymentMethodId | String | Optional | Stripe's PaymentMethod ( | |
verificationValue | String | Optional | The card verification value, 3 or 4 digits. Sent to the gateway only, never stored. Gateway accounts only. |