Enum¶
- class aioyookassa.types.enum.PaymentStatus(*values)[source]¶
Bases:
StrEnumPayment status
More detailed documentation: https://yookassa.ru/developers/payment-acceptance/getting-started/payment-process#lifecycle
- WAITING_FOR_CAPTURE = 'waiting_for_capture'¶
- SUCCEEDED = 'succeeded'¶
- CANCELED = 'canceled'¶
- PENDING = 'pending'¶
- class aioyookassa.types.enum.ConfirmationType(*values)[source]¶
Bases:
StrEnumConfirmation type
More detailed documentation: https://yookassa.ru/developers/payment-acceptance/getting-started/payment-process#confirmation
- REDIRECT = 'redirect'¶
- EXTERNAL = 'external'¶
- EMBEDDED = 'embedded'¶
- MOBILE_APPLICATION = 'mobile_application'¶
- QR_CODE = 'qr'¶
- class aioyookassa.types.enum.ReceiptRegistration(*values)[source]¶
Bases:
StrEnumReceipt registration
- SUCCEEDED = 'succeeded'¶
- PENDING = 'pending'¶
- CANCELED = 'canceled'¶
- class aioyookassa.types.enum.CancellationParty(*values)[source]¶
Bases:
StrEnumCancellation party
More detailed documentation: https://yookassa.ru/developers/payment-acceptance/after-the-payment/declined-payments#cancellation-details-party
- MERCHANT = 'merchant'¶
- PAYMENT_NETWORK = 'payment_network'¶
- YOO_MONEY = 'yoo_money'¶
- class aioyookassa.types.enum.CancellationReason(*values)[source]¶
Bases:
StrEnumCancellation reason
More detailed documentation: https://yookassa.ru/developers/payment-acceptance/after-the-payment/declined-payments#cancellation-details-reason
- THREE_DS_CHECK_FAILED = '3d_secure_failed'¶
- CALL_ISSUER = 'call_issuer'¶
- CANCELED_BY_MERCHANT = 'canceled_by_merchant'¶
- CARD_EXPIRED = 'card_expired'¶
- COUNTRY_FORBIDDEN = 'country_forbidden'¶
- DEAL_EXPIRED = 'deal_expired'¶
- EXPIRED_ON_CAPTURE = 'expired_on_capture'¶
- EXPIRED_ON_CONFIRMATION = 'expired_on_confirmation'¶
- FRAUD_SUSPECTED = 'fraud_suspected'¶
- GENERAL_DECLINE = 'general_decline'¶
- IDENTIFICATION_REQUIRED = 'identification_required'¶
- INSUFFICIENT_FUNDS = 'insufficient_funds'¶
- INTERNAL_TIMEOUT = 'internal_timeout'¶
- INVALID_CARD_NUMBER = 'invalid_card_number'¶
- INVALID_CSC = 'invalid_csc'¶
- ISSUER_UNAVAILABLE = 'issuer_unavailable'¶
- PAYMENT_METHOD_LIMIT_EXCEEDED = 'payment_method_limit_exceeded'¶
- PAYMENT_METHOD_RESTRICTED = 'payment_method_restricted'¶
- PERMISSION_REVOKED = 'permission_revoked'¶
- UNSUPPORTED_MOBILE_OPERATOR = 'unsupported_mobile_operator'¶
- class aioyookassa.types.enum.PaymentMethodType(*values)[source]¶
Bases:
StrEnumPayment method types More detailed documentation: https://yookassa.ru/developers/payment-acceptance/getting-started/payment-methods#all
- CARD = 'bank_card'¶
- YOO_MONEY = 'yoo_money'¶
- QIWI = 'qiwi'¶
- SBERBANK = 'sberbank'¶
- ALFABANK = 'alfabank'¶
- TINKOFF_BANK = 'tinkoff_bank'¶
- B2B_SBERBANK = 'b2b_sberbank'¶
- SBP = 'sbp'¶
- MOBILE_BALANCE = 'mobile_balance'¶
- CASH = 'cash'¶
- INSTALLMENTS = 'installments'¶
- SBER_LOAN = 'sber_loan'¶
- SBER_BNPL = 'sber_bnpl'¶
- ELECTRONIC_CERTIFICATE = 'electronic_certificate'¶
- APPLE_PAY = 'apple_pay'¶