Enumerations¶
Last Updated 2018-05-24
ApiErrorCode¶
-
class
djstripe.enums.
ApiErrorCode
[source]¶ Charge failure error codes.
https://stripe.com/docs/api#error-codes
-
card_declined
= 'card_declined'¶
-
choices
= (('card_declined', 'Card was declined'), ('expired_card', 'Expired card'), ('incorrect_cvc', 'Incorrect security code'), ('incorrect_number', 'Incorrect number'), ('incorrect_zip', 'ZIP code failed validation'), ('invalid_cvc', 'Invalid security code'), ('invalid_expiry_month', 'Invalid expiration month'), ('invalid_expiry_year', 'Invalid expiration year'), ('invalid_number', 'Invalid number'), ('invalid_swipe_data', 'Invalid swipe data'), ('missing', 'No card being charged'), ('processing_error', 'Processing error'))¶
-
expired_card
= 'expired_card'¶
-
incorrect_cvc
= 'incorrect_cvc'¶
-
incorrect_number
= 'incorrect_number'¶
-
incorrect_zip
= 'incorrect_zip'¶
-
invalid_cvc
= 'invalid_cvc'¶
-
invalid_expiry_month
= 'invalid_expiry_month'¶
-
invalid_expiry_year
= 'invalid_expiry_year'¶
-
invalid_number
= 'invalid_number'¶
-
invalid_swipe_data
= 'invalid_swipe_data'¶
-
missing
= 'missing'¶
-
processing_error
= 'processing_error'¶
-
CardCheckResult¶
CardBrand¶
-
class
djstripe.enums.
CardBrand
[source]¶ -
AmericanExpress
= 'American Express'¶
-
DinersClub
= 'Diners Club'¶
-
Discover
= 'Discover'¶
-
JCB
= 'JCB'¶
-
MasterCard
= 'MasterCard'¶
-
Unknown
= 'Unknown'¶
-
Visa
= 'Visa'¶
-
choices
= (('American Express', 'American Express'), ('Diners Club', 'Diners Club'), ('Discover', 'Discover'), ('JCB', 'JCB'), ('MasterCard', 'MasterCard'), ('Unknown', 'Unknown'), ('Visa', 'Visa'))¶
-
CardFundingType¶
CardTokenizationMethod¶
ChargeStatus¶
CouponDuration¶
PayoutFailureCode¶
-
class
djstripe.enums.
PayoutFailureCode
[source]¶ Payout failure error codes.
https://stripe.com/docs/api#payout_failures
-
account_closed
= 'account_closed'¶
-
account_frozen
= 'account_frozen'¶
-
bank_account_restricted
= 'bank_account_restricted'¶
-
bank_ownership_changed
= 'bank_ownership_changed'¶
-
choices
= (('account_closed', 'Bank account has been closed.'), ('account_frozen', 'Bank account has been frozen.'), ('bank_account_restricted', 'Bank account has restrictions on payouts allowed.'), ('bank_ownership_changed', 'Destination bank account has changed ownership.'), ('could_not_process', 'Bank could not process payout.'), ('debit_not_authorized', 'Debit transactions not approved on the bank account.'), ('insufficient_funds', 'Stripe account has insufficient funds.'), ('invalid_account_number', 'Invalid account number'), ('invalid_currency', 'Bank account does not support currency.'), ('no_account', 'Bank account could not be located.'), ('unsupported_card', 'Card no longer supported.'))¶
-
could_not_process
= 'could_not_process'¶
-
insufficient_funds
= 'insufficient_funds'¶
-
invalid_account_number
= 'invalid_account_number'¶
-
invalid_currency
= 'invalid_currency'¶
-
no_account
= 'no_account'¶
-
unsupported_card
= 'unsupported_card'¶
-
PayoutMethod¶
PayoutStatus¶
PayoutType¶
PlanInterval¶
SourceType¶
-
class
djstripe.enums.
SourceType
[source]¶ -
alipay_account
= 'alipay_account'¶
-
bank_account
= 'bank_account'¶
-
bitcoin_receiver
= 'bitcoin_receiver'¶
-
card
= 'card'¶
-
choices
= (('alipay_account', 'Alipay account'), ('bank_account', 'Bank account'), ('bitcoin_receiver', 'Bitcoin receiver'), ('card', 'Card'))¶
-