type PaymentMethodCard
Card detail for a stored payment method whose type is Card.
| Field | Type | Description |
|---|---|---|
brand | String | Card brand as reported by the provider. Ex. Visa |
last4 | String! | Last four digits of the card number. |
expirationMonth | Int! | Expiration month, 1-12. |
expirationYear | Int! | Expiration year, four digits. Ex. 2029 |
cardholderName | String | Name on the card as captured when the method was stored. |
funding | PaymentMethodCardFunding! | Whether the card draws on a credit, debit or prepaid account. Surcharging rules turn on this distinction. It can only be captured from the provider's response at the moment the method is stored, never looked up afterwards, and some providers report it only when the merchant's account is configured to include it, so a method stored without it stays Unknown for life. |