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.
Files changed (279) hide show
  1. monei-2.2.0/.husky/commit-msg +4 -0
  2. monei-2.2.0/.husky/pre-commit +1 -0
  3. {monei-2.0.2 → monei-2.2.0}/.openapi-generator/FILES +13 -7
  4. monei-2.2.0/.release-it.json +37 -0
  5. monei-2.2.0/CHANGELOG.md +14 -0
  6. monei-2.2.0/Monei/__init__.py +29 -0
  7. {monei-2.0.2 → monei-2.2.0}/Monei/api/apple_pay_domain_api.py +9 -9
  8. {monei-2.0.2 → monei-2.2.0}/Monei/api/bizum_api.py +9 -9
  9. {monei-2.0.2 → monei-2.2.0}/Monei/api/payment_methods_api.py +12 -10
  10. {monei-2.0.2 → monei-2.2.0}/Monei/api/payments_api.py +18 -18
  11. {monei-2.0.2 → monei-2.2.0}/Monei/api/subscriptions_api.py +17 -17
  12. {monei-2.0.2 → monei-2.2.0}/Monei/api_client.py +2 -2
  13. {monei-2.0.2 → monei-2.2.0}/Monei/configuration.py +3 -3
  14. {monei-2.0.2 → monei-2.2.0}/Monei/exceptions.py +2 -2
  15. {monei-2.0.2 → monei-2.2.0}/Monei/model/activate_subscription_request.py +2 -2
  16. {monei-2.0.2 → monei-2.2.0}/Monei/model/address.py +2 -2
  17. monei-2.2.0/Monei/model/api_exception.py +293 -0
  18. {monei-2.0.2 → monei-2.2.0}/Monei/model/apple_pay_domain_register200_response.py +2 -2
  19. monei-2.0.2/Monei/model/apple_pay_domain_register404_response.py → monei-2.2.0/Monei/model/bad_request_error.py +11 -8
  20. monei-2.0.2/Monei/model/browser_color_depth.py → monei-2.2.0/Monei/model/bad_request_error_all_of.py +17 -5
  21. {monei-2.0.2 → monei-2.2.0}/Monei/model/bizum_validate_phone200_response.py +2 -2
  22. {monei-2.0.2 → monei-2.2.0}/Monei/model/cancel_payment_request.py +2 -2
  23. {monei-2.0.2 → monei-2.2.0}/Monei/model/cancel_subscription_request.py +2 -2
  24. {monei-2.0.2 → monei-2.2.0}/Monei/model/capture_payment_request.py +2 -2
  25. {monei-2.0.2 → monei-2.2.0}/Monei/model/confirm_payment_request.py +2 -2
  26. {monei-2.0.2 → monei-2.2.0}/Monei/model/confirm_payment_request_payment_method.py +2 -2
  27. {monei-2.0.2 → monei-2.2.0}/Monei/model/confirm_payment_request_payment_method_card.py +2 -2
  28. {monei-2.0.2 → monei-2.2.0}/Monei/model/create_payment_request.py +2 -2
  29. {monei-2.0.2 → monei-2.2.0}/Monei/model/create_subscription_request.py +2 -2
  30. monei-2.0.2/Monei/model/error.py → monei-2.2.0/Monei/model/error_base.py +4 -4
  31. monei-2.0.2/Monei/model/apple_pay_domain_register400_response.py → monei-2.2.0/Monei/model/internal_server_error.py +11 -8
  32. monei-2.2.0/Monei/model/internal_server_error_all_of.py +271 -0
  33. monei-2.0.2/Monei/model/apple_pay_domain_register422_response.py → monei-2.2.0/Monei/model/not_found_error.py +11 -8
  34. monei-2.0.2/Monei/model/browser_screen_height.py → monei-2.2.0/Monei/model/not_found_error_all_of.py +17 -5
  35. {monei-2.0.2 → monei-2.2.0}/Monei/model/pause_subscription_request.py +2 -2
  36. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment.py +2 -2
  37. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_billing_details.py +2 -2
  38. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_cancellation_reason.py +2 -2
  39. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_customer.py +2 -2
  40. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_last_refund_reason.py +2 -2
  41. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_message_channel.py +2 -2
  42. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_message_language.py +2 -2
  43. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods.py +2 -2
  44. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata.py +2 -2
  45. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_alipay.py +2 -2
  46. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_apple_pay.py +2 -2
  47. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_bancontact.py +2 -2
  48. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_bizum.py +2 -2
  49. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_blik.py +2 -2
  50. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_card.py +2 -2
  51. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay.py +2 -2
  52. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay_discover.py +2 -2
  53. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay_mastercard.py +2 -2
  54. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_click_to_pay_visa.py +2 -2
  55. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_eps.py +2 -2
  56. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_giropay.py +2 -2
  57. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_google_pay.py +2 -2
  58. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_i_deal.py +2 -2
  59. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_klarna.py +2 -2
  60. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_mbway.py +2 -2
  61. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_sepa.py +2 -2
  62. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_sofort.py +2 -2
  63. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_metadata_trustly.py +2 -2
  64. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_methods_methods.py +2 -2
  65. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_next_action.py +2 -2
  66. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method.py +2 -2
  67. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_bizum.py +2 -2
  68. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_bizum_input.py +2 -2
  69. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_card.py +2 -2
  70. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_card_input.py +2 -2
  71. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_cofidis.py +2 -2
  72. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_input.py +2 -2
  73. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_klarna.py +2 -2
  74. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_mbway.py +2 -2
  75. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_paypal.py +2 -2
  76. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_sepa.py +2 -2
  77. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_method_trustly.py +2 -2
  78. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_payment_methods.py +2 -2
  79. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_refund_reason.py +2 -2
  80. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_sequence.py +2 -2
  81. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_sequence_recurring.py +2 -2
  82. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_session_details.py +2 -2
  83. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_shipping_details.py +2 -2
  84. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_shop.py +2 -2
  85. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_status.py +2 -2
  86. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_trace_details.py +2 -2
  87. {monei-2.0.2 → monei-2.2.0}/Monei/model/payment_transaction_type.py +2 -2
  88. {monei-2.0.2 → monei-2.2.0}/Monei/model/recurring_payment_request.py +2 -2
  89. {monei-2.0.2 → monei-2.2.0}/Monei/model/refund_payment_request.py +2 -2
  90. {monei-2.0.2 → monei-2.2.0}/Monei/model/register_apple_pay_domain_request.py +2 -2
  91. {monei-2.0.2 → monei-2.2.0}/Monei/model/send_payment_link_request.py +2 -2
  92. {monei-2.0.2 → monei-2.2.0}/Monei/model/send_payment_receipt_request.py +2 -2
  93. {monei-2.0.2 → monei-2.2.0}/Monei/model/send_payment_request_request.py +2 -2
  94. {monei-2.0.2 → monei-2.2.0}/Monei/model/send_subscription_link_request.py +2 -2
  95. {monei-2.0.2 → monei-2.2.0}/Monei/model/send_subscription_status_request.py +2 -2
  96. monei-2.0.2/Monei/model/apple_pay_domain_register401_response.py → monei-2.2.0/Monei/model/service_unavailable_error.py +11 -8
  97. monei-2.2.0/Monei/model/service_unavailable_error_all_of.py +271 -0
  98. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription.py +2 -2
  99. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_interval.py +2 -2
  100. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_last_payment.py +2 -2
  101. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_payment_method.py +2 -2
  102. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_payment_method_card.py +2 -2
  103. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_retry_schedule.py +2 -2
  104. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_retry_schedule_inner.py +2 -2
  105. {monei-2.0.2 → monei-2.2.0}/Monei/model/subscription_status.py +2 -2
  106. monei-2.2.0/Monei/model/unauthorized_error.py +338 -0
  107. monei-2.2.0/Monei/model/unauthorized_error_all_of.py +271 -0
  108. monei-2.2.0/Monei/model/unprocessable_entity_error.py +338 -0
  109. monei-2.2.0/Monei/model/unprocessable_entity_error_all_of.py +271 -0
  110. {monei-2.0.2 → monei-2.2.0}/Monei/model/update_subscription_request.py +2 -2
  111. {monei-2.0.2 → monei-2.2.0}/Monei/model/validate_bizum_phone_request.py +2 -2
  112. {monei-2.0.2 → monei-2.2.0}/Monei/model_utils.py +2 -2
  113. {monei-2.0.2 → monei-2.2.0}/Monei/models/__init__.py +13 -7
  114. {monei-2.0.2 → monei-2.2.0}/Monei/rest.py +2 -2
  115. {monei-2.0.2 → monei-2.2.0}/PKG-INFO +2 -5
  116. {monei-2.0.2 → monei-2.2.0}/README.md +1 -4
  117. monei-2.2.0/commitlint.config.js +7 -0
  118. monei-2.2.0/config.json +8 -0
  119. {monei-2.0.2 → monei-2.2.0}/openapitools.json +0 -2
  120. monei-2.2.0/package.json +26 -0
  121. {monei-2.0.2 → monei-2.2.0}/pyproject.toml +25 -5
  122. monei-2.2.0/test/test_api_exception.py +35 -0
  123. monei-2.2.0/test/test_api_response.py +93 -0
  124. monei-2.2.0/test/test_bad_request_error.py +39 -0
  125. monei-2.2.0/test/test_bad_request_error_all_of.py +35 -0
  126. monei-2.2.0/test/test_configuration.py +221 -0
  127. monei-2.2.0/test/test_error_base.py +35 -0
  128. monei-2.2.0/test/test_exceptions.py +206 -0
  129. monei-2.2.0/test/test_internal_server_error.py +39 -0
  130. monei-2.2.0/test/test_internal_server_error_all_of.py +35 -0
  131. monei-2.2.0/test/test_model_utils.py +345 -0
  132. monei-2.2.0/test/test_monei_client_additional.py +205 -0
  133. monei-2.2.0/test/test_not_found_error.py +39 -0
  134. monei-2.2.0/test/test_not_found_error_all_of.py +35 -0
  135. monei-2.2.0/test/test_payment_example.py +180 -0
  136. monei-2.2.0/test/test_payments_api_example.py +282 -0
  137. monei-2.2.0/test/test_rest_example.py +222 -0
  138. monei-2.2.0/test/test_service_unavailable_error.py +39 -0
  139. monei-2.2.0/test/test_service_unavailable_error_all_of.py +35 -0
  140. monei-2.2.0/test/test_unauthorized_error.py +39 -0
  141. monei-2.2.0/test/test_unauthorized_error_all_of.py +35 -0
  142. monei-2.2.0/test/test_unprocessable_entity_error.py +39 -0
  143. monei-2.2.0/test/test_unprocessable_entity_error_all_of.py +35 -0
  144. {monei-2.0.2 → monei-2.2.0}/uv.lock +1 -1
  145. {monei-2.0.2 → monei-2.2.0}/yarn.lock +1023 -11
  146. monei-2.0.2/Monei/__init__.py +0 -29
  147. monei-2.0.2/Monei/model/apple_pay_domain_register500_response.py +0 -335
  148. monei-2.0.2/Monei/model/apple_pay_domain_register503_response.py +0 -335
  149. monei-2.0.2/Monei/model/browser_screen_width.py +0 -259
  150. monei-2.0.2/Monei/model/browser_timezone_offset.py +0 -259
  151. monei-2.0.2/PUBLISHING.md +0 -48
  152. monei-2.0.2/config.json +0 -11
  153. monei-2.0.2/package.json +0 -54
  154. {monei-2.0.2 → monei-2.2.0}/.cursor/rules/general.mdc +0 -0
  155. {monei-2.0.2 → monei-2.2.0}/.gitattributes +0 -0
  156. {monei-2.0.2 → monei-2.2.0}/.github/workflows/deploy.yml +0 -0
  157. {monei-2.0.2 → monei-2.2.0}/.github/workflows/test.yml +0 -0
  158. {monei-2.0.2 → monei-2.2.0}/.gitignore +0 -0
  159. {monei-2.0.2 → monei-2.2.0}/.openapi-generator/VERSION +0 -0
  160. {monei-2.0.2 → monei-2.2.0}/.openapi-generator-ignore +0 -0
  161. {monei-2.0.2 → monei-2.2.0}/.uv/uv.toml +0 -0
  162. {monei-2.0.2 → monei-2.2.0}/.yarnrc.yml +0 -0
  163. {monei-2.0.2 → monei-2.2.0}/LICENSE +0 -0
  164. {monei-2.0.2 → monei-2.2.0}/Monei/api/__init__.py +0 -0
  165. {monei-2.0.2 → monei-2.2.0}/Monei/api_response.py +0 -0
  166. {monei-2.0.2 → monei-2.2.0}/Monei/apis/__init__.py +0 -0
  167. {monei-2.0.2 → monei-2.2.0}/Monei/model/__init__.py +0 -0
  168. {monei-2.0.2 → monei-2.2.0}/Monei/monei_client.py +0 -0
  169. {monei-2.0.2 → monei-2.2.0}/Monei/py.typed +0 -0
  170. {monei-2.0.2 → monei-2.2.0}/scripts/build.sh +0 -0
  171. {monei-2.0.2 → monei-2.2.0}/scripts/post-build.sh +0 -0
  172. {monei-2.0.2 → monei-2.2.0}/scripts/release.sh +0 -0
  173. {monei-2.0.2 → monei-2.2.0}/test/__init__.py +0 -0
  174. {monei-2.0.2 → monei-2.2.0}/test/test_activate_subscription_request.py +0 -0
  175. {monei-2.0.2 → monei-2.2.0}/test/test_address.py +0 -0
  176. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_api.py +0 -0
  177. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_api_integration.py +0 -0
  178. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register200_response.py +0 -0
  179. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register400_response.py +0 -0
  180. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register401_response.py +0 -0
  181. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register404_response.py +0 -0
  182. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register422_response.py +0 -0
  183. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register500_response.py +0 -0
  184. {monei-2.0.2 → monei-2.2.0}/test/test_apple_pay_domain_register503_response.py +0 -0
  185. {monei-2.0.2 → monei-2.2.0}/test/test_bizum_api.py +0 -0
  186. {monei-2.0.2 → monei-2.2.0}/test/test_bizum_api_integration.py +0 -0
  187. {monei-2.0.2 → monei-2.2.0}/test/test_bizum_validate_phone200_response.py +0 -0
  188. {monei-2.0.2 → monei-2.2.0}/test/test_browser_color_depth.py +0 -0
  189. {monei-2.0.2 → monei-2.2.0}/test/test_browser_screen_height.py +0 -0
  190. {monei-2.0.2 → monei-2.2.0}/test/test_browser_screen_width.py +0 -0
  191. {monei-2.0.2 → monei-2.2.0}/test/test_browser_timezone_offset.py +0 -0
  192. {monei-2.0.2 → monei-2.2.0}/test/test_cancel_payment_request.py +0 -0
  193. {monei-2.0.2 → monei-2.2.0}/test/test_cancel_subscription_request.py +0 -0
  194. {monei-2.0.2 → monei-2.2.0}/test/test_capture_payment_request.py +0 -0
  195. {monei-2.0.2 → monei-2.2.0}/test/test_confirm_payment_request.py +0 -0
  196. {monei-2.0.2 → monei-2.2.0}/test/test_confirm_payment_request_payment_method.py +0 -0
  197. {monei-2.0.2 → monei-2.2.0}/test/test_confirm_payment_request_payment_method_card.py +0 -0
  198. {monei-2.0.2 → monei-2.2.0}/test/test_create_payment_request.py +0 -0
  199. {monei-2.0.2 → monei-2.2.0}/test/test_create_subscription_request.py +0 -0
  200. {monei-2.0.2 → monei-2.2.0}/test/test_error.py +0 -0
  201. {monei-2.0.2 → monei-2.2.0}/test/test_error_handling.py +0 -0
  202. {monei-2.0.2 → monei-2.2.0}/test/test_monei_client.py +0 -0
  203. {monei-2.0.2 → monei-2.2.0}/test/test_pause_subscription_request.py +0 -0
  204. {monei-2.0.2 → monei-2.2.0}/test/test_payment.py +0 -0
  205. {monei-2.0.2 → monei-2.2.0}/test/test_payment_billing_details.py +0 -0
  206. {monei-2.0.2 → monei-2.2.0}/test/test_payment_cancellation_reason.py +0 -0
  207. {monei-2.0.2 → monei-2.2.0}/test/test_payment_customer.py +0 -0
  208. {monei-2.0.2 → monei-2.2.0}/test/test_payment_last_refund_reason.py +0 -0
  209. {monei-2.0.2 → monei-2.2.0}/test/test_payment_message_channel.py +0 -0
  210. {monei-2.0.2 → monei-2.2.0}/test/test_payment_message_language.py +0 -0
  211. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods.py +0 -0
  212. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_api.py +0 -0
  213. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_api_integration.py +0 -0
  214. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata.py +0 -0
  215. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_alipay.py +0 -0
  216. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_apple_pay.py +0 -0
  217. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_bancontact.py +0 -0
  218. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_bizum.py +0 -0
  219. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_blik.py +0 -0
  220. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_card.py +0 -0
  221. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay.py +0 -0
  222. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay_discover.py +0 -0
  223. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay_mastercard.py +0 -0
  224. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_click_to_pay_visa.py +0 -0
  225. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_eps.py +0 -0
  226. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_giropay.py +0 -0
  227. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_google_pay.py +0 -0
  228. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_i_deal.py +0 -0
  229. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_klarna.py +0 -0
  230. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_mbway.py +0 -0
  231. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_sepa.py +0 -0
  232. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_sofort.py +0 -0
  233. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_metadata_trustly.py +0 -0
  234. {monei-2.0.2 → monei-2.2.0}/test/test_payment_methods_methods.py +0 -0
  235. {monei-2.0.2 → monei-2.2.0}/test/test_payment_next_action.py +0 -0
  236. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method.py +0 -0
  237. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_bizum.py +0 -0
  238. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_bizum_input.py +0 -0
  239. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_card.py +0 -0
  240. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_card_input.py +0 -0
  241. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_cofidis.py +0 -0
  242. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_input.py +0 -0
  243. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_klarna.py +0 -0
  244. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_mbway.py +0 -0
  245. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_paypal.py +0 -0
  246. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_sepa.py +0 -0
  247. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_method_trustly.py +0 -0
  248. {monei-2.0.2 → monei-2.2.0}/test/test_payment_payment_methods.py +0 -0
  249. {monei-2.0.2 → monei-2.2.0}/test/test_payment_refund_reason.py +0 -0
  250. {monei-2.0.2 → monei-2.2.0}/test/test_payment_sequence.py +0 -0
  251. {monei-2.0.2 → monei-2.2.0}/test/test_payment_sequence_recurring.py +0 -0
  252. {monei-2.0.2 → monei-2.2.0}/test/test_payment_session_details.py +0 -0
  253. {monei-2.0.2 → monei-2.2.0}/test/test_payment_shipping_details.py +0 -0
  254. {monei-2.0.2 → monei-2.2.0}/test/test_payment_shop.py +0 -0
  255. {monei-2.0.2 → monei-2.2.0}/test/test_payment_status.py +0 -0
  256. {monei-2.0.2 → monei-2.2.0}/test/test_payment_trace_details.py +0 -0
  257. {monei-2.0.2 → monei-2.2.0}/test/test_payment_transaction_type.py +0 -0
  258. {monei-2.0.2 → monei-2.2.0}/test/test_payments_api.py +0 -0
  259. {monei-2.0.2 → monei-2.2.0}/test/test_payments_api_integration.py +0 -0
  260. {monei-2.0.2 → monei-2.2.0}/test/test_recurring_payment_request.py +0 -0
  261. {monei-2.0.2 → monei-2.2.0}/test/test_refund_payment_request.py +0 -0
  262. {monei-2.0.2 → monei-2.2.0}/test/test_register_apple_pay_domain_request.py +0 -0
  263. {monei-2.0.2 → monei-2.2.0}/test/test_send_payment_link_request.py +0 -0
  264. {monei-2.0.2 → monei-2.2.0}/test/test_send_payment_receipt_request.py +0 -0
  265. {monei-2.0.2 → monei-2.2.0}/test/test_send_payment_request_request.py +0 -0
  266. {monei-2.0.2 → monei-2.2.0}/test/test_send_subscription_link_request.py +0 -0
  267. {monei-2.0.2 → monei-2.2.0}/test/test_send_subscription_status_request.py +0 -0
  268. {monei-2.0.2 → monei-2.2.0}/test/test_subscription.py +0 -0
  269. {monei-2.0.2 → monei-2.2.0}/test/test_subscription_interval.py +0 -0
  270. {monei-2.0.2 → monei-2.2.0}/test/test_subscription_last_payment.py +0 -0
  271. {monei-2.0.2 → monei-2.2.0}/test/test_subscription_payment_method.py +0 -0
  272. {monei-2.0.2 → monei-2.2.0}/test/test_subscription_payment_method_card.py +0 -0
  273. {monei-2.0.2 → monei-2.2.0}/test/test_subscription_retry_schedule.py +0 -0
  274. {monei-2.0.2 → monei-2.2.0}/test/test_subscription_retry_schedule_inner.py +0 -0
  275. {monei-2.0.2 → monei-2.2.0}/test/test_subscription_status.py +0 -0
  276. {monei-2.0.2 → monei-2.2.0}/test/test_subscriptions_api.py +0 -0
  277. {monei-2.0.2 → monei-2.2.0}/test/test_subscriptions_api_integration.py +0 -0
  278. {monei-2.0.2 → monei-2.2.0}/test/test_update_subscription_request.py +0 -0
  279. {monei-2.0.2 → monei-2.2.0}/test/test_validate_bizum_phone_request.py +0 -0
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ . "$(dirname "$0")/_/husky.sh"
3
+
4
+ yarn commitlint --edit $1
@@ -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/apple_pay_domain_register400_response.py
17
- Monei/model/apple_pay_domain_register401_response.py
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/error.py
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
+ }
@@ -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
- <p>The MONEI API is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a> principles. Our API is designed to be intuitive and developer-friendly.</p> <h3>Base URL</h3> <p>All API requests should be made to:</p> <pre><code>https://api.monei.com/v1 </code></pre> <h3>Environment</h3> <p>MONEI provides two environments:</p> <ul> <li><strong>Test Environment</strong>: For development and testing without processing real payments</li> <li><strong>Live Environment</strong>: For processing real transactions in production</li> </ul> <h3>Client Libraries</h3> <p>We provide official SDKs to simplify integration:</p> <ul> <li><a href=\"https://github.com/MONEI/monei-php-sdk\">PHP SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-python-sdk\">Python SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-node-sdk\">Node.js SDK</a></li> <li><a href=\"https://postman.monei.com/\">Postman Collection</a></li> </ul> <p>Our SDKs handle authentication, error handling, and request formatting automatically.</p> <p>You can download the OpenAPI specification from the <a href=\"https://js.monei.com/api/v1/openapi.json\">https://js.monei.com/api/v1/openapi.json</a> and generate your own client library using the <a href=\"https://openapi-generator.tech/\">OpenAPI Generator</a>.</p> <h3>Important Requirements</h3> <ul> <li>All API requests must be made over HTTPS</li> <li>If you are not using our official SDKs, you <strong>must provide a valid <code>User-Agent</code> header</strong> with each request</li> <li>Requests without proper authentication will return a <code>401 Unauthorized</code> error</li> </ul> <h3>Error Handling</h3> <p>The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a <code>statusCode</code> attribute indicating the outcome of your request.</p> <h3>Rate Limits</h3> <p>The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a <code>429 Too Many Requests</code> status code.</p> # noqa: E501
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.4
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.apple_pay_domain_register400_response import ApplePayDomainRegister400Response
26
- from Monei.model.apple_pay_domain_register401_response import ApplePayDomainRegister401Response
27
- from Monei.model.apple_pay_domain_register404_response import ApplePayDomainRegister404Response
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
- <p>Registers a domain with Apple Pay.</p> <p>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.</p> <p>Before registering, you must download this <a href=\"https://assets.monei.com/apple-pay/apple-developer-merchantid-domain-association/\">domain association file</a> and host it at <code>/.well-known/apple-developer-merchantid-domain-association</code> on your site.</p> <p>For example, if you&#39;re registering <code>example.com</code>, make that file available at <code>https://example.com/.well-known/apple-developer-merchantid-domain-association</code>.</p> <p>After registration, Apple will verify your domain. Once verified, you can display Apple Pay buttons and process Apple Pay payments on your website.</p> # noqa: E501
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
- <p>The MONEI API is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a> principles. Our API is designed to be intuitive and developer-friendly.</p> <h3>Base URL</h3> <p>All API requests should be made to:</p> <pre><code>https://api.monei.com/v1 </code></pre> <h3>Environment</h3> <p>MONEI provides two environments:</p> <ul> <li><strong>Test Environment</strong>: For development and testing without processing real payments</li> <li><strong>Live Environment</strong>: For processing real transactions in production</li> </ul> <h3>Client Libraries</h3> <p>We provide official SDKs to simplify integration:</p> <ul> <li><a href=\"https://github.com/MONEI/monei-php-sdk\">PHP SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-python-sdk\">Python SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-node-sdk\">Node.js SDK</a></li> <li><a href=\"https://postman.monei.com/\">Postman Collection</a></li> </ul> <p>Our SDKs handle authentication, error handling, and request formatting automatically.</p> <p>You can download the OpenAPI specification from the <a href=\"https://js.monei.com/api/v1/openapi.json\">https://js.monei.com/api/v1/openapi.json</a> and generate your own client library using the <a href=\"https://openapi-generator.tech/\">OpenAPI Generator</a>.</p> <h3>Important Requirements</h3> <ul> <li>All API requests must be made over HTTPS</li> <li>If you are not using our official SDKs, you <strong>must provide a valid <code>User-Agent</code> header</strong> with each request</li> <li>Requests without proper authentication will return a <code>401 Unauthorized</code> error</li> </ul> <h3>Error Handling</h3> <p>The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a <code>statusCode</code> attribute indicating the outcome of your request.</p> <h3>Rate Limits</h3> <p>The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a <code>429 Too Many Requests</code> status code.</p> # noqa: E501
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.4
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.apple_pay_domain_register400_response import ApplePayDomainRegister400Response
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
- <p>Validates if a phone number is registered with Bizum.</p> <p>Use this endpoint to check if a customer&#39;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.</p> <p>The response will indicate whether the phone number is valid for Bizum payments.</p> # noqa: E501
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
- <p>The MONEI API is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a> principles. Our API is designed to be intuitive and developer-friendly.</p> <h3>Base URL</h3> <p>All API requests should be made to:</p> <pre><code>https://api.monei.com/v1 </code></pre> <h3>Environment</h3> <p>MONEI provides two environments:</p> <ul> <li><strong>Test Environment</strong>: For development and testing without processing real payments</li> <li><strong>Live Environment</strong>: For processing real transactions in production</li> </ul> <h3>Client Libraries</h3> <p>We provide official SDKs to simplify integration:</p> <ul> <li><a href=\"https://github.com/MONEI/monei-php-sdk\">PHP SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-python-sdk\">Python SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-node-sdk\">Node.js SDK</a></li> <li><a href=\"https://postman.monei.com/\">Postman Collection</a></li> </ul> <p>Our SDKs handle authentication, error handling, and request formatting automatically.</p> <p>You can download the OpenAPI specification from the <a href=\"https://js.monei.com/api/v1/openapi.json\">https://js.monei.com/api/v1/openapi.json</a> and generate your own client library using the <a href=\"https://openapi-generator.tech/\">OpenAPI Generator</a>.</p> <h3>Important Requirements</h3> <ul> <li>All API requests must be made over HTTPS</li> <li>If you are not using our official SDKs, you <strong>must provide a valid <code>User-Agent</code> header</strong> with each request</li> <li>Requests without proper authentication will return a <code>401 Unauthorized</code> error</li> </ul> <h3>Error Handling</h3> <p>The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a <code>statusCode</code> attribute indicating the outcome of your request.</p> <h3>Rate Limits</h3> <p>The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a <code>429 Too Many Requests</code> status code.</p> # noqa: E501
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.4
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.apple_pay_domain_register400_response import ApplePayDomainRegister400Response
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
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
- <p>Retrieve available payment methods for an account or a specific payment.</p> <p>You can provide either an <code>accountId</code> or a <code>paymentId</code> as a query parameter to get the available payment methods.</p> <p>When providing a <code>paymentId</code>, 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.</p> <p>When providing an <code>accountId</code>, the response will include all payment methods available for that account based on the merchant&#39;s configuration and supported payment methods.</p> # noqa: E501
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
- <p>The MONEI API is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a> principles. Our API is designed to be intuitive and developer-friendly.</p> <h3>Base URL</h3> <p>All API requests should be made to:</p> <pre><code>https://api.monei.com/v1 </code></pre> <h3>Environment</h3> <p>MONEI provides two environments:</p> <ul> <li><strong>Test Environment</strong>: For development and testing without processing real payments</li> <li><strong>Live Environment</strong>: For processing real transactions in production</li> </ul> <h3>Client Libraries</h3> <p>We provide official SDKs to simplify integration:</p> <ul> <li><a href=\"https://github.com/MONEI/monei-php-sdk\">PHP SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-python-sdk\">Python SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-node-sdk\">Node.js SDK</a></li> <li><a href=\"https://postman.monei.com/\">Postman Collection</a></li> </ul> <p>Our SDKs handle authentication, error handling, and request formatting automatically.</p> <p>You can download the OpenAPI specification from the <a href=\"https://js.monei.com/api/v1/openapi.json\">https://js.monei.com/api/v1/openapi.json</a> and generate your own client library using the <a href=\"https://openapi-generator.tech/\">OpenAPI Generator</a>.</p> <h3>Important Requirements</h3> <ul> <li>All API requests must be made over HTTPS</li> <li>If you are not using our official SDKs, you <strong>must provide a valid <code>User-Agent</code> header</strong> with each request</li> <li>Requests without proper authentication will return a <code>401 Unauthorized</code> error</li> </ul> <h3>Error Handling</h3> <p>The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a <code>statusCode</code> attribute indicating the outcome of your request.</p> <h3>Rate Limits</h3> <p>The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a <code>429 Too Many Requests</code> status code.</p> # noqa: E501
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.4
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.apple_pay_domain_register400_response import ApplePayDomainRegister400Response
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
- <p>Releases reserved funds from a previously authorized payment. This endpoint can only be used with payments in <code>AUTHORIZED</code> status.</p> <p>This operation is part of the two-step authorization flow:</p> <ol> <li><strong>Authorize</strong>: Create a payment with <code>transactionType: AUTH</code> to reserve funds</li> <li><strong>Cancel</strong>: Release the reserved funds if you decide not to capture the payment</li> </ol> <p>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.</p> # noqa: E501
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
- <p>Captures funds from a previously authorized payment. This endpoint can only be used with payments in <code>AUTHORIZED</code> status.</p> <p>This operation completes the two-step authorization flow:</p> <ol> <li><strong>Authorize</strong>: Create a payment with <code>transactionType: AUTH</code> to reserve funds</li> <li><strong>Capture</strong>: Transfer the reserved funds to your account when ready to fulfill the order</li> </ol> <p><strong>Important</strong>: Authorized payments expire after exactly seven days. After expiration, they will be marked as <code>EXPIRED</code> and can no longer be captured. Be sure to capture funds within this timeframe or communicate with your customer about a new payment.</p> # noqa: E501
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
- <p>Confirms a payment that was created without payment details. This endpoint can only be used with payments in <code>PENDING</code> status.</p> <p>The two-step payment flow:</p> <ol> <li><strong>Create</strong>: First, create a payment without payment details (status: <code>PENDING</code>)</li> <li><strong>Confirm</strong>: Then provide payment details to complete the transaction</li> </ol> <p>When confirming a payment, you can use:</p> <ul> <li>A newly generated <code>paymentToken</code> from <a href=\"https://docs.monei.com/docs/monei-js-overview\">monei.js Components</a></li> <li>A permanent <code>paymentToken</code> from a previous payment (generated with <code>generatePaymentToken: true</code>)</li> </ul> <p>Using permanent payment tokens enables one-click checkout experiences for returning customers without requiring them to re-enter their payment information.</p> <p>You can provide additional customer information during confirmation, which will override any corresponding information originally passed in the payment creation request.</p> # noqa: E501
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
- <p>Creates a new payment with the specified parameters.</p> <p>You can create a payment in two ways:</p> <ol> <li><strong>Immediate processing</strong>: Provide a <code>paymentToken</code> or <code>paymentMethod</code> - The payment will be processed instantly</li> <li><strong>Deferred processing</strong>: Create without payment details - The payment remains in <code>PENDING</code> status until you confirm it later using the <a href=\"#operation/payments_confirm\">confirm endpoint</a></li> </ol> <p>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.</p> <p>For immediate processing, use one of these token options:</p> <ul> <li>A temporary <code>paymentToken</code> generated on the frontend using <a href=\"https://docs.monei.com/docs/monei-js-overview\">monei.js Components</a></li> <li>A permanent <code>paymentToken</code> from a previous successful payment (when <code>generatePaymentToken: true</code> was included)</li> </ul> <p>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.</p> # noqa: E501
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
- <p>Retrieves the complete details of an existing payment by its unique ID.</p> <p>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.</p> <p>Supply the unique payment ID that was returned from your previous request.</p> # noqa: E501
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
- <p>Creates a subsequent charge using the payment details from a previous transaction.</p> <p>This endpoint enables recurring billing and subscription payments by:</p> <ul> <li>Using the same payment method as the original payment</li> <li>Charging the customer without requiring them to re-enter payment details</li> <li>Supporting variable or fixed amounts (defaults to the original payment amount if not specified)</li> </ul> <p><strong>Prerequisites:</strong></p> <ol> <li>The initial payment must be created with the <code>sequence</code> parameter</li> <li>The initial payment will return a <code>sequenceId</code> in the response</li> <li>This <code>sequenceId</code> must be provided in the URL path when making subsequent recurring charges</li> </ol> <p>Ideal for subscription services, membership renewals, and installment payments.</p> <p><strong>Need more advanced subscription management?</strong> For comprehensive subscription management with features like billing cycles, trial periods, and automatic recurring billing, consider using the <a href=\"#tag/Subscriptions\">Subscriptions API</a> instead. It provides a complete solution for creating and managing subscription-based services.</p> # noqa: E501
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
- <p>Returns funds from a completed payment back to the customer&#39;s original payment method.</p> <p><strong>Refund options:</strong></p> <ul> <li><strong>Full refund</strong>: Return the entire payment amount</li> <li><strong>Partial refund</strong>: Specify an amount less than the original payment</li> <li><strong>Multiple partial refunds</strong>: Issue several partial refunds until the total payment amount is reached</li> </ul> <p><strong>Limitations:</strong></p> <ul> <li>You can only refund payments that have been successfully processed</li> <li>A payment can only be refunded up to its original amount</li> <li>Once fully refunded, a payment cannot be refunded again</li> <li>Attempting to refund more than the remaining available amount will result in an error</li> </ul> # noqa: E501
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
- <p>Sends a payment link to the customer through their preferred communication channel.</p> <p><strong>This API can only be used for payments with the following status:</strong></p> <ul> <li>Pending</li> </ul> <p><strong>Delivery channels are automatically selected based on available customer information:</strong></p> <ul> <li>If customer email is available: Link is sent via email</li> <li>If customer phone is available: Link is sent via WhatsApp</li> <li>If WhatsApp delivery fails: Link is sent via SMS as a fallback</li> </ul> <p>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.</p> # noqa: E501
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
- <p>Sends a payment receipt to the customer through their preferred communication channel.</p> <p><strong>This API can only be used for payments with the following status:</strong></p> <ul> <li>Succeeded</li> </ul> <p><strong>Delivery channels are automatically selected based on available customer information:</strong></p> <ul> <li>If customer email is available: Receipt is sent via email</li> <li>If customer phone is available: Receipt is sent via WhatsApp</li> <li>If WhatsApp delivery fails: Receipt is sent via SMS as a fallback</li> </ul> <p>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.</p> # noqa: E501
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
- <p>Sends a direct payment request to the customer&#39;s phone with smart channel selection.</p> <p><strong>Smart delivery logic based on customer phone capabilities:</strong></p> <ul> <li>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</li> <li>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</li> </ul> <p>This endpoint provides a streamlined payment experience, especially for Spanish customers with Bizum integration, enabling quick and convenient mobile payments.</p> # noqa: E501
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