Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Monei/__init__.py
Monei/api/__init__.py
Monei/api/apple_pay_certificate_api.py
Monei/api/apple_pay_domain_api.py
Monei/api/bizum_api.py
Monei/api/payment_methods_api.py
Expand All @@ -10,10 +11,12 @@ Monei/apis/__init__.py
Monei/configuration.py
Monei/exceptions.py
Monei/model/__init__.py
Monei/model/activate_apple_pay_certificate_request.py
Monei/model/activate_subscription_request.py
Monei/model/address.py
Monei/model/api_exception.py
Monei/model/apple_pay_domain_register200_response.py
Monei/model/apple_pay_certificate.py
Monei/model/apple_pay_certificate_delete200_response.py
Monei/model/bad_request_error.py
Monei/model/bad_request_error_all_of.py
Monei/model/bizum_validate_phone200_response.py
Expand Down Expand Up @@ -104,6 +107,7 @@ Monei/model/unauthorized_error.py
Monei/model/unauthorized_error_all_of.py
Monei/model/unprocessable_entity_error.py
Monei/model/unprocessable_entity_error_all_of.py
Monei/model/update_apple_pay_certificate_request.py
Monei/model/update_subscription_request.py
Monei/model/validate_bizum_phone_request.py
Monei/model_utils.py
Expand Down
2 changes: 1 addition & 1 deletion Monei/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion Monei/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# do not import all apis into this module because that uses a lot of memory and stack frames
# if you need the ability to import all apis from one package, import them with
# from Monei.apis import ApplePayDomainApi
# from Monei.apis import ApplePayCertificateApi
663 changes: 663 additions & 0 deletions Monei/api/apple_pay_certificate_api.py

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Monei/api/apple_pay_domain_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand All @@ -20,8 +20,8 @@
none_type,
validate_and_convert_types,
)
from Monei.model.apple_pay_domain_register200_response import (
ApplePayDomainRegister200Response,
from Monei.model.apple_pay_certificate_delete200_response import (
ApplePayCertificateDelete200Response,
)
from Monei.model.bad_request_error import BadRequestError
from Monei.model.internal_server_error import InternalServerError
Expand All @@ -45,7 +45,7 @@ def __init__(self, api_client=None):
self.api_client = api_client
self.register_endpoint = _Endpoint(
settings={
"response_type": (ApplePayDomainRegister200Response,),
"response_type": (ApplePayCertificateDelete200Response,),
"auth": ["APIKey"],
"endpoint_path": "/apple-pay/domains",
"operation_id": "register",
Expand Down Expand Up @@ -130,7 +130,7 @@ def register(self, register_apple_pay_domain_request, **kwargs):
async_req (bool): execute request asynchronously

Returns:
ApplePayDomainRegister200Response
ApplePayCertificateDelete200Response
If the method is called asynchronously, returns the request
thread.
"""
Expand Down
2 changes: 1 addition & 1 deletion Monei/api/bizum_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion Monei/api/payment_methods_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion Monei/api/payments_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion Monei/api/subscriptions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down
10 changes: 5 additions & 5 deletions Monei/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -902,11 +902,11 @@ def __call__(self, *args, **kwargs):
"""This method is invoked when endpoints are called
Example:

api_instance = ApplePayDomainApi()
api_instance.register # this is an instance of the class Endpoint
api_instance.register() # this invokes api_instance.register.__call__()
api_instance = ApplePayCertificateApi()
api_instance.activate # this is an instance of the class Endpoint
api_instance.activate() # this invokes api_instance.activate.__call__()
which then invokes the callable functions stored in that endpoint at
api_instance.register.callable or self.callable in this class
api_instance.activate.callable or self.callable in this class

"""
return self.callable(self, *args, **kwargs)
Expand Down
3 changes: 2 additions & 1 deletion Monei/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
# raise a `RecursionError`.
# In order to avoid this, import only the API that you directly need like:
#
# from Monei.api.apple_pay_domain_api import ApplePayDomainApi
# from Monei.api.apple_pay_certificate_api import ApplePayCertificateApi
#
# or import this package, but before doing it, use:
#
# import sys
# sys.setrecursionlimit(n)

# Import APIs into API package:
from Monei.api.apple_pay_certificate_api import ApplePayCertificateApi
from Monei.api.apple_pay_domain_api import ApplePayDomainApi
from Monei.api.bizum_api import BizumApi
from Monei.api.payment_methods_api import PaymentMethodsApi
Expand Down
4 changes: 2 additions & 2 deletions Monei/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -431,7 +431,7 @@ def to_debug_report(self):
"Python SDK Debug Report:\n"
"OS: {env}\n"
"Python Version: {pyversion}\n"
"Version of the API: 1.7.3\n"
"Version of the API: 1.8.0\n"
"SDK Package Version: 2.0.2".format(env=sys.platform, pyversion=sys.version)
)

Expand Down
2 changes: 1 addition & 1 deletion Monei/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

The version of the OpenAPI document: 1.7.3
The version of the OpenAPI document: 1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading
Loading