Monei 2.0.2__tar.gz → 2.2.0__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.2.0/.husky/commit-msg +4 -0
- monei-2.2.0/.husky/pre-commit +1 -0
- {monei-2.0.2 → monei-2.2.0}/.openapi-generator/FILES +13 -7
- monei-2.2.0/.release-it.json +37 -0
- monei-2.2.0/CHANGELOG.md +14 -0
- monei-2.2.0/Monei/__init__.py +29 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/api/apple_pay_domain_api.py +9 -9
- {monei-2.0.2 → monei-2.2.0}/Monei/api/bizum_api.py +9 -9
- {monei-2.0.2 → monei-2.2.0}/Monei/api/payment_methods_api.py +12 -10
- {monei-2.0.2 → monei-2.2.0}/Monei/api/payments_api.py +18 -18
- {monei-2.0.2 → monei-2.2.0}/Monei/api/subscriptions_api.py +17 -17
- {monei-2.0.2 → monei-2.2.0}/Monei/api_client.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/configuration.py +3 -3
- {monei-2.0.2 → monei-2.2.0}/Monei/exceptions.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/activate_subscription_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/address.py +2 -2
- monei-2.2.0/Monei/model/api_exception.py +293 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/model/apple_pay_domain_register200_response.py +2 -2
- monei-2.0.2/Monei/model/apple_pay_domain_register404_response.py → monei-2.2.0/Monei/model/bad_request_error.py +11 -8
- monei-2.0.2/Monei/model/browser_color_depth.py → monei-2.2.0/Monei/model/bad_request_error_all_of.py +17 -5
- {monei-2.0.2 → monei-2.2.0}/Monei/model/bizum_validate_phone200_response.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/cancel_payment_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/cancel_subscription_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/capture_payment_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/confirm_payment_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/confirm_payment_request_payment_method.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/confirm_payment_request_payment_method_card.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/create_payment_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/create_subscription_request.py +2 -2
- monei-2.0.2/Monei/model/error.py → monei-2.2.0/Monei/model/error_base.py +4 -4
- monei-2.0.2/Monei/model/apple_pay_domain_register400_response.py → monei-2.2.0/Monei/model/internal_server_error.py +11 -8
- monei-2.2.0/Monei/model/internal_server_error_all_of.py +271 -0
- monei-2.0.2/Monei/model/apple_pay_domain_register422_response.py → monei-2.2.0/Monei/model/not_found_error.py +11 -8
- monei-2.0.2/Monei/model/browser_screen_height.py → monei-2.2.0/Monei/model/not_found_error_all_of.py +17 -5
- {monei-2.0.2 → monei-2.2.0}/Monei/model/pause_subscription_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_billing_details.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_cancellation_reason.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_customer.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_last_refund_reason.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_message_channel.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_message_language.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_alipay.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_apple_pay.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_bancontact.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_bizum.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_blik.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_card.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay_discover.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay_mastercard.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay_visa.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_eps.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_giropay.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_google_pay.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_i_deal.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_klarna.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_mbway.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_sepa.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_sofort.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_trustly.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_methods.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_next_action.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_bizum.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_bizum_input.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_card.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_card_input.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_cofidis.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_input.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_klarna.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_mbway.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_paypal.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_sepa.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_trustly.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_methods.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_refund_reason.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_sequence.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_sequence_recurring.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_session_details.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_shipping_details.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_shop.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_status.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_trace_details.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_transaction_type.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/recurring_payment_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/refund_payment_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/register_apple_pay_domain_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/send_payment_link_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/send_payment_receipt_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/send_payment_request_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/send_subscription_link_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/send_subscription_status_request.py +2 -2
- monei-2.0.2/Monei/model/apple_pay_domain_register401_response.py → monei-2.2.0/Monei/model/service_unavailable_error.py +11 -8
- monei-2.2.0/Monei/model/service_unavailable_error_all_of.py +271 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_interval.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_last_payment.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_payment_method.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_payment_method_card.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_retry_schedule.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_retry_schedule_inner.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_status.py +2 -2
- monei-2.2.0/Monei/model/unauthorized_error.py +338 -0
- monei-2.2.0/Monei/model/unauthorized_error_all_of.py +271 -0
- monei-2.2.0/Monei/model/unprocessable_entity_error.py +338 -0
- monei-2.2.0/Monei/model/unprocessable_entity_error_all_of.py +271 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/model/update_subscription_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model/validate_bizum_phone_request.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/model_utils.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/Monei/models/__init__.py +13 -7
- {monei-2.0.2 → monei-2.2.0}/Monei/rest.py +2 -2
- {monei-2.0.2 → monei-2.2.0}/PKG-INFO +2 -5
- {monei-2.0.2 → monei-2.2.0}/README.md +1 -4
- monei-2.2.0/commitlint.config.js +7 -0
- monei-2.2.0/config.json +8 -0
- {monei-2.0.2 → monei-2.2.0}/openapitools.json +0 -2
- monei-2.2.0/package.json +26 -0
- {monei-2.0.2 → monei-2.2.0}/pyproject.toml +25 -5
- monei-2.2.0/test/test_api_exception.py +35 -0
- monei-2.2.0/test/test_api_response.py +93 -0
- monei-2.2.0/test/test_bad_request_error.py +39 -0
- monei-2.2.0/test/test_bad_request_error_all_of.py +35 -0
- monei-2.2.0/test/test_configuration.py +221 -0
- monei-2.2.0/test/test_error_base.py +35 -0
- monei-2.2.0/test/test_exceptions.py +206 -0
- monei-2.2.0/test/test_internal_server_error.py +39 -0
- monei-2.2.0/test/test_internal_server_error_all_of.py +35 -0
- monei-2.2.0/test/test_model_utils.py +345 -0
- monei-2.2.0/test/test_monei_client_additional.py +205 -0
- monei-2.2.0/test/test_not_found_error.py +39 -0
- monei-2.2.0/test/test_not_found_error_all_of.py +35 -0
- monei-2.2.0/test/test_payment_example.py +180 -0
- monei-2.2.0/test/test_payments_api_example.py +282 -0
- monei-2.2.0/test/test_rest_example.py +222 -0
- monei-2.2.0/test/test_service_unavailable_error.py +39 -0
- monei-2.2.0/test/test_service_unavailable_error_all_of.py +35 -0
- monei-2.2.0/test/test_unauthorized_error.py +39 -0
- monei-2.2.0/test/test_unauthorized_error_all_of.py +35 -0
- monei-2.2.0/test/test_unprocessable_entity_error.py +39 -0
- monei-2.2.0/test/test_unprocessable_entity_error_all_of.py +35 -0
- {monei-2.0.2 → monei-2.2.0}/uv.lock +1 -1
- {monei-2.0.2 → monei-2.2.0}/yarn.lock +1023 -11
- monei-2.0.2/Monei/__init__.py +0 -29
- monei-2.0.2/Monei/model/apple_pay_domain_register500_response.py +0 -335
- monei-2.0.2/Monei/model/apple_pay_domain_register503_response.py +0 -335
- monei-2.0.2/Monei/model/browser_screen_width.py +0 -259
- monei-2.0.2/Monei/model/browser_timezone_offset.py +0 -259
- monei-2.0.2/PUBLISHING.md +0 -48
- monei-2.0.2/config.json +0 -11
- monei-2.0.2/package.json +0 -54
- {monei-2.0.2 → monei-2.2.0}/.cursor/rules/general.mdc +0 -0
- {monei-2.0.2 → monei-2.2.0}/.gitattributes +0 -0
- {monei-2.0.2 → monei-2.2.0}/.github/workflows/deploy.yml +0 -0
- {monei-2.0.2 → monei-2.2.0}/.github/workflows/test.yml +0 -0
- {monei-2.0.2 → monei-2.2.0}/.gitignore +0 -0
- {monei-2.0.2 → monei-2.2.0}/.openapi-generator/VERSION +0 -0
- {monei-2.0.2 → monei-2.2.0}/.openapi-generator-ignore +0 -0
- {monei-2.0.2 → monei-2.2.0}/.uv/uv.toml +0 -0
- {monei-2.0.2 → monei-2.2.0}/.yarnrc.yml +0 -0
- {monei-2.0.2 → monei-2.2.0}/LICENSE +0 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/api/__init__.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/api_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/apis/__init__.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/model/__init__.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/monei_client.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/Monei/py.typed +0 -0
- {monei-2.0.2 → monei-2.2.0}/scripts/build.sh +0 -0
- {monei-2.0.2 → monei-2.2.0}/scripts/post-build.sh +0 -0
- {monei-2.0.2 → monei-2.2.0}/scripts/release.sh +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/__init__.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_activate_subscription_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_address.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_api.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_api_integration.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register200_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register400_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register401_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register404_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register422_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register500_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register503_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_bizum_api.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_bizum_api_integration.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_bizum_validate_phone200_response.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_browser_color_depth.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_browser_screen_height.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_browser_screen_width.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_browser_timezone_offset.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_cancel_payment_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_cancel_subscription_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_capture_payment_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_confirm_payment_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_confirm_payment_request_payment_method.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_confirm_payment_request_payment_method_card.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_create_payment_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_create_subscription_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_error.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_error_handling.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_monei_client.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_pause_subscription_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_billing_details.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_cancellation_reason.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_customer.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_last_refund_reason.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_message_channel.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_message_language.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_api.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_api_integration.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_alipay.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_apple_pay.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_bancontact.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_bizum.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_blik.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_card.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay_discover.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay_mastercard.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay_visa.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_eps.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_giropay.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_google_pay.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_i_deal.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_klarna.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_mbway.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_sepa.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_sofort.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_trustly.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_methods.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_next_action.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_bizum.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_bizum_input.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_card.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_card_input.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_cofidis.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_input.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_klarna.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_mbway.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_paypal.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_sepa.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_trustly.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_methods.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_refund_reason.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_sequence.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_sequence_recurring.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_session_details.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_shipping_details.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_shop.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_status.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_trace_details.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payment_transaction_type.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payments_api.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_payments_api_integration.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_recurring_payment_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_refund_payment_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_register_apple_pay_domain_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_send_payment_link_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_send_payment_receipt_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_send_payment_request_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_send_subscription_link_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_send_subscription_status_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription_interval.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription_last_payment.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription_payment_method.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription_payment_method_card.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription_retry_schedule.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription_retry_schedule_inner.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscription_status.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscriptions_api.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_subscriptions_api_integration.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_update_subscription_request.py +0 -0
- {monei-2.0.2 → monei-2.2.0}/test/test_validate_bizum_phone_request.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
yarn test
|
|
@@ -12,13 +12,10 @@ Monei/exceptions.py
|
|
|
12
12
|
Monei/model/__init__.py
|
|
13
13
|
Monei/model/activate_subscription_request.py
|
|
14
14
|
Monei/model/address.py
|
|
15
|
+
Monei/model/api_exception.py
|
|
15
16
|
Monei/model/apple_pay_domain_register200_response.py
|
|
16
|
-
Monei/model/
|
|
17
|
-
Monei/model/
|
|
18
|
-
Monei/model/apple_pay_domain_register404_response.py
|
|
19
|
-
Monei/model/apple_pay_domain_register422_response.py
|
|
20
|
-
Monei/model/apple_pay_domain_register500_response.py
|
|
21
|
-
Monei/model/apple_pay_domain_register503_response.py
|
|
17
|
+
Monei/model/bad_request_error.py
|
|
18
|
+
Monei/model/bad_request_error_all_of.py
|
|
22
19
|
Monei/model/bizum_validate_phone200_response.py
|
|
23
20
|
Monei/model/cancel_payment_request.py
|
|
24
21
|
Monei/model/cancel_subscription_request.py
|
|
@@ -28,7 +25,10 @@ Monei/model/confirm_payment_request_payment_method.py
|
|
|
28
25
|
Monei/model/confirm_payment_request_payment_method_card.py
|
|
29
26
|
Monei/model/create_payment_request.py
|
|
30
27
|
Monei/model/create_subscription_request.py
|
|
31
|
-
Monei/model/
|
|
28
|
+
Monei/model/internal_server_error.py
|
|
29
|
+
Monei/model/internal_server_error_all_of.py
|
|
30
|
+
Monei/model/not_found_error.py
|
|
31
|
+
Monei/model/not_found_error_all_of.py
|
|
32
32
|
Monei/model/pause_subscription_request.py
|
|
33
33
|
Monei/model/payment.py
|
|
34
34
|
Monei/model/payment_billing_details.py
|
|
@@ -90,6 +90,8 @@ Monei/model/send_payment_receipt_request.py
|
|
|
90
90
|
Monei/model/send_payment_request_request.py
|
|
91
91
|
Monei/model/send_subscription_link_request.py
|
|
92
92
|
Monei/model/send_subscription_status_request.py
|
|
93
|
+
Monei/model/service_unavailable_error.py
|
|
94
|
+
Monei/model/service_unavailable_error_all_of.py
|
|
93
95
|
Monei/model/subscription.py
|
|
94
96
|
Monei/model/subscription_interval.py
|
|
95
97
|
Monei/model/subscription_last_payment.py
|
|
@@ -98,6 +100,10 @@ Monei/model/subscription_payment_method_card.py
|
|
|
98
100
|
Monei/model/subscription_retry_schedule.py
|
|
99
101
|
Monei/model/subscription_retry_schedule_inner.py
|
|
100
102
|
Monei/model/subscription_status.py
|
|
103
|
+
Monei/model/unauthorized_error.py
|
|
104
|
+
Monei/model/unauthorized_error_all_of.py
|
|
105
|
+
Monei/model/unprocessable_entity_error.py
|
|
106
|
+
Monei/model/unprocessable_entity_error_all_of.py
|
|
101
107
|
Monei/model/update_subscription_request.py
|
|
102
108
|
Monei/model/validate_bizum_phone_request.py
|
|
103
109
|
Monei/model_utils.py
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"git": {
|
|
3
|
+
"tagName": "v${version}",
|
|
4
|
+
"commitMessage": "chore: release v${version}"
|
|
5
|
+
},
|
|
6
|
+
"github": {
|
|
7
|
+
"release": true
|
|
8
|
+
},
|
|
9
|
+
"npm": {
|
|
10
|
+
"publish": false
|
|
11
|
+
},
|
|
12
|
+
"hooks": {
|
|
13
|
+
"after:bump": "yarn build && yarn test && git add -A"
|
|
14
|
+
},
|
|
15
|
+
"plugins": {
|
|
16
|
+
"@release-it/bumper": {
|
|
17
|
+
"out": [
|
|
18
|
+
{
|
|
19
|
+
"file": "config.json",
|
|
20
|
+
"path": [
|
|
21
|
+
"version"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"file": "pyproject.toml",
|
|
26
|
+
"path": [
|
|
27
|
+
"project.version"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"@release-it/conventional-changelog": {
|
|
33
|
+
"preset": "angular",
|
|
34
|
+
"infile": "CHANGELOG.md"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
monei-2.2.0/CHANGELOG.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 2.2.0 (2025-03-11)
|
|
4
|
+
|
|
5
|
+
* feat: Update SDK to OpenAPI specification version 1.5.8 ([35bd7e1](https://github.com/MONEI/monei-python-sdk/commit/35bd7e1))
|
|
6
|
+
* refactor: Simplify signature verification and update commitlint config ([da7bea9](https://github.com/MONEI/monei-python-sdk/commit/da7bea9))
|
|
7
|
+
|
|
8
|
+
## 2.1.0 (2025-03-08)
|
|
9
|
+
|
|
10
|
+
* feat: Update SDK to OpenAPI specification version 1.5.7 ([39ace3a](https://github.com/MONEI/monei-python-sdk/commit/39ace3a))
|
|
11
|
+
* docs: Remove external documentation link from README ([766db44](https://github.com/MONEI/monei-python-sdk/commit/766db44))
|
|
12
|
+
* chore: Add commitlint and conventional changelog configuration ([04fa1f3](https://github.com/MONEI/monei-python-sdk/commit/04fa1f3))
|
|
13
|
+
|
|
14
|
+
All notable changes to this project will be documented in this file.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
MONEI API v1
|
|
5
|
+
|
|
6
|
+
The MONEI API is organized around [REST](https://en.wikipedia.org/wiki/Representational_State_Transfer) 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. # Authentication <!-- Redoc-Inject: <security-definitions> --> # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.5.8
|
|
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
|
+
# import custom MoneiClient
|
|
29
|
+
from Monei.monei_client import MoneiClient
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""
|
|
2
2
|
MONEI API v1
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
The MONEI API is organized around [REST](https://en.wikipedia.org/wiki/Representational_State_Transfer) 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. # Authentication <!-- Redoc-Inject: <security-definitions> --> # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.5.
|
|
6
|
+
The version of the OpenAPI document: 1.5.8
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -22,13 +22,13 @@ from Monei.model_utils import ( # noqa: F401
|
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
24
|
from Monei.model.apple_pay_domain_register200_response import ApplePayDomainRegister200Response
|
|
25
|
-
from Monei.model.
|
|
26
|
-
from Monei.model.
|
|
27
|
-
from Monei.model.
|
|
28
|
-
from Monei.model.apple_pay_domain_register422_response import ApplePayDomainRegister422Response
|
|
29
|
-
from Monei.model.apple_pay_domain_register500_response import ApplePayDomainRegister500Response
|
|
30
|
-
from Monei.model.apple_pay_domain_register503_response import ApplePayDomainRegister503Response
|
|
25
|
+
from Monei.model.bad_request_error import BadRequestError
|
|
26
|
+
from Monei.model.internal_server_error import InternalServerError
|
|
27
|
+
from Monei.model.not_found_error import NotFoundError
|
|
31
28
|
from Monei.model.register_apple_pay_domain_request import RegisterApplePayDomainRequest
|
|
29
|
+
from Monei.model.service_unavailable_error import ServiceUnavailableError
|
|
30
|
+
from Monei.model.unauthorized_error import UnauthorizedError
|
|
31
|
+
from Monei.model.unprocessable_entity_error import UnprocessableEntityError
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class ApplePayDomainApi(object):
|
|
@@ -102,7 +102,7 @@ class ApplePayDomainApi(object):
|
|
|
102
102
|
):
|
|
103
103
|
"""Register Domain # noqa: E501
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
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
|
|
106
106
|
This method makes a synchronous HTTP request by default. To make an
|
|
107
107
|
asynchronous HTTP request, please pass async_req=True
|
|
108
108
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""
|
|
2
2
|
MONEI API v1
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
The MONEI API is organized around [REST](https://en.wikipedia.org/wiki/Representational_State_Transfer) 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. # Authentication <!-- Redoc-Inject: <security-definitions> --> # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.5.
|
|
6
|
+
The version of the OpenAPI document: 1.5.8
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -21,13 +21,13 @@ from Monei.model_utils import ( # noqa: F401
|
|
|
21
21
|
none_type,
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
|
-
from Monei.model.
|
|
25
|
-
from Monei.model.apple_pay_domain_register401_response import ApplePayDomainRegister401Response
|
|
26
|
-
from Monei.model.apple_pay_domain_register404_response import ApplePayDomainRegister404Response
|
|
27
|
-
from Monei.model.apple_pay_domain_register422_response import ApplePayDomainRegister422Response
|
|
28
|
-
from Monei.model.apple_pay_domain_register500_response import ApplePayDomainRegister500Response
|
|
29
|
-
from Monei.model.apple_pay_domain_register503_response import ApplePayDomainRegister503Response
|
|
24
|
+
from Monei.model.bad_request_error import BadRequestError
|
|
30
25
|
from Monei.model.bizum_validate_phone200_response import BizumValidatePhone200Response
|
|
26
|
+
from Monei.model.internal_server_error import InternalServerError
|
|
27
|
+
from Monei.model.not_found_error import NotFoundError
|
|
28
|
+
from Monei.model.service_unavailable_error import ServiceUnavailableError
|
|
29
|
+
from Monei.model.unauthorized_error import UnauthorizedError
|
|
30
|
+
from Monei.model.unprocessable_entity_error import UnprocessableEntityError
|
|
31
31
|
from Monei.model.validate_bizum_phone_request import ValidateBizumPhoneRequest
|
|
32
32
|
|
|
33
33
|
|
|
@@ -102,7 +102,7 @@ class BizumApi(object):
|
|
|
102
102
|
):
|
|
103
103
|
"""Validate Phone # noqa: E501
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
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
|
|
106
106
|
This method makes a synchronous HTTP request by default. To make an
|
|
107
107
|
asynchronous HTTP request, please pass async_req=True
|
|
108
108
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""
|
|
2
2
|
MONEI API v1
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
The MONEI API is organized around [REST](https://en.wikipedia.org/wiki/Representational_State_Transfer) 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. # Authentication <!-- Redoc-Inject: <security-definitions> --> # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.5.
|
|
6
|
+
The version of the OpenAPI document: 1.5.8
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -21,13 +21,13 @@ from Monei.model_utils import ( # noqa: F401
|
|
|
21
21
|
none_type,
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
|
-
from Monei.model.
|
|
25
|
-
from Monei.model.
|
|
26
|
-
from Monei.model.
|
|
27
|
-
from Monei.model.apple_pay_domain_register422_response import ApplePayDomainRegister422Response
|
|
28
|
-
from Monei.model.apple_pay_domain_register500_response import ApplePayDomainRegister500Response
|
|
29
|
-
from Monei.model.apple_pay_domain_register503_response import ApplePayDomainRegister503Response
|
|
24
|
+
from Monei.model.bad_request_error import BadRequestError
|
|
25
|
+
from Monei.model.internal_server_error import InternalServerError
|
|
26
|
+
from Monei.model.not_found_error import NotFoundError
|
|
30
27
|
from Monei.model.payment_methods import PaymentMethods
|
|
28
|
+
from Monei.model.service_unavailable_error import ServiceUnavailableError
|
|
29
|
+
from Monei.model.unauthorized_error import UnauthorizedError
|
|
30
|
+
from Monei.model.unprocessable_entity_error import UnprocessableEntityError
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
class PaymentMethodsApi(object):
|
|
@@ -44,7 +44,9 @@ class PaymentMethodsApi(object):
|
|
|
44
44
|
self.get_endpoint = _Endpoint(
|
|
45
45
|
settings={
|
|
46
46
|
'response_type': (PaymentMethods,),
|
|
47
|
-
'auth': [
|
|
47
|
+
'auth': [
|
|
48
|
+
'APIKey'
|
|
49
|
+
],
|
|
48
50
|
'endpoint_path': '/payment-methods',
|
|
49
51
|
'operation_id': 'get',
|
|
50
52
|
'http_method': 'GET',
|
|
@@ -100,7 +102,7 @@ class PaymentMethodsApi(object):
|
|
|
100
102
|
):
|
|
101
103
|
"""Get Payment Methods # noqa: E501
|
|
102
104
|
|
|
103
|
-
|
|
105
|
+
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
|
|
104
106
|
This method makes a synchronous HTTP request by default. To make an
|
|
105
107
|
asynchronous HTTP request, please pass async_req=True
|
|
106
108
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"""
|
|
2
2
|
MONEI API v1
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
The MONEI API is organized around [REST](https://en.wikipedia.org/wiki/Representational_State_Transfer) 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. # Authentication <!-- Redoc-Inject: <security-definitions> --> # noqa: E501
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.5.
|
|
6
|
+
The version of the OpenAPI document: 1.5.8
|
|
7
7
|
Generated by: https://openapi-generator.tech
|
|
8
8
|
"""
|
|
9
9
|
|
|
@@ -21,22 +21,22 @@ from Monei.model_utils import ( # noqa: F401
|
|
|
21
21
|
none_type,
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
|
-
from Monei.model.
|
|
25
|
-
from Monei.model.apple_pay_domain_register401_response import ApplePayDomainRegister401Response
|
|
26
|
-
from Monei.model.apple_pay_domain_register404_response import ApplePayDomainRegister404Response
|
|
27
|
-
from Monei.model.apple_pay_domain_register422_response import ApplePayDomainRegister422Response
|
|
28
|
-
from Monei.model.apple_pay_domain_register500_response import ApplePayDomainRegister500Response
|
|
29
|
-
from Monei.model.apple_pay_domain_register503_response import ApplePayDomainRegister503Response
|
|
24
|
+
from Monei.model.bad_request_error import BadRequestError
|
|
30
25
|
from Monei.model.cancel_payment_request import CancelPaymentRequest
|
|
31
26
|
from Monei.model.capture_payment_request import CapturePaymentRequest
|
|
32
27
|
from Monei.model.confirm_payment_request import ConfirmPaymentRequest
|
|
33
28
|
from Monei.model.create_payment_request import CreatePaymentRequest
|
|
29
|
+
from Monei.model.internal_server_error import InternalServerError
|
|
30
|
+
from Monei.model.not_found_error import NotFoundError
|
|
34
31
|
from Monei.model.payment import Payment
|
|
35
32
|
from Monei.model.recurring_payment_request import RecurringPaymentRequest
|
|
36
33
|
from Monei.model.refund_payment_request import RefundPaymentRequest
|
|
37
34
|
from Monei.model.send_payment_link_request import SendPaymentLinkRequest
|
|
38
35
|
from Monei.model.send_payment_receipt_request import SendPaymentReceiptRequest
|
|
39
36
|
from Monei.model.send_payment_request_request import SendPaymentRequestRequest
|
|
37
|
+
from Monei.model.service_unavailable_error import ServiceUnavailableError
|
|
38
|
+
from Monei.model.unauthorized_error import UnauthorizedError
|
|
39
|
+
from Monei.model.unprocessable_entity_error import UnprocessableEntityError
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
class PaymentsApi(object):
|
|
@@ -618,7 +618,7 @@ class PaymentsApi(object):
|
|
|
618
618
|
):
|
|
619
619
|
"""Cancel Payment # noqa: E501
|
|
620
620
|
|
|
621
|
-
|
|
621
|
+
Releases reserved funds from a previously authorized payment. This endpoint can only be used with payments in `AUTHORIZED` status. This operation is part of the two-step authorization flow: 1. **Authorize**: Create a payment with `transactionType: AUTH` to reserve funds 2. **Cancel**: Release the reserved funds if you decide not to capture the payment Cancellation makes the reserved funds available to the customer again and prevents you from being able to capture those funds in the future. Once cancelled, an authorization cannot be reactivated. # noqa: E501
|
|
622
622
|
This method makes a synchronous HTTP request by default. To make an
|
|
623
623
|
asynchronous HTTP request, please pass async_req=True
|
|
624
624
|
|
|
@@ -702,7 +702,7 @@ class PaymentsApi(object):
|
|
|
702
702
|
):
|
|
703
703
|
"""Capture Payment # noqa: E501
|
|
704
704
|
|
|
705
|
-
|
|
705
|
+
Captures funds from a previously authorized payment. This endpoint can only be used with payments in `AUTHORIZED` status. This operation completes the two-step authorization flow: 1. **Authorize**: Create a payment with `transactionType: AUTH` to reserve funds 2. **Capture**: Transfer the reserved funds to your account when ready to fulfill the order **Important**: Authorized payments expire after exactly seven days. After expiration, they will be marked as `EXPIRED` and can no longer be captured. Be sure to capture funds within this timeframe or communicate with your customer about a new payment. # noqa: E501
|
|
706
706
|
This method makes a synchronous HTTP request by default. To make an
|
|
707
707
|
asynchronous HTTP request, please pass async_req=True
|
|
708
708
|
|
|
@@ -786,7 +786,7 @@ class PaymentsApi(object):
|
|
|
786
786
|
):
|
|
787
787
|
"""Confirm Payment # noqa: E501
|
|
788
788
|
|
|
789
|
-
|
|
789
|
+
Confirms a payment that was created without payment details. This endpoint can only be used with payments in `PENDING` status. The two-step payment flow: 1. **Create**: First, create a payment without payment details (status: `PENDING`) 2. **Confirm**: Then provide payment details to complete the transaction When confirming a payment, you can use: - A newly generated `paymentToken` from [monei.js Components](https://docs.monei.com/docs/monei-js-overview) - A permanent `paymentToken` from a previous payment (generated with `generatePaymentToken: true`) Using permanent payment tokens enables one-click checkout experiences for returning customers without requiring them to re-enter their payment information. You can provide additional customer information during confirmation, which will override any corresponding information originally passed in the payment creation request. # noqa: E501
|
|
790
790
|
This method makes a synchronous HTTP request by default. To make an
|
|
791
791
|
asynchronous HTTP request, please pass async_req=True
|
|
792
792
|
|
|
@@ -870,7 +870,7 @@ class PaymentsApi(object):
|
|
|
870
870
|
):
|
|
871
871
|
"""Create Payment # noqa: E501
|
|
872
872
|
|
|
873
|
-
|
|
873
|
+
Creates a new payment with the specified parameters. You can create a payment in two ways: 1. **Immediate processing**: Provide a `paymentToken` or `paymentMethod` - The payment will be processed instantly 2. **Deferred processing**: Create without payment details - The payment remains in `PENDING` status until you confirm it later using the [confirm endpoint](#operation/payments_confirm) When creating a payment without payment details, you can redirect customers to the hosted payment page where they can select their preferred payment method and complete the transaction. For immediate processing, use one of these token options: - A temporary `paymentToken` generated on the frontend using [monei.js Components](https://docs.monei.com/docs/monei-js-overview) - A permanent `paymentToken` from a previous successful payment (when `generatePaymentToken: true` was included) Permanent tokens enable one-click checkout experiences for returning customers by allowing you to securely store and reuse payment details without requiring customers to re-enter their information. # noqa: E501
|
|
874
874
|
This method makes a synchronous HTTP request by default. To make an
|
|
875
875
|
asynchronous HTTP request, please pass async_req=True
|
|
876
876
|
|
|
@@ -953,7 +953,7 @@ class PaymentsApi(object):
|
|
|
953
953
|
):
|
|
954
954
|
"""Get Payment # noqa: E501
|
|
955
955
|
|
|
956
|
-
|
|
956
|
+
Retrieves the complete details of an existing payment by its unique ID. This endpoint returns all available information about the payment, including its current status, amount, customer details, timestamps, and transaction history. Use this to check the status of a payment, verify payment details, or retrieve information for your records. Supply the unique payment ID that was returned from your previous request. # noqa: E501
|
|
957
957
|
This method makes a synchronous HTTP request by default. To make an
|
|
958
958
|
asynchronous HTTP request, please pass async_req=True
|
|
959
959
|
|
|
@@ -1036,7 +1036,7 @@ class PaymentsApi(object):
|
|
|
1036
1036
|
):
|
|
1037
1037
|
"""Recurring Payment # noqa: E501
|
|
1038
1038
|
|
|
1039
|
-
|
|
1039
|
+
Creates a subsequent charge using the payment details from a previous transaction. This endpoint enables recurring billing and subscription payments by: - Using the same payment method as the original payment - Charging the customer without requiring them to re-enter payment details - Supporting variable or fixed amounts (defaults to the original payment amount if not specified) **Prerequisites:** 1. The initial payment must be created with the `sequence` parameter 2. The initial payment will return a `sequenceId` in the response 3. This `sequenceId` must be provided in the URL path when making subsequent recurring charges Ideal for subscription services, membership renewals, and installment payments. **Need more advanced subscription management?** For comprehensive subscription management with features like billing cycles, trial periods, and automatic recurring billing, consider using the [Subscriptions API](#tag/Subscriptions) instead. It provides a complete solution for creating and managing subscription-based services. # noqa: E501
|
|
1040
1040
|
This method makes a synchronous HTTP request by default. To make an
|
|
1041
1041
|
asynchronous HTTP request, please pass async_req=True
|
|
1042
1042
|
|
|
@@ -1120,7 +1120,7 @@ class PaymentsApi(object):
|
|
|
1120
1120
|
):
|
|
1121
1121
|
"""Refund Payment # noqa: E501
|
|
1122
1122
|
|
|
1123
|
-
|
|
1123
|
+
Returns funds from a completed payment back to the customer's original payment method. **Refund options:** - **Full refund**: Return the entire payment amount - **Partial refund**: Specify an amount less than the original payment - **Multiple partial refunds**: Issue several partial refunds until the total payment amount is reached **Limitations:** - You can only refund payments that have been successfully processed - A payment can only be refunded up to its original amount - Once fully refunded, a payment cannot be refunded again - Attempting to refund more than the remaining available amount will result in an error # noqa: E501
|
|
1124
1124
|
This method makes a synchronous HTTP request by default. To make an
|
|
1125
1125
|
asynchronous HTTP request, please pass async_req=True
|
|
1126
1126
|
|
|
@@ -1204,7 +1204,7 @@ class PaymentsApi(object):
|
|
|
1204
1204
|
):
|
|
1205
1205
|
"""Send Payment Link # noqa: E501
|
|
1206
1206
|
|
|
1207
|
-
|
|
1207
|
+
Sends a payment link to the customer through their preferred communication channel. **This API can only be used for payments with the following status:** - Pending **Delivery channels are automatically selected based on available customer information:** - If customer email is available: Link is sent via email - If customer phone is available: Link is sent via WhatsApp - If WhatsApp delivery fails: Link is sent via SMS as a fallback The payment link allows customers to complete the payment at their convenience using their preferred payment method on the secure MONEI payment page. If no customer contact information is provided, the system will use the details stored in the payment record. # noqa: E501
|
|
1208
1208
|
This method makes a synchronous HTTP request by default. To make an
|
|
1209
1209
|
asynchronous HTTP request, please pass async_req=True
|
|
1210
1210
|
|
|
@@ -1288,7 +1288,7 @@ class PaymentsApi(object):
|
|
|
1288
1288
|
):
|
|
1289
1289
|
"""Send Payment Receipt # noqa: E501
|
|
1290
1290
|
|
|
1291
|
-
|
|
1291
|
+
Sends a payment receipt to the customer through their preferred communication channel. **This API can only be used for payments with the following status:** - Succeeded **Delivery channels are automatically selected based on available customer information:** - If customer email is available: Receipt is sent via email - If customer phone is available: Receipt is sent via WhatsApp - If WhatsApp delivery fails: Receipt is sent via SMS as a fallback The receipt includes payment details such as amount, date, transaction ID, and merchant information, providing customers with a record of their successful transaction. If no customer contact information is provided, the system will use the details stored in the payment record. # noqa: E501
|
|
1292
1292
|
This method makes a synchronous HTTP request by default. To make an
|
|
1293
1293
|
asynchronous HTTP request, please pass async_req=True
|
|
1294
1294
|
|
|
@@ -1373,7 +1373,7 @@ class PaymentsApi(object):
|
|
|
1373
1373
|
):
|
|
1374
1374
|
"""Send Payment Request # noqa: E501
|
|
1375
1375
|
|
|
1376
|
-
|
|
1376
|
+
Sends a direct payment request to the customer's phone with smart channel selection. **Smart delivery logic based on customer phone capabilities:** - If the phone number is registered with Bizum and that payment method is available: The customer receives a push notification in their banking app to instantly approve the payment - If Bizum is not available or the phone is not registered with Bizum: The customer receives a payment link via WhatsApp to complete the payment This endpoint provides a streamlined payment experience, especially for Spanish customers with Bizum integration, enabling quick and convenient mobile payments. # noqa: E501
|
|
1377
1377
|
This method makes a synchronous HTTP request by default. To make an
|
|
1378
1378
|
asynchronous HTTP request, please pass async_req=True
|
|
1379
1379
|
|