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'¶
-
BankAccountHolderType¶
BankAccountStatus¶
-
class
djstripe.enums.
BankAccountStatus
[source]¶ -
choices
= (('errored', 'Errored'), ('new', 'New'), ('validated', 'Validated'), ('verification_failed', 'Verification failed'), ('verified', 'Verified'))¶
-
errored
= 'errored'¶
-
new
= 'new'¶
-
validated
= 'validated'¶
-
verification_failed
= 'verification_failed'¶
-
verified
= 'verified'¶
-
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¶
DisputeReason¶
-
class
djstripe.enums.
DisputeReason
[source]¶ -
bank_cannot_process
= 'bank_cannot_process'¶
-
choices
= (('bank_cannot_process', 'Bank cannot process'), ('credit_not_processed', 'Credit not processed'), ('customer_initiated', 'Customer-initiated'), ('debit_not_authorized', 'Debit not authorized'), ('duplicate', 'Duplicate'), ('fraudulent', 'Fraudulent'), ('general', 'General'), ('incorrect_account_details', 'Incorrect account details'), ('insufficient_funds', 'Insufficient funds'), ('product_not_received', 'Product not received'), ('product_unacceptable', 'Product unacceptable'), ('subscription_canceled', 'Subscription canceled'), ('unrecognized', 'Unrecognized'))¶
-
credit_not_processed
= 'credit_not_processed'¶
-
customer_initiated
= 'customer_initiated'¶
-
duplicate
= 'duplicate'¶
-
fraudulent
= 'fraudulent'¶
-
general
= 'general'¶
-
incorrect_account_details
= 'incorrect_account_details'¶
-
insufficient_funds
= 'insufficient_funds'¶
-
product_not_received
= 'product_not_received'¶
-
product_unacceptable
= 'product_unacceptable'¶
-
subscription_canceled
= 'subscription_canceled'¶
-
unrecognized
= 'unrecognized'¶
-
DisputeStatus¶
-
class
djstripe.enums.
DisputeStatus
[source]¶ -
charge_refunded
= 'charge_refunded'¶
-
choices
= (('charge_refunded', 'Charge refunded'), ('lost', 'Lost'), ('needs_response', 'Needs response'), ('under_review', 'Under review'), ('warning_closed', 'Warning closed'), ('warning_needs_response', 'Warning needs response'), ('warning_under_review', 'Warning under review'), ('won', 'Won'))¶
-
lost
= 'lost'¶
-
needs_response
= 'needs_response'¶
-
under_review
= 'under_review'¶
-
warning_closed
= 'warning_closed'¶
-
warning_needs_response
= 'warning_needs_response'¶
-
warning_under_review
= 'warning_under_review'¶
-
won
= 'won'¶
-
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¶
SourceFlow¶
SourceStatus¶
SourceType¶
-
class
djstripe.enums.
SourceType
[source]¶ -
ach_credit_transfer
= 'ach_credit_transfer'¶
-
alipay
= 'alipay'¶
-
bancontact
= 'bancontact'¶
-
bitcoin
= 'bitcoin'¶
-
card
= 'card'¶
-
choices
= (('ach_credit_transfer', 'ACH Credit Transfer'), ('alipay', 'Alipay'), ('bancontact', 'Bancontact'), ('bitcoin', 'Bitcoin'), ('card', 'Card'), ('giropay', 'Giropay'), ('ideal', 'iDEAL'), ('p24', 'P24'), ('sepa_debit', 'SEPA Direct Debit'), ('sofort', 'SOFORT'), ('three_d_secure', '3D Secure'))¶
-
giropay
= 'giropay'¶
-
ideal
= 'ideal'¶
-
p24
= 'p24'¶
-
sepa_debit
= 'sepa_debit'¶
-
sofort
= 'sofort'¶
-
three_d_secure
= 'three_d_secure'¶
-
LegacySourceType¶
-
class
djstripe.enums.
LegacySourceType
[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'))¶
-