Stripe::Card
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later. Related guide: Card payments with Sources
Constants
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] account Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_city Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_country Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_line1 Object to be assigned
If address_line1 was provided, results of the check: pass, fail, unavailable, or unchecked.
Custom attribute writer method checking allowed values (enum). @param [Object] address_line1_check Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_line2 Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_state Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address_zip Object to be assigned
If address_zip was provided, results of the check: pass, fail, unavailable, or unchecked.
Custom attribute writer method checking allowed values (enum). @param [Object] address_zip_check Object to be assigned
A set of available payout methods for this card. Only values from this set should be passed as the method when creating a payout.
Custom attribute writer method checking allowed values (enum). @param [Object] available_payout_methods Object to be assigned
Card brand. Can be American Express, Diners Club, Discover, Eftpos Australia, Girocard, JCB, MasterCard, UnionPay, Visa, or Unknown.
Custom attribute writer method checking allowed values (enum). @param [Object] brand Object to be assigned
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.
Custom attribute writer method checking allowed values (enum). @param [Object] country Object to be assigned
Three-letter ISO code for currency in lowercase. Must be a supported currency. Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where controller.requirement_collection is application, which includes Custom accounts.
Custom attribute writer method checking allowed values (enum). @param [Object] currency Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] customer Object to be assigned
If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see Check if a card is valid without a charge.
Custom attribute writer method checking allowed values (enum). @param [Object] cvc_check Object to be assigned
Whether this card is the default external account for its currency. This property is only available for accounts where controller.requirement_collection is application, which includes Custom accounts.
Custom attribute writer method checking allowed values (enum). @param [Object] default_for_currency Object to be assigned
A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
Custom attribute writer method checking allowed values (enum). @param [Object] description Object to be assigned
(For tokenized numbers only.) The last four digits of the device account number.
Custom attribute writer method checking allowed values (enum). @param [Object] dynamic_last4 Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] exp_month Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] exp_year Object to be assigned
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. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.
Custom attribute writer method checking allowed values (enum). @param [Object] fingerprint Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] funding Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
Custom attribute writer method checking allowed values (enum). @param [Object] iin Object to be assigned
The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
Custom attribute writer method checking allowed values (enum). @param [Object] issuer Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] last4 Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] networks Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] object Object to be assigned
For external accounts that are cards, possible values are new and errored. If a payout fails, the status is set to errored and scheduled payouts are stopped until account details are updated.
Custom attribute writer method checking allowed values (enum). @param [Object] status Object to be assigned
If the card number is tokenized, this is the method that was used. Can be android_pay (includes Google Pay), apple_pay, masterpass, visa_checkout, or null.
Custom attribute writer method checking allowed values (enum). @param [Object] tokenization_method Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid