Schema Documentation

PaymentTokenCC

Description

A credit cart payment token

Fields
Field NameDescription
cardType - String Card type (visa, mastercard, etc)
expiryMonth - String Card's expiration month
expiryYear - String Card's expiration year.
gateway - PaymentGateway Token payment gateway
id - ID! Token ID unique identifier
isDefault - Boolean Is token connected to user's preferred payment method
last4 - Int Last 4 digits of the stored credit card number
tokenId - Int! Token database ID.
type - String! Token type
Example
{"cardType":"abc123","expiryMonth":"abc123","expiryYear":"xyz789","gateway":PaymentGateway,"id":4,"isDefault":false,"last4":123,"tokenId":123,"type":"xyz789"}