Monei 2.3.0__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- monei-2.3.2/.husky/commit-msg +1 -0
- monei-2.3.2/.husky/pre-commit +5 -0
- {monei-2.3.0 → monei-2.3.2}/CHANGELOG.md +10 -0
- monei-2.3.2/Monei/__init__.py +33 -0
- {monei-2.3.0 → monei-2.3.2}/Monei/api/apple_pay_domain_api.py +46 -78
- {monei-2.3.0 → monei-2.3.2}/Monei/api/bizum_api.py +41 -77
- {monei-2.3.0 → monei-2.3.2}/Monei/api/payment_methods_api.py +44 -76
- {monei-2.3.0 → monei-2.3.2}/Monei/api/payments_api.py +403 -744
- {monei-2.3.0 → monei-2.3.2}/Monei/api/subscriptions_api.py +359 -661
- {monei-2.3.0 → monei-2.3.2}/Monei/api_client.py +395 -280
- {monei-2.3.0 → monei-2.3.2}/Monei/api_response.py +2 -3
- {monei-2.3.0 → monei-2.3.2}/Monei/apis/__init__.py +0 -1
- {monei-2.3.0 → monei-2.3.2}/Monei/configuration.py +148 -132
- {monei-2.3.0 → monei-2.3.2}/Monei/exceptions.py +10 -11
- {monei-2.3.0 → monei-2.3.2}/Monei/model/activate_subscription_request.py +99 -63
- {monei-2.3.0 → monei-2.3.2}/Monei/model/address.py +71 -57
- {monei-2.3.0 → monei-2.3.2}/Monei/model/api_exception.py +75 -57
- {monei-2.3.0 → monei-2.3.2}/Monei/model/apple_pay_domain_register200_response.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/bad_request_error.py +93 -81
- {monei-2.3.0 → monei-2.3.2}/Monei/model/bad_request_error_all_of.py +65 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/bizum_validate_phone200_response.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/cancel_payment_request.py +63 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/cancel_subscription_request.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/capture_payment_request.py +71 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/confirm_payment_request.py +95 -65
- {monei-2.3.0 → monei-2.3.2}/Monei/model/confirm_payment_request_payment_method.py +68 -48
- {monei-2.3.0 → monei-2.3.2}/Monei/model/confirm_payment_request_payment_method_card.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/create_payment_request.py +141 -111
- {monei-2.3.0 → monei-2.3.2}/Monei/model/create_subscription_request.py +102 -82
- {monei-2.3.0 → monei-2.3.2}/Monei/model/error_base.py +75 -57
- {monei-2.3.0 → monei-2.3.2}/Monei/model/internal_server_error.py +93 -81
- {monei-2.3.0 → monei-2.3.2}/Monei/model/internal_server_error_all_of.py +65 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/not_found_error.py +93 -81
- {monei-2.3.0 → monei-2.3.2}/Monei/model/not_found_error_all_of.py +65 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/pause_subscription_request.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment.py +136 -118
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_billing_details.py +73 -57
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_cancellation_reason.py +43 -41
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_customer.py +65 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_last_refund_reason.py +43 -41
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_message_channel.py +43 -41
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_message_language.py +47 -45
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods.py +80 -64
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata.py +128 -100
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_alipay.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_apple_pay.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_bancontact.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_bizum.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_blik.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_card.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay.py +88 -60
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay_discover.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay_mastercard.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay_visa.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_eps.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_giropay.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_google_pay.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_i_deal.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_klarna.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_mbway.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_sepa.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_sofort.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_trustly.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_methods.py +40 -39
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_next_action.py +72 -57
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method.py +105 -88
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_bizum.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_bizum_input.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_card.py +102 -87
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_card_input.py +71 -57
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_cofidis.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_input.py +72 -52
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_klarna.py +78 -63
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_mbway.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_paypal.py +73 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_sepa.py +77 -63
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_trustly.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_methods.py +44 -43
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_refund_reason.py +43 -41
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_sequence.py +68 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_sequence_recurring.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_session_details.py +93 -79
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_shipping_details.py +73 -57
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_shop.py +63 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_status.py +48 -46
- {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_trace_details.py +97 -83
- monei-2.3.2/Monei/model/payment_transaction_type.py +286 -0
- {monei-2.3.0 → monei-2.3.2}/Monei/model/recurring_payment_request.py +108 -70
- {monei-2.3.0 → monei-2.3.2}/Monei/model/refund_payment_request.py +75 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/register_apple_pay_domain_request.py +61 -47
- {monei-2.3.0 → monei-2.3.2}/Monei/model/send_payment_link_request.py +70 -54
- {monei-2.3.0 → monei-2.3.2}/Monei/model/send_payment_receipt_request.py +70 -54
- {monei-2.3.0 → monei-2.3.2}/Monei/model/send_payment_request_request.py +65 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/send_subscription_link_request.py +70 -55
- {monei-2.3.0 → monei-2.3.2}/Monei/model/send_subscription_status_request.py +70 -55
- {monei-2.3.0 → monei-2.3.2}/Monei/model/service_unavailable_error.py +96 -82
- {monei-2.3.0 → monei-2.3.2}/Monei/model/service_unavailable_error_all_of.py +65 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription.py +133 -115
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_interval.py +44 -42
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_last_payment.py +69 -53
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_payment_method.py +66 -49
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_payment_method_card.py +83 -68
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_retry_schedule.py +45 -40
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_retry_schedule_inner.py +72 -54
- {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_status.py +47 -45
- {monei-2.3.0 → monei-2.3.2}/Monei/model/unauthorized_error.py +93 -81
- {monei-2.3.0 → monei-2.3.2}/Monei/model/unauthorized_error_all_of.py +65 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/unprocessable_entity_error.py +96 -82
- {monei-2.3.0 → monei-2.3.2}/Monei/model/unprocessable_entity_error_all_of.py +65 -51
- {monei-2.3.0 → monei-2.3.2}/Monei/model/update_subscription_request.py +97 -79
- {monei-2.3.0 → monei-2.3.2}/Monei/model/validate_bizum_phone_request.py +68 -52
- {monei-2.3.0 → monei-2.3.2}/Monei/model_utils.py +369 -337
- {monei-2.3.0 → monei-2.3.2}/Monei/models/__init__.py +33 -11
- {monei-2.3.0 → monei-2.3.2}/Monei/monei_client.py +7 -5
- {monei-2.3.0 → monei-2.3.2}/Monei/rest.py +218 -119
- {monei-2.3.0 → monei-2.3.2}/PKG-INFO +1 -1
- {monei-2.3.0 → monei-2.3.2}/config.json +1 -1
- {monei-2.3.0 → monei-2.3.2}/package.json +11 -3
- {monei-2.3.0 → monei-2.3.2}/pyproject.toml +23 -2
- {monei-2.3.0 → monei-2.3.2}/scripts/build.sh +5 -1
- monei-2.3.2/scripts/post-build.sh +6 -0
- monei-2.3.2/test/test_activate_subscription_request.py +34 -0
- monei-2.3.2/test/test_address.py +34 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_api_client.py +4 -4
- monei-2.3.2/test/test_api_exception.py +34 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_api_response.py +17 -19
- monei-2.3.2/test/test_apple_pay_domain_api.py +44 -0
- monei-2.3.2/test/test_apple_pay_domain_register200_response.py +36 -0
- monei-2.3.2/test/test_apple_pay_domain_register400_response.py +39 -0
- monei-2.3.2/test/test_apple_pay_domain_register401_response.py +39 -0
- monei-2.3.2/test/test_apple_pay_domain_register404_response.py +39 -0
- monei-2.3.2/test/test_apple_pay_domain_register422_response.py +39 -0
- monei-2.3.2/test/test_apple_pay_domain_register500_response.py +39 -0
- monei-2.3.2/test/test_apple_pay_domain_register503_response.py +39 -0
- monei-2.3.2/test/test_bad_request_error.py +39 -0
- monei-2.3.2/test/test_bad_request_error_all_of.py +34 -0
- monei-2.3.2/test/test_bizum_api.py +45 -0
- monei-2.3.2/test/test_bizum_validate_phone200_response.py +34 -0
- monei-2.3.2/test/test_browser_color_depth.py +34 -0
- monei-2.3.2/test/test_browser_screen_height.py +34 -0
- monei-2.3.2/test/test_browser_screen_width.py +34 -0
- monei-2.3.2/test/test_browser_timezone_offset.py +34 -0
- monei-2.3.2/test/test_cancel_payment_request.py +37 -0
- monei-2.3.2/test/test_cancel_subscription_request.py +34 -0
- monei-2.3.2/test/test_capture_payment_request.py +34 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_configuration.py +40 -25
- monei-2.3.2/test/test_confirm_payment_request.py +45 -0
- monei-2.3.2/test/test_confirm_payment_request_payment_method.py +43 -0
- monei-2.3.2/test/test_confirm_payment_request_payment_method_card.py +36 -0
- monei-2.3.2/test/test_create_subscription_request.py +45 -0
- monei-2.3.2/test/test_error.py +34 -0
- monei-2.3.2/test/test_error_base.py +34 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_error_handling.py +6 -2
- monei-2.3.2/test/test_internal_server_error.py +39 -0
- monei-2.3.2/test/test_internal_server_error_all_of.py +34 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_model_serialization.py +1 -1
- monei-2.3.2/test/test_model_serialization_enhancement.py +143 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_monei_client.py +13 -5
- {monei-2.3.0 → monei-2.3.2}/test/test_monei_client_additional.py +53 -57
- {monei-2.3.0 → monei-2.3.2}/test/test_monei_client_integration.py +3 -3
- monei-2.3.2/test/test_not_found_error.py +39 -0
- monei-2.3.2/test/test_not_found_error_all_of.py +34 -0
- monei-2.3.2/test/test_pause_subscription_request.py +34 -0
- monei-2.3.2/test/test_payment.py +59 -0
- monei-2.3.2/test/test_payment_billing_details.py +37 -0
- monei-2.3.2/test/test_payment_cancellation_reason.py +34 -0
- monei-2.3.2/test/test_payment_customer.py +34 -0
- monei-2.3.2/test/test_payment_last_refund_reason.py +34 -0
- monei-2.3.2/test/test_payment_message_channel.py +34 -0
- monei-2.3.2/test/test_payment_message_language.py +34 -0
- monei-2.3.2/test/test_payment_methods.py +39 -0
- monei-2.3.2/test/test_payment_methods_metadata.py +75 -0
- monei-2.3.2/test/test_payment_methods_metadata_alipay.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_apple_pay.py +36 -0
- monei-2.3.2/test/test_payment_methods_metadata_bancontact.py +36 -0
- monei-2.3.2/test/test_payment_methods_metadata_bizum.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_blik.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_card.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_click_to_pay.py +53 -0
- monei-2.3.2/test/test_payment_methods_metadata_click_to_pay_discover.py +36 -0
- monei-2.3.2/test/test_payment_methods_metadata_click_to_pay_mastercard.py +36 -0
- monei-2.3.2/test/test_payment_methods_metadata_click_to_pay_visa.py +36 -0
- monei-2.3.2/test/test_payment_methods_metadata_eps.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_giropay.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_google_pay.py +36 -0
- monei-2.3.2/test/test_payment_methods_metadata_klarna.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_mbway.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_sepa.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_sofort.py +34 -0
- monei-2.3.2/test/test_payment_methods_metadata_trustly.py +34 -0
- monei-2.3.2/test/test_payment_methods_methods.py +34 -0
- monei-2.3.2/test/test_payment_next_action.py +34 -0
- monei-2.3.2/test/test_payment_payment_method.py +51 -0
- monei-2.3.2/test/test_payment_payment_method_bizum.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_bizum_input.py +36 -0
- monei-2.3.2/test/test_payment_payment_method_card.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_card_input.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_cofidis.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_input.py +41 -0
- monei-2.3.2/test/test_payment_payment_method_klarna.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_mbway.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_paypal.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_sepa.py +34 -0
- monei-2.3.2/test/test_payment_payment_method_trustly.py +34 -0
- monei-2.3.2/test/test_payment_payment_methods.py +34 -0
- monei-2.3.2/test/test_payment_refund_reason.py +34 -0
- monei-2.3.2/test/test_payment_sequence.py +37 -0
- monei-2.3.2/test/test_payment_sequence_recurring.py +34 -0
- monei-2.3.2/test/test_payment_session_details.py +34 -0
- monei-2.3.2/test/test_payment_shipping_details.py +37 -0
- monei-2.3.2/test/test_payment_shop.py +34 -0
- monei-2.3.2/test/test_payment_status.py +34 -0
- monei-2.3.2/test/test_payment_trace_details.py +34 -0
- monei-2.3.2/test/test_payment_transaction_type.py +34 -0
- monei-2.3.2/test/test_payments_api_enhancement.py +29 -0
- monei-2.3.2/test/test_recurring_payment_request.py +43 -0
- monei-2.3.2/test/test_refund_payment_request.py +37 -0
- monei-2.3.2/test/test_register_apple_pay_domain_request.py +34 -0
- monei-2.3.2/test/test_rest_enhancement.py +248 -0
- monei-2.3.2/test/test_send_payment_link_request.py +39 -0
- monei-2.3.2/test/test_send_payment_receipt_request.py +39 -0
- monei-2.3.2/test/test_send_payment_request_request.py +37 -0
- monei-2.3.2/test/test_send_subscription_link_request.py +34 -0
- monei-2.3.2/test/test_send_subscription_status_request.py +34 -0
- monei-2.3.2/test/test_service_unavailable_error.py +39 -0
- monei-2.3.2/test/test_service_unavailable_error_all_of.py +34 -0
- monei-2.3.2/test/test_subscription.py +53 -0
- monei-2.3.2/test/test_subscription_interval.py +34 -0
- monei-2.3.2/test/test_subscription_last_payment.py +37 -0
- monei-2.3.2/test/test_subscription_payment_method.py +37 -0
- monei-2.3.2/test/test_subscription_payment_method_card.py +34 -0
- monei-2.3.2/test/test_subscription_retry_schedule.py +37 -0
- monei-2.3.2/test/test_subscription_retry_schedule_inner.py +34 -0
- monei-2.3.2/test/test_subscription_status.py +34 -0
- monei-2.3.2/test/test_subscriptions_api_enhancement.py +29 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_subscriptions_api_integration.py +20 -18
- monei-2.3.2/test/test_unauthorized_error.py +39 -0
- monei-2.3.2/test/test_unauthorized_error_all_of.py +34 -0
- monei-2.3.2/test/test_unprocessable_entity_error.py +39 -0
- monei-2.3.2/test/test_unprocessable_entity_error_all_of.py +34 -0
- monei-2.3.2/test/test_update_subscription_request.py +45 -0
- monei-2.3.2/test/test_validate_bizum_phone_request.py +34 -0
- {monei-2.3.0 → monei-2.3.2}/uv.lock +116 -1
- {monei-2.3.0 → monei-2.3.2}/yarn.lock +175 -5
- monei-2.3.0/.husky/commit-msg +0 -4
- monei-2.3.0/.husky/pre-commit +0 -1
- monei-2.3.0/Monei/__init__.py +0 -29
- monei-2.3.0/Monei/model/payment_transaction_type.py +0 -284
- monei-2.3.0/scripts/post-build.sh +0 -3
- monei-2.3.0/test/test_activate_subscription_request.py +0 -35
- monei-2.3.0/test/test_address.py +0 -35
- monei-2.3.0/test/test_api_exception.py +0 -35
- monei-2.3.0/test/test_apple_pay_domain_api.py +0 -45
- monei-2.3.0/test/test_apple_pay_domain_register200_response.py +0 -35
- monei-2.3.0/test/test_apple_pay_domain_register400_response.py +0 -37
- monei-2.3.0/test/test_apple_pay_domain_register401_response.py +0 -37
- monei-2.3.0/test/test_apple_pay_domain_register404_response.py +0 -37
- monei-2.3.0/test/test_apple_pay_domain_register422_response.py +0 -37
- monei-2.3.0/test/test_apple_pay_domain_register500_response.py +0 -37
- monei-2.3.0/test/test_apple_pay_domain_register503_response.py +0 -37
- monei-2.3.0/test/test_bad_request_error.py +0 -39
- monei-2.3.0/test/test_bad_request_error_all_of.py +0 -35
- monei-2.3.0/test/test_bizum_api.py +0 -47
- monei-2.3.0/test/test_bizum_validate_phone200_response.py +0 -35
- monei-2.3.0/test/test_browser_color_depth.py +0 -35
- monei-2.3.0/test/test_browser_screen_height.py +0 -35
- monei-2.3.0/test/test_browser_screen_width.py +0 -35
- monei-2.3.0/test/test_browser_timezone_offset.py +0 -35
- monei-2.3.0/test/test_cancel_payment_request.py +0 -37
- monei-2.3.0/test/test_cancel_subscription_request.py +0 -35
- monei-2.3.0/test/test_capture_payment_request.py +0 -35
- monei-2.3.0/test/test_confirm_payment_request.py +0 -43
- monei-2.3.0/test/test_confirm_payment_request_payment_method.py +0 -37
- monei-2.3.0/test/test_confirm_payment_request_payment_method_card.py +0 -35
- monei-2.3.0/test/test_create_subscription_request.py +0 -45
- monei-2.3.0/test/test_error.py +0 -35
- monei-2.3.0/test/test_error_base.py +0 -35
- monei-2.3.0/test/test_internal_server_error.py +0 -39
- monei-2.3.0/test/test_internal_server_error_all_of.py +0 -35
- monei-2.3.0/test/test_not_found_error.py +0 -39
- monei-2.3.0/test/test_not_found_error_all_of.py +0 -35
- monei-2.3.0/test/test_pause_subscription_request.py +0 -35
- monei-2.3.0/test/test_payment.py +0 -59
- monei-2.3.0/test/test_payment_billing_details.py +0 -37
- monei-2.3.0/test/test_payment_cancellation_reason.py +0 -35
- monei-2.3.0/test/test_payment_customer.py +0 -35
- monei-2.3.0/test/test_payment_last_refund_reason.py +0 -35
- monei-2.3.0/test/test_payment_message_channel.py +0 -35
- monei-2.3.0/test/test_payment_message_language.py +0 -35
- monei-2.3.0/test/test_payment_methods.py +0 -39
- monei-2.3.0/test/test_payment_methods_metadata.py +0 -67
- monei-2.3.0/test/test_payment_methods_metadata_alipay.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_apple_pay.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_bancontact.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_bizum.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_blik.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_card.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_click_to_pay.py +0 -41
- monei-2.3.0/test/test_payment_methods_metadata_click_to_pay_discover.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_click_to_pay_mastercard.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_click_to_pay_visa.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_eps.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_giropay.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_google_pay.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_klarna.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_mbway.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_sepa.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_sofort.py +0 -35
- monei-2.3.0/test/test_payment_methods_metadata_trustly.py +0 -35
- monei-2.3.0/test/test_payment_methods_methods.py +0 -35
- monei-2.3.0/test/test_payment_next_action.py +0 -35
- monei-2.3.0/test/test_payment_payment_method.py +0 -51
- monei-2.3.0/test/test_payment_payment_method_bizum.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_bizum_input.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_card.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_card_input.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_cofidis.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_input.py +0 -39
- monei-2.3.0/test/test_payment_payment_method_klarna.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_mbway.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_paypal.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_sepa.py +0 -35
- monei-2.3.0/test/test_payment_payment_method_trustly.py +0 -35
- monei-2.3.0/test/test_payment_payment_methods.py +0 -35
- monei-2.3.0/test/test_payment_refund_reason.py +0 -35
- monei-2.3.0/test/test_payment_sequence.py +0 -37
- monei-2.3.0/test/test_payment_sequence_recurring.py +0 -35
- monei-2.3.0/test/test_payment_session_details.py +0 -35
- monei-2.3.0/test/test_payment_shipping_details.py +0 -37
- monei-2.3.0/test/test_payment_shop.py +0 -35
- monei-2.3.0/test/test_payment_status.py +0 -35
- monei-2.3.0/test/test_payment_trace_details.py +0 -35
- monei-2.3.0/test/test_payment_transaction_type.py +0 -35
- monei-2.3.0/test/test_recurring_payment_request.py +0 -43
- monei-2.3.0/test/test_refund_payment_request.py +0 -37
- monei-2.3.0/test/test_register_apple_pay_domain_request.py +0 -35
- monei-2.3.0/test/test_send_payment_link_request.py +0 -39
- monei-2.3.0/test/test_send_payment_receipt_request.py +0 -39
- monei-2.3.0/test/test_send_payment_request_request.py +0 -37
- monei-2.3.0/test/test_send_subscription_link_request.py +0 -35
- monei-2.3.0/test/test_send_subscription_status_request.py +0 -35
- monei-2.3.0/test/test_service_unavailable_error.py +0 -39
- monei-2.3.0/test/test_service_unavailable_error_all_of.py +0 -35
- monei-2.3.0/test/test_subscription.py +0 -53
- monei-2.3.0/test/test_subscription_interval.py +0 -35
- monei-2.3.0/test/test_subscription_last_payment.py +0 -37
- monei-2.3.0/test/test_subscription_payment_method.py +0 -37
- monei-2.3.0/test/test_subscription_payment_method_card.py +0 -35
- monei-2.3.0/test/test_subscription_retry_schedule.py +0 -37
- monei-2.3.0/test/test_subscription_retry_schedule_inner.py +0 -35
- monei-2.3.0/test/test_subscription_status.py +0 -35
- monei-2.3.0/test/test_unauthorized_error.py +0 -39
- monei-2.3.0/test/test_unauthorized_error_all_of.py +0 -35
- monei-2.3.0/test/test_unprocessable_entity_error.py +0 -39
- monei-2.3.0/test/test_unprocessable_entity_error_all_of.py +0 -35
- monei-2.3.0/test/test_update_subscription_request.py +0 -45
- monei-2.3.0/test/test_validate_bizum_phone_request.py +0 -35
- {monei-2.3.0 → monei-2.3.2}/.cursor/rules/general.mdc +0 -0
- {monei-2.3.0 → monei-2.3.2}/.gitattributes +0 -0
- {monei-2.3.0 → monei-2.3.2}/.github/workflows/deploy.yml +0 -0
- {monei-2.3.0 → monei-2.3.2}/.github/workflows/test.yml +0 -0
- {monei-2.3.0 → monei-2.3.2}/.gitignore +0 -0
- {monei-2.3.0 → monei-2.3.2}/.openapi-generator/FILES +0 -0
- {monei-2.3.0 → monei-2.3.2}/.openapi-generator/VERSION +0 -0
- {monei-2.3.0 → monei-2.3.2}/.openapi-generator-ignore +0 -0
- {monei-2.3.0 → monei-2.3.2}/.release-it.json +0 -0
- {monei-2.3.0 → monei-2.3.2}/.uv/uv.toml +0 -0
- {monei-2.3.0 → monei-2.3.2}/.yarnrc.yml +0 -0
- {monei-2.3.0 → monei-2.3.2}/LICENSE +0 -0
- {monei-2.3.0 → monei-2.3.2}/Monei/api/__init__.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/Monei/model/__init__.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/Monei/py.typed +0 -0
- {monei-2.3.0 → monei-2.3.2}/README.md +0 -0
- {monei-2.3.0 → monei-2.3.2}/commitlint.config.js +0 -0
- {monei-2.3.0 → monei-2.3.2}/openapitools.json +0 -0
- {monei-2.3.0 → monei-2.3.2}/scripts/release.sh +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/__init__.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_apple_pay_domain_api_integration.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_bizum_api_integration.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_create_payment_request.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_exceptions.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_model_utils.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_payment_example.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_payment_methods_api.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_payment_methods_api_integration.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_payment_methods_metadata_i_deal.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_payments_api.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_payments_api_example.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_payments_api_integration.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_rest_example.py +0 -0
- {monei-2.3.0 → monei-2.3.2}/test/test_subscriptions_api.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
yarn commitlint --edit $1
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## <small>2.3.2 (2025-04-16)</small>
|
|
4
|
+
|
|
5
|
+
* chore: update SDK to OpenAPI specification version 1.6.1 ([9a649be](https://github.com/MONEI/monei-python-sdk/commit/9a649be))
|
|
6
|
+
|
|
7
|
+
## <small>2.3.1 (2025-03-14)</small>
|
|
8
|
+
|
|
9
|
+
* chore: update SDK to OpenAPI specification version 1.6.0 ([f1214e5](https://github.com/MONEI/monei-python-sdk/commit/f1214e5))
|
|
10
|
+
* fix: resolve Black formatter installation issue ([3be582e](https://github.com/MONEI/monei-python-sdk/commit/3be582e))
|
|
11
|
+
* test: Add comprehensive model serialization and REST client tests ([7e324a0](https://github.com/MONEI/monei-python-sdk/commit/7e324a0))
|
|
12
|
+
|
|
3
13
|
## 2.3.0 (2025-03-11)
|
|
4
14
|
|
|
5
15
|
* feat: Add retry configuration method to MoneiClient ([0440265](https://github.com/MONEI/monei-python-sdk/commit/0440265))
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
MONEI API v1
|
|
5
|
+
|
|
6
|
+
The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.6.1
|
|
9
|
+
Generated by: https://openapi-generator.tech
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
__version__ = "2.0.2"
|
|
14
|
+
|
|
15
|
+
# import ApiClient
|
|
16
|
+
from Monei.api_client import ApiClient
|
|
17
|
+
|
|
18
|
+
# import Configuration
|
|
19
|
+
from Monei.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
# import exceptions
|
|
22
|
+
from Monei.exceptions import OpenApiException
|
|
23
|
+
from Monei.exceptions import ApiAttributeError
|
|
24
|
+
from Monei.exceptions import ApiTypeError
|
|
25
|
+
from Monei.exceptions import ApiValueError
|
|
26
|
+
from Monei.exceptions import ApiKeyError
|
|
27
|
+
from Monei.exceptions import ApiException
|
|
28
|
+
|
|
29
|
+
# import custom MoneiClient
|
|
30
|
+
from Monei.monei_client import MoneiClient
|
|
31
|
+
from Monei.models import *
|
|
32
|
+
from Monei.apis import *
|
|
33
|
+
from Monei.exceptions import *
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
MONEI API v1
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
The version of the OpenAPI document: 1.6.1
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
import re # noqa: F401
|
|
12
11
|
import sys # noqa: F401
|
|
13
12
|
|
|
@@ -19,9 +18,11 @@ from Monei.model_utils import ( # noqa: F401
|
|
|
19
18
|
datetime,
|
|
20
19
|
file_type,
|
|
21
20
|
none_type,
|
|
22
|
-
validate_and_convert_types
|
|
21
|
+
validate_and_convert_types,
|
|
22
|
+
)
|
|
23
|
+
from Monei.model.apple_pay_domain_register200_response import (
|
|
24
|
+
ApplePayDomainRegister200Response,
|
|
23
25
|
)
|
|
24
|
-
from Monei.model.apple_pay_domain_register200_response import ApplePayDomainRegister200Response
|
|
25
26
|
from Monei.model.bad_request_error import BadRequestError
|
|
26
27
|
from Monei.model.internal_server_error import InternalServerError
|
|
27
28
|
from Monei.model.not_found_error import NotFoundError
|
|
@@ -44,62 +45,46 @@ class ApplePayDomainApi(object):
|
|
|
44
45
|
self.api_client = api_client
|
|
45
46
|
self.register_endpoint = _Endpoint(
|
|
46
47
|
settings={
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
'http_method': 'POST',
|
|
54
|
-
'servers': None,
|
|
48
|
+
"response_type": (ApplePayDomainRegister200Response,),
|
|
49
|
+
"auth": ["APIKey"],
|
|
50
|
+
"endpoint_path": "/apple-pay/domains",
|
|
51
|
+
"operation_id": "register",
|
|
52
|
+
"http_method": "POST",
|
|
53
|
+
"servers": None,
|
|
55
54
|
},
|
|
56
55
|
params_map={
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
],
|
|
60
|
-
'required': [
|
|
61
|
-
'register_apple_pay_domain_request',
|
|
62
|
-
],
|
|
63
|
-
'nullable': [
|
|
56
|
+
"all": [
|
|
57
|
+
"register_apple_pay_domain_request",
|
|
64
58
|
],
|
|
65
|
-
|
|
59
|
+
"required": [
|
|
60
|
+
"register_apple_pay_domain_request",
|
|
66
61
|
],
|
|
67
|
-
|
|
68
|
-
]
|
|
62
|
+
"nullable": [],
|
|
63
|
+
"enum": [],
|
|
64
|
+
"validation": [],
|
|
69
65
|
},
|
|
70
66
|
root_map={
|
|
71
|
-
|
|
67
|
+
"validations": {},
|
|
68
|
+
"allowed_values": {},
|
|
69
|
+
"openapi_types": {
|
|
70
|
+
"register_apple_pay_domain_request": (
|
|
71
|
+
RegisterApplePayDomainRequest,
|
|
72
|
+
),
|
|
72
73
|
},
|
|
73
|
-
|
|
74
|
+
"attribute_map": {},
|
|
75
|
+
"location_map": {
|
|
76
|
+
"register_apple_pay_domain_request": "body",
|
|
74
77
|
},
|
|
75
|
-
|
|
76
|
-
'register_apple_pay_domain_request':
|
|
77
|
-
(RegisterApplePayDomainRequest,),
|
|
78
|
-
},
|
|
79
|
-
'attribute_map': {
|
|
80
|
-
},
|
|
81
|
-
'location_map': {
|
|
82
|
-
'register_apple_pay_domain_request': 'body',
|
|
83
|
-
},
|
|
84
|
-
'collection_format_map': {
|
|
85
|
-
}
|
|
78
|
+
"collection_format_map": {},
|
|
86
79
|
},
|
|
87
80
|
headers_map={
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
],
|
|
91
|
-
'content_type': [
|
|
92
|
-
'application/json'
|
|
93
|
-
]
|
|
81
|
+
"accept": ["application/json"],
|
|
82
|
+
"content_type": ["application/json"],
|
|
94
83
|
},
|
|
95
|
-
api_client=api_client
|
|
84
|
+
api_client=api_client,
|
|
96
85
|
)
|
|
97
86
|
|
|
98
|
-
def register(
|
|
99
|
-
self,
|
|
100
|
-
register_apple_pay_domain_request,
|
|
101
|
-
**kwargs
|
|
102
|
-
):
|
|
87
|
+
def register(self, register_apple_pay_domain_request, **kwargs):
|
|
103
88
|
"""Register Domain # noqa: E501
|
|
104
89
|
|
|
105
90
|
Registers a domain with Apple Pay. This endpoint allows you to register your website domain with Apple Pay, which is required before you can accept Apple Pay payments on your website. The domain must be accessible via HTTPS and have a valid SSL certificate. Before registering, you must download this [domain association file](https://assets.monei.com/apple-pay/apple-developer-merchantid-domain-association/) and host it at `/.well-known/apple-developer-merchantid-domain-association` on your site. For example, if you're registering `example.com`, make that file available at `https://example.com/.well-known/apple-developer-merchantid-domain-association`. After registration, Apple will verify your domain. Once verified, you can display Apple Pay buttons and process Apple Pay payments on your website. # noqa: E501
|
|
@@ -149,32 +134,15 @@ class ApplePayDomainApi(object):
|
|
|
149
134
|
If the method is called asynchronously, returns the request
|
|
150
135
|
thread.
|
|
151
136
|
"""
|
|
152
|
-
kwargs[
|
|
153
|
-
|
|
154
|
-
)
|
|
155
|
-
kwargs[
|
|
156
|
-
|
|
157
|
-
)
|
|
158
|
-
kwargs[
|
|
159
|
-
|
|
160
|
-
)
|
|
161
|
-
kwargs[
|
|
162
|
-
|
|
163
|
-
)
|
|
164
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
165
|
-
'_check_input_type', True
|
|
166
|
-
)
|
|
167
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
168
|
-
'_check_return_type', True
|
|
169
|
-
)
|
|
170
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
171
|
-
'_spec_property_naming', False
|
|
172
|
-
)
|
|
173
|
-
kwargs['_content_type'] = kwargs.get(
|
|
174
|
-
'_content_type')
|
|
175
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
176
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
177
|
-
kwargs['register_apple_pay_domain_request'] = \
|
|
178
|
-
register_apple_pay_domain_request
|
|
137
|
+
kwargs["async_req"] = kwargs.get("async_req", False)
|
|
138
|
+
kwargs["_return_http_data_only"] = kwargs.get("_return_http_data_only", True)
|
|
139
|
+
kwargs["_preload_content"] = kwargs.get("_preload_content", True)
|
|
140
|
+
kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
|
|
141
|
+
kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
|
|
142
|
+
kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
|
|
143
|
+
kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
|
|
144
|
+
kwargs["_content_type"] = kwargs.get("_content_type")
|
|
145
|
+
kwargs["_host_index"] = kwargs.get("_host_index")
|
|
146
|
+
kwargs["_request_auths"] = kwargs.get("_request_auths", None)
|
|
147
|
+
kwargs["register_apple_pay_domain_request"] = register_apple_pay_domain_request
|
|
179
148
|
return self.register_endpoint.call_with_http_info(**kwargs)
|
|
180
|
-
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
MONEI API v1
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
The version of the OpenAPI document: 1.6.1
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
import re # noqa: F401
|
|
12
11
|
import sys # noqa: F401
|
|
13
12
|
|
|
@@ -19,7 +18,7 @@ from Monei.model_utils import ( # noqa: F401
|
|
|
19
18
|
datetime,
|
|
20
19
|
file_type,
|
|
21
20
|
none_type,
|
|
22
|
-
validate_and_convert_types
|
|
21
|
+
validate_and_convert_types,
|
|
23
22
|
)
|
|
24
23
|
from Monei.model.bad_request_error import BadRequestError
|
|
25
24
|
from Monei.model.bizum_validate_phone200_response import BizumValidatePhone200Response
|
|
@@ -44,62 +43,44 @@ class BizumApi(object):
|
|
|
44
43
|
self.api_client = api_client
|
|
45
44
|
self.validate_phone_endpoint = _Endpoint(
|
|
46
45
|
settings={
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
'http_method': 'POST',
|
|
54
|
-
'servers': None,
|
|
46
|
+
"response_type": (BizumValidatePhone200Response,),
|
|
47
|
+
"auth": ["APIKey"],
|
|
48
|
+
"endpoint_path": "/bizum/validate-phone",
|
|
49
|
+
"operation_id": "validate_phone",
|
|
50
|
+
"http_method": "POST",
|
|
51
|
+
"servers": None,
|
|
55
52
|
},
|
|
56
53
|
params_map={
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
],
|
|
60
|
-
'required': [
|
|
61
|
-
'validate_bizum_phone_request',
|
|
62
|
-
],
|
|
63
|
-
'nullable': [
|
|
54
|
+
"all": [
|
|
55
|
+
"validate_bizum_phone_request",
|
|
64
56
|
],
|
|
65
|
-
|
|
57
|
+
"required": [
|
|
58
|
+
"validate_bizum_phone_request",
|
|
66
59
|
],
|
|
67
|
-
|
|
68
|
-
]
|
|
60
|
+
"nullable": [],
|
|
61
|
+
"enum": [],
|
|
62
|
+
"validation": [],
|
|
69
63
|
},
|
|
70
64
|
root_map={
|
|
71
|
-
|
|
65
|
+
"validations": {},
|
|
66
|
+
"allowed_values": {},
|
|
67
|
+
"openapi_types": {
|
|
68
|
+
"validate_bizum_phone_request": (ValidateBizumPhoneRequest,),
|
|
72
69
|
},
|
|
73
|
-
|
|
70
|
+
"attribute_map": {},
|
|
71
|
+
"location_map": {
|
|
72
|
+
"validate_bizum_phone_request": "body",
|
|
74
73
|
},
|
|
75
|
-
|
|
76
|
-
'validate_bizum_phone_request':
|
|
77
|
-
(ValidateBizumPhoneRequest,),
|
|
78
|
-
},
|
|
79
|
-
'attribute_map': {
|
|
80
|
-
},
|
|
81
|
-
'location_map': {
|
|
82
|
-
'validate_bizum_phone_request': 'body',
|
|
83
|
-
},
|
|
84
|
-
'collection_format_map': {
|
|
85
|
-
}
|
|
74
|
+
"collection_format_map": {},
|
|
86
75
|
},
|
|
87
76
|
headers_map={
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
],
|
|
91
|
-
'content_type': [
|
|
92
|
-
'application/json'
|
|
93
|
-
]
|
|
77
|
+
"accept": ["application/json"],
|
|
78
|
+
"content_type": ["application/json"],
|
|
94
79
|
},
|
|
95
|
-
api_client=api_client
|
|
80
|
+
api_client=api_client,
|
|
96
81
|
)
|
|
97
82
|
|
|
98
|
-
def validate_phone(
|
|
99
|
-
self,
|
|
100
|
-
validate_bizum_phone_request,
|
|
101
|
-
**kwargs
|
|
102
|
-
):
|
|
83
|
+
def validate_phone(self, validate_bizum_phone_request, **kwargs):
|
|
103
84
|
"""Validate Phone # noqa: E501
|
|
104
85
|
|
|
105
86
|
Validates if a phone number is registered with Bizum. Use this endpoint to check if a customer's phone number can be used for Bizum payments before attempting to process a payment. This helps provide a better user experience by preventing failed payment attempts for non-registered numbers. The response will indicate whether the phone number is valid for Bizum payments. # noqa: E501
|
|
@@ -149,32 +130,15 @@ class BizumApi(object):
|
|
|
149
130
|
If the method is called asynchronously, returns the request
|
|
150
131
|
thread.
|
|
151
132
|
"""
|
|
152
|
-
kwargs[
|
|
153
|
-
|
|
154
|
-
)
|
|
155
|
-
kwargs[
|
|
156
|
-
|
|
157
|
-
)
|
|
158
|
-
kwargs[
|
|
159
|
-
|
|
160
|
-
)
|
|
161
|
-
kwargs[
|
|
162
|
-
|
|
163
|
-
)
|
|
164
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
165
|
-
'_check_input_type', True
|
|
166
|
-
)
|
|
167
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
168
|
-
'_check_return_type', True
|
|
169
|
-
)
|
|
170
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
171
|
-
'_spec_property_naming', False
|
|
172
|
-
)
|
|
173
|
-
kwargs['_content_type'] = kwargs.get(
|
|
174
|
-
'_content_type')
|
|
175
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
176
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
177
|
-
kwargs['validate_bizum_phone_request'] = \
|
|
178
|
-
validate_bizum_phone_request
|
|
133
|
+
kwargs["async_req"] = kwargs.get("async_req", False)
|
|
134
|
+
kwargs["_return_http_data_only"] = kwargs.get("_return_http_data_only", True)
|
|
135
|
+
kwargs["_preload_content"] = kwargs.get("_preload_content", True)
|
|
136
|
+
kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
|
|
137
|
+
kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
|
|
138
|
+
kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
|
|
139
|
+
kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
|
|
140
|
+
kwargs["_content_type"] = kwargs.get("_content_type")
|
|
141
|
+
kwargs["_host_index"] = kwargs.get("_host_index")
|
|
142
|
+
kwargs["_request_auths"] = kwargs.get("_request_auths", None)
|
|
143
|
+
kwargs["validate_bizum_phone_request"] = validate_bizum_phone_request
|
|
179
144
|
return self.validate_phone_endpoint.call_with_http_info(**kwargs)
|
|
180
|
-
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
MONEI API v1
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
The version of the OpenAPI document: 1.6.1
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
import re # noqa: F401
|
|
12
11
|
import sys # noqa: F401
|
|
13
12
|
|
|
@@ -19,7 +18,7 @@ from Monei.model_utils import ( # noqa: F401
|
|
|
19
18
|
datetime,
|
|
20
19
|
file_type,
|
|
21
20
|
none_type,
|
|
22
|
-
validate_and_convert_types
|
|
21
|
+
validate_and_convert_types,
|
|
23
22
|
)
|
|
24
23
|
from Monei.model.bad_request_error import BadRequestError
|
|
25
24
|
from Monei.model.internal_server_error import InternalServerError
|
|
@@ -43,63 +42,48 @@ class PaymentMethodsApi(object):
|
|
|
43
42
|
self.api_client = api_client
|
|
44
43
|
self.get_endpoint = _Endpoint(
|
|
45
44
|
settings={
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
'http_method': 'GET',
|
|
53
|
-
'servers': None,
|
|
45
|
+
"response_type": (PaymentMethods,),
|
|
46
|
+
"auth": ["APIKey"],
|
|
47
|
+
"endpoint_path": "/payment-methods",
|
|
48
|
+
"operation_id": "get",
|
|
49
|
+
"http_method": "GET",
|
|
50
|
+
"servers": None,
|
|
54
51
|
},
|
|
55
52
|
params_map={
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
],
|
|
60
|
-
'required': [],
|
|
61
|
-
'nullable': [
|
|
62
|
-
],
|
|
63
|
-
'enum': [
|
|
53
|
+
"all": [
|
|
54
|
+
"account_id",
|
|
55
|
+
"payment_id",
|
|
64
56
|
],
|
|
65
|
-
|
|
66
|
-
]
|
|
57
|
+
"required": [],
|
|
58
|
+
"nullable": [],
|
|
59
|
+
"enum": [],
|
|
60
|
+
"validation": [],
|
|
67
61
|
},
|
|
68
62
|
root_map={
|
|
69
|
-
|
|
63
|
+
"validations": {},
|
|
64
|
+
"allowed_values": {},
|
|
65
|
+
"openapi_types": {
|
|
66
|
+
"account_id": (str,),
|
|
67
|
+
"payment_id": (str,),
|
|
70
68
|
},
|
|
71
|
-
|
|
69
|
+
"attribute_map": {
|
|
70
|
+
"account_id": "accountId",
|
|
71
|
+
"payment_id": "paymentId",
|
|
72
72
|
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
'payment_id':
|
|
77
|
-
(str,),
|
|
73
|
+
"location_map": {
|
|
74
|
+
"account_id": "query",
|
|
75
|
+
"payment_id": "query",
|
|
78
76
|
},
|
|
79
|
-
|
|
80
|
-
'account_id': 'accountId',
|
|
81
|
-
'payment_id': 'paymentId',
|
|
82
|
-
},
|
|
83
|
-
'location_map': {
|
|
84
|
-
'account_id': 'query',
|
|
85
|
-
'payment_id': 'query',
|
|
86
|
-
},
|
|
87
|
-
'collection_format_map': {
|
|
88
|
-
}
|
|
77
|
+
"collection_format_map": {},
|
|
89
78
|
},
|
|
90
79
|
headers_map={
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
],
|
|
94
|
-
'content_type': [],
|
|
80
|
+
"accept": ["application/json"],
|
|
81
|
+
"content_type": [],
|
|
95
82
|
},
|
|
96
|
-
api_client=api_client
|
|
83
|
+
api_client=api_client,
|
|
97
84
|
)
|
|
98
85
|
|
|
99
|
-
def get(
|
|
100
|
-
self,
|
|
101
|
-
**kwargs
|
|
102
|
-
):
|
|
86
|
+
def get(self, **kwargs):
|
|
103
87
|
"""Get Payment Methods # noqa: E501
|
|
104
88
|
|
|
105
89
|
Retrieve available payment methods for an account or a specific payment. You can provide either an `accountId` or a `paymentId` as a query parameter to get the available payment methods. When providing a `paymentId`, the response will include additional payment-specific information such as amount and currency. This is useful when you want to show payment options that are specifically available for a particular transaction. When providing an `accountId`, the response will include all payment methods available for that account based on the merchant's configuration and supported payment methods. # noqa: E501
|
|
@@ -149,30 +133,14 @@ class PaymentMethodsApi(object):
|
|
|
149
133
|
If the method is called asynchronously, returns the request
|
|
150
134
|
thread.
|
|
151
135
|
"""
|
|
152
|
-
kwargs[
|
|
153
|
-
|
|
154
|
-
)
|
|
155
|
-
kwargs[
|
|
156
|
-
|
|
157
|
-
)
|
|
158
|
-
kwargs[
|
|
159
|
-
|
|
160
|
-
)
|
|
161
|
-
kwargs[
|
|
162
|
-
'_request_timeout', None
|
|
163
|
-
)
|
|
164
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
165
|
-
'_check_input_type', True
|
|
166
|
-
)
|
|
167
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
168
|
-
'_check_return_type', True
|
|
169
|
-
)
|
|
170
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
171
|
-
'_spec_property_naming', False
|
|
172
|
-
)
|
|
173
|
-
kwargs['_content_type'] = kwargs.get(
|
|
174
|
-
'_content_type')
|
|
175
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
176
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
136
|
+
kwargs["async_req"] = kwargs.get("async_req", False)
|
|
137
|
+
kwargs["_return_http_data_only"] = kwargs.get("_return_http_data_only", True)
|
|
138
|
+
kwargs["_preload_content"] = kwargs.get("_preload_content", True)
|
|
139
|
+
kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
|
|
140
|
+
kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
|
|
141
|
+
kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
|
|
142
|
+
kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
|
|
143
|
+
kwargs["_content_type"] = kwargs.get("_content_type")
|
|
144
|
+
kwargs["_host_index"] = kwargs.get("_host_index")
|
|
145
|
+
kwargs["_request_auths"] = kwargs.get("_request_auths", None)
|
|
177
146
|
return self.get_endpoint.call_with_http_info(**kwargs)
|
|
178
|
-
|