Credit Card Details
credit_card.token
The credit card token. If you didn’t specify a token when the credit card was created, the gateway will generate a 4-character alphanumeric token.
String Attributes
credit_card.bin- the first 6 digits of the credit card number”credit_card.card_typecredit_card.cardholder_namecredit_card.customer_id- the ID of the customer this credit card is associated tocredit_card.expiration_month- formatted as MMcredit_card.expiration_year- formatted as YYYYcredit_card.expiration_date- MM/YYYY”credit_card.last_4- last four digits of the numbercredit_card.masked_number- the bin, six asterisks, and the last 4
Boolean Attributes
credit_card.default?
Timestamps
credit_card.created_atcredit_card.updated_at
Associations
credit_card.subscriptions
An array of subscriptions associated to the credit card.
credit_card.billing_address
The billing address that is attached to this card.