https://github.com/fgribreau/stripe-schema
Complete Stripe (🥰) schema (as of 2019-10-09): for learning and inspiration.
https://github.com/fgribreau/stripe-schema
api-schema database database-schema e-commerce schema stripe stripe-api
Last synced: 11 months ago
JSON representation
Complete Stripe (🥰) schema (as of 2019-10-09): for learning and inspiration.
- Host: GitHub
- URL: https://github.com/fgribreau/stripe-schema
- Owner: FGRibreau
- Created: 2019-10-09T17:15:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T10:02:07.000Z (almost 6 years ago)
- Last Synced: 2025-04-05T02:33:31.818Z (about 1 year ago)
- Topics: api-schema, database, database-schema, e-commerce, schema, stripe, stripe-api
- Language: Shell
- Homepage: https://twitter.com/FGRibreau
- Size: 157 KB
- Stars: 40
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Stripe](http://stripe.com/) Schema
> For learning and inspiration, enjoy :+1:
[](https://join.slack.com/t/fgribreau/shared_invite/zt-edpjwt2t-Zh39mDUMNQ0QOr9qOj~jrg)
* [accounts](#accounts)
* [accounts_metadata](#accounts_metadata)
* [external_account_bank_accounts](#external_account_bank_accounts)
* [external_account_cards](#external_account_cards)
* [application_fees](#application_fees)
* [balance_transactions](#balance_transactions)
* [balance_transaction_fee_details](#balance_transaction_fee_details)
* [charges](#charges)
* [charges_metadata](#charges_metadata)
* [coupons](#coupons)
* [coupons_metadata](#coupons_metadata)
* [credit_notes](#credit_notes)
* [credit_notes_metadata](#credit_notes_metadata)
* [credit_note_line_items](#credit_note_line_items)
* [credit_note_line_item_tax_amounts](#credit_note_line_item_tax_amounts)
* [customers](#customers)
* [customers_metadata](#customers_metadata)
* [disputes](#disputes)
* [disputes_metadata](#disputes_metadata)
* [early_fraud_warnings](#early_fraud_warnings)
* [application_fee_refunds](#application_fee_refunds)
* [application_fee_refunds_metadata](#application_fee_refunds_metadata)
* [invoices](#invoices)
* [invoices_metadata](#invoices_metadata)
* [invoice_line_items](#invoice_line_items)
* [invoice_items](#invoice_items)
* [invoice_items_metadata](#invoice_items_metadata)
* [transfers](#transfers)
* [transfers_metadata](#transfers_metadata)
* [plans](#plans)
* [plans_metadata](#plans_metadata)
* [products](#products)
* [products_metadata](#products_metadata)
* [refunds](#refunds)
* [refunds_metadata](#refunds_metadata)
* [sources](#sources)
* [sources_metadata](#sources_metadata)
* [subscriptions](#subscriptions)
* [subscriptions_metadata](#subscriptions_metadata)
* [subscription_items](#subscription_items)
* [tax_rates](#tax_rates)
* [tax_rates_metadata](#tax_rates_metadata)
* [transfer_reversals](#transfer_reversals)
* [transfer_reversals_metadata](#transfer_reversals_metadata)
* [usage_records](#usage_records)
## accounts
| attribute | type | comment |
| ----------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id | varchar | Unique identifier for the object. |
| business_name | varchar | |
| business_url | varchar | |
| country | varchar | The account's country. |
| created | timestamp | Time at which the object was created. Measured in seconds since the Unix epoch. |
| debit_negative_balances | boolean | |
| default_currency | varchar | Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts). |
| details_submitted | boolean | Whether account details have been submitted. Standard accounts cannot receive payouts before this is true. |
| display_name | varchar | |
| email | varchar | The primary user's email address. |
| payout_statement_descriptor | varchar | |
| payouts_enabled | boolean | Whether Stripe can send payouts to this account. |
| charges_enabled | boolean | Whether the account can create live charges. |
| product_description | varchar | |
| statement_descriptor | varchar | |
| support_email | varchar | |
| support_phone | varchar | |
| timezone | varchar | |
| type | varchar | The type of the Stripe account. Can be `express` or `custom`. |
| decline_charge_on_cvc_failure | boolean | Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. |
| decline_charge_on_avs_failure | boolean | Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. |
| legal_entity_business_name | varchar | The company's legal name. |
| legal_entity_business_name_kana | varchar | The Kana variation of the company's legal name (Japan only). |
| legal_entity_business_name_kanji | varchar | The Kanji variation of the company's legal name (Japan only). |
| legal_entity_business_tax_id_provided | boolean | Whether the business ID number of the legal entity was provided. |
| legal_entity_business_vat_id_provided | boolean | Whether the business VAT number of the legal entity was provided. |
| legal_entity_first_name | varchar | The first name of the individual responsible for the account. |
| legal_entity_first_name_kana | varchar | The Kana variation of the first name of the individual responsible for the account (Japan only). |
| legal_entity_first_name_kanji | varchar | The Kanji variation of the first name of the individual responsible for the account (Japan only). |
| legal_entity_gender | varchar | The gender of the individual responsible for the account (International regulations require either "male" or "female"). |
| legal_entity_last_name | varchar | The last name of the individual responsible for the account. |
| legal_entity_last_name_kana | varchar | The Kana varation of the last name of the individual responsible for the account (Japan only). |
| legal_entity_last_name_kanji | varchar | The Kanji varation of the last name of the individual responsible for the account (Japan only). |
| legal_entity_maiden_name | varchar | The maiden name of the individual responsible for the account. |
| legal_entity_personal_id_number_provided | boolean | Whether the personal ID number of the individual responsible for the account was provided. |
| legal_entity_phone_number | varchar | The company's phone number, used for verification. |
| legal_entity_ssn_last_4_provided | boolean | Whether the last 4 ssn digits of the individual responsible for the account have been provided. |
| legal_entity_tax_id_registrar | varchar | The jurisdiction in which the `business_tax_id` is registered (Germany-based companies only). |
| legal_entity_type | varchar | Either "individual" or "company", for what kind of legal entity the account owner is for. |
| legal_entity_address_city | varchar | City/District/Suburb/Town/Village. |
| legal_entity_address_country | varchar | 2-letter country code. |
| legal_entity_address_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| legal_entity_address_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| legal_entity_address_postal_code | varchar | ZIP or postal code. |
| legal_entity_address_state | varchar | State/County/Province/Region. |
| legal_entity_address_kana_city | varchar | City/District/Suburb/Town/Village. |
| legal_entity_address_kana_country | varchar | 2-letter country code. |
| legal_entity_address_kana_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| legal_entity_address_kana_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| legal_entity_address_kana_postal_code | varchar | ZIP or postal code. |
| legal_entity_address_kana_state | varchar | State/County/Province/Region. |
| legal_entity_address_kanji_city | varchar | City/District/Suburb/Town/Village. |
| legal_entity_address_kanji_country | varchar | 2-letter country code. |
| legal_entity_address_kanji_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| legal_entity_address_kanji_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| legal_entity_address_kanji_postal_code | varchar | ZIP or postal code. |
| legal_entity_address_kanji_state | varchar | State/County/Province/Region. |
| legal_entity_dob_day | bigint | The day of birth, between 1 and 31. |
| legal_entity_dob_month | bigint | The month of birth, between 1 and 12. |
| legal_entity_dob_year | bigint | The four-digit year of birth. |
| legal_entity_personal_address_city | varchar | City/District/Suburb/Town/Village. |
| legal_entity_personal_address_country | varchar | 2-letter country code. |
| legal_entity_personal_address_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| legal_entity_personal_address_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| legal_entity_personal_address_postal_code | varchar | ZIP or postal code. |
| legal_entity_personal_address_state | varchar | State/County/Province/Region. |
| legal_entity_personal_address_kana_city | varchar | City/District/Suburb/Town/Village. |
| legal_entity_personal_address_kana_country | varchar | 2-letter country code. |
| legal_entity_personal_address_kana_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| legal_entity_personal_address_kana_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| legal_entity_personal_address_kana_postal_code | varchar | ZIP or postal code. |
| legal_entity_personal_address_kana_state | varchar | State/County/Province/Region. |
| legal_entity_personal_address_kanji_city | varchar | City/District/Suburb/Town/Village. |
| legal_entity_personal_address_kanji_country | varchar | 2-letter country code. |
| legal_entity_personal_address_kanji_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| legal_entity_personal_address_kanji_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| legal_entity_personal_address_kanji_postal_code | varchar | ZIP or postal code. |
| legal_entity_personal_address_kanji_state | varchar | State/County/Province/Region. |
| legal_entity_verification_details | varchar | A user-displayable string describing the verification state for the person. For example, this may say "Provided identity information could not be verified". |
| legal_entity_verification_details_code | varchar | |
| legal_entity_verification_document_id | varchar | |
| legal_entity_verification_status | varchar | The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. |
| payout_schedule_delay_days | bigint | The number of days charges for the account will be held before being paid out. |
| payout_schedule_interval | varchar | How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`. |
| payout_schedule_monthly_anchor | bigint | The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months. |
| payout_schedule_weekly_anchor | varchar | The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly. |
| tos_acceptance_date | timestamp | The Unix timestamp marking when the Stripe Services Agreement was accepted by the account representative |
| tos_acceptance_ip | varchar | The IP address from which the Stripe Services Agreement was accepted by the account representative |
| tos_acceptance_user_agent | varchar | The user agent of the browser from which the Stripe Services Agreement was accepted by the account representative |
| verification_fields_needed | varchar | |
| verification_due_by | timestamp | By what time the `fields_needed` must be provided. If this date is in the past, the account is already in bad standing, and providing `fields_needed` is necessary to re-enable payouts and prevent other consequences. If this date is in the future, `fields_needed` must be provided to ensure the account remains in good standing. |
| verification_disabled_reason | varchar | If the account is disabled, this string describes why the account can’t create charges or receive payouts. Can be `rejected.fraud`, `rejected.terms_of_service`, `rejected.listed`, `rejected.other`, `fields_needed`, `listed`, `under_review`, or `other`. |
## accounts_metadata
| attribute | type | comment |
| ---------- | ------- | ------------------------------------------------------------------ |
| account_id | varchar | The ID of the account that this metadata entry is associated with. |
| key | varchar | Name of the metadata key. |
| value | varchar | Value of the metadata. |
## external_account_bank_accounts
| attribute | type | comment |
| -------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account_id | varchar | |
| id | varchar | Unique identifier for the object. |
| account_holder_name | varchar | The name of the person or business that owns the bank account. |
| account_holder_type | varchar | The type of entity that holds the account. This can be either `individual` or `company`. |
| bank_name | varchar | Name of the bank associated with the routing number (e.g., `WELLS FARGO`). |
| country | varchar | Two-letter ISO code representing the country the bank account is located in. |
| currency | varchar | Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account. |
| default_for_currency | boolean | Whether this bank account is the default external account for its currency. |
| fingerprint | varchar | Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. |
| last4 | varchar | |
| routing_number | varchar | The routing transit number for the bank account. |
| status | varchar | For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If a transfer sent to this bank account fails, we'll set the status to `errored` and will not continue to send transfers until the bank details are updated.
For external accounts, possible values are `new` and `errored`. Validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply. If a transfer fails, the status is set to `errored` and transfers are stopped until account details are updated. |
## external_account_cards
| attribute | type | comment |
| -------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| account_id | varchar | |
| id | varchar | Unique identifier for the object. |
| address_city | varchar | City/District/Suburb/Town/Village. |
| address_country | varchar | Billing address country, if provided when creating card. |
| address_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| address_line1_check | varchar | If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. |
| address_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| address_state | varchar | State/County/Province/Region. |
| address_zip | varchar | ZIP or postal code. |
| address_zip_check | varchar | If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. |
| brand | varchar | Card brand. Can be `American Express`, `Diners Club`, `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`. |
| country | varchar | Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. |
| currency | varchar | Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. |
| customer_id | varchar | The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead. |
| cvc_check | varchar | If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. |
| default_for_currency | boolean | Whether this card is the default external account for its currency. |
| dynamic_last4 | varchar | (For tokenized numbers only.) The last four digits of the device account number. |
| exp_month | bigint | Two-digit number representing the card's expiration month. |
| exp_year | bigint | Four-digit number representing the card's expiration year. |
| fingerprint | varchar | Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. |
| funding | varchar | Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. |
| last4 | varchar | The last four digits of the card. |
| name | varchar | Cardholder name. |
| recipient_id | varchar | The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead. |
| tokenization_method | varchar | If the card number is tokenized, this is the method that was used. Can be `apple_pay` or `google_pay`. |
| iin | varchar | The Issuer Identification Number or Bank Identification Number (BIN) of the card being used to make the payment. It is the first six digits of the card number. |
## application_fees
| attribute | type | comment |
| -------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id | varchar | Unique identifier for the object. |
| account_id | varchar | ID of the Stripe account this fee was taken from. |
| amount | bigint | Amount earned, in cents. |
| amount_refunded | bigint | Amount in cents refunded (can be less than the amount attribute on the fee if a partial refund was issued) |
| application_id | varchar | ID of the Connect application that earned the fee. |
| balance_transaction_id | varchar | Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds). |
| charge_id | varchar | ID of the charge that the application fee was taken from. |
| created | timestamp | Time at which the object was created. Measured in seconds since the Unix epoch. |
| currency | varchar | Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). |
| originating_transaction_id | varchar | ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter. |
| refunded | boolean | Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false. |
## balance_transactions
| attribute | type | comment |
| --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id | varchar | Unique identifier for the object. |
| amount | bigint | Gross amount of the transaction, in cents. |
| available_on | timestamp | The date the transaction's net funds will become available in the Stripe balance. |
| created | timestamp | Time at which the object was created. Measured in seconds since the Unix epoch. |
| currency | varchar | Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). |
| description | varchar | An arbitrary string attached to the object. Often useful for displaying to users. |
| fee | bigint | Fees (in cents) paid for this transaction. |
| net | bigint | Net amount of the transaction, in cents. |
| status | varchar | If the transaction's net funds are available in the Stripe balance yet. Either `available` or `pending`. |
| type | varchar | Transaction type: `adjustment`, `advance`, `advance_funding`, `application_fee`, `application_fee_refund`, `charge`, `connect_collection_transfer`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_transaction`, `payment`, `payment_failure_refund`, `payment_refund`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. [Learn more](https://stripe.com/docs/reports/balance-transaction-types) about balance transaction types and what they represent. |
| source_id | varchar | The Stripe object to which this transaction is related. |
| automatic_transfer_id | varchar | ID of the automatically created transfer associated with this balance transaction (only set if your account is on an [automatic payout schedule](https://stripe.com/docs/payouts#payout-schedule)). |
| reporting_category | varchar | (Beta, subject to change) A new categorization of balance transactions, meant to improve on the current `type` field. [Learn more](https://stripe.com/docs/reports/reporting-categories). Please let us know what would be most helpful using the **Feedback** link at the bottom of this page. |
## balance_transaction_fee_details
| attribute | type | comment |
| ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| balance_transaction_id | varchar | |
| id | varchar | |
| amount | bigint | Amount of the fee, in cents. |
| application | varchar | |
| currency | varchar | Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). |
| description | varchar | An arbitrary string attached to the object. Often useful for displaying to users. |
| type | varchar | Type of the fee, one of: `application_fee`, `stripe_fee` or `tax`. |
## charges
| attribute | type | comment |
| ------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id | varchar | Unique identifier for the object. |
| amount | bigint | A positive integer representing how much to charge in the [smallest currency unit](/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). |
| amount_refunded | bigint | Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was issued). |
| application_fee_id | varchar | The application fee (if any) for the charge. [See the Connect documentation](/docs/connect/direct-charges#collecting-fees) for details. |
| balance_transaction_id | varchar | ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes). |
| captured | boolean | If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured. |
| created | timestamp | Time at which the object was created. Measured in seconds since the Unix epoch. |
| currency | varchar | Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). |
| customer_id | varchar | ID of the customer this charge is for if one exists. |
| description | varchar | An arbitrary string attached to the object. Often useful for displaying to users. |
| destination_id | varchar | |
| dispute_id | varchar | Details about the dispute if the charge has been disputed. |
| failure_code | varchar | Error code explaining reason for charge failure if available (see [the errors section](/docs/api#errors) for a list of codes). |
| failure_message | varchar | Message to user further explaining reason for charge failure if available. |
| invoice_id | varchar | ID of the invoice this charge is for if one exists. |
| order_id | varchar | ID of the order this charge is for if one exists. |
| paid | boolean | `true` if the charge succeeded, or was successfully authorized for later capture. |
| receipt_email | varchar | This is the email address that the receipt for this charge was sent to. |
| receipt_number | varchar | This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent. |
| refunded | boolean | Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false. |
| statement_descriptor | varchar | For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters. |
| status | varchar | The status of the payment is either `succeeded`, `pending`, or `failed`. |
| source_transfer_id | varchar | The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](/docs/connect/destination-charges) for details. |
| transfer_id | varchar | ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter). |
| transfer_group | varchar | A string that identifies this transaction as part of a group. See the [Connect documentation](/docs/connect/charges-transfers#grouping-transactions) for details. |
| application_id | varchar | ID of the Connect application that created the charge. |
| source_id | varchar | |
| card_id | varchar | Unique identifier for the object. |
| card_address_city | varchar | City/District/Suburb/Town/Village. |
| card_address_country | varchar | Billing address country, if provided when creating card. |
| card_address_line1 | varchar | Address line 1 (Street address/PO Box/Company name). |
| card_address_line1_check | varchar | If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. |
| card_address_line2 | varchar | Address line 2 (Apartment/Suite/Unit/Building). |
| card_address_state | varchar | State/County/Province/Region. |
| card_address_zip | varchar | ZIP or postal code. |
| card_address_zip_check | varchar | If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. |
| card_brand | varchar | Card brand. Can be `American Express`, `Diners Club`, `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`. |
| card_country | varchar | Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. |
| card_currency | varchar | Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. |
| card_customer_id | varchar | The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead. |
| card_cvc_check | varchar | If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. |
| card_dynamic_last4 | varchar | (For tokenized numbers only.) The last four digits of the device account number. |
| card_exp_month | bigint | Two-digit number representing the card's expiration month. |
| card_exp_year | bigint | Four-digit number representing the card's expiration year. |
| card_fingerprint | varchar | Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. |
| card_funding | varchar | Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. |
| card_last4 | varchar | The last four digits of the card.