Monei 2.3.0__tar.gz → 2.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. monei-2.3.2/.husky/commit-msg +1 -0
  2. monei-2.3.2/.husky/pre-commit +5 -0
  3. {monei-2.3.0 → monei-2.3.2}/CHANGELOG.md +10 -0
  4. monei-2.3.2/Monei/__init__.py +33 -0
  5. {monei-2.3.0 → monei-2.3.2}/Monei/api/apple_pay_domain_api.py +46 -78
  6. {monei-2.3.0 → monei-2.3.2}/Monei/api/bizum_api.py +41 -77
  7. {monei-2.3.0 → monei-2.3.2}/Monei/api/payment_methods_api.py +44 -76
  8. {monei-2.3.0 → monei-2.3.2}/Monei/api/payments_api.py +403 -744
  9. {monei-2.3.0 → monei-2.3.2}/Monei/api/subscriptions_api.py +359 -661
  10. {monei-2.3.0 → monei-2.3.2}/Monei/api_client.py +395 -280
  11. {monei-2.3.0 → monei-2.3.2}/Monei/api_response.py +2 -3
  12. {monei-2.3.0 → monei-2.3.2}/Monei/apis/__init__.py +0 -1
  13. {monei-2.3.0 → monei-2.3.2}/Monei/configuration.py +148 -132
  14. {monei-2.3.0 → monei-2.3.2}/Monei/exceptions.py +10 -11
  15. {monei-2.3.0 → monei-2.3.2}/Monei/model/activate_subscription_request.py +99 -63
  16. {monei-2.3.0 → monei-2.3.2}/Monei/model/address.py +71 -57
  17. {monei-2.3.0 → monei-2.3.2}/Monei/model/api_exception.py +75 -57
  18. {monei-2.3.0 → monei-2.3.2}/Monei/model/apple_pay_domain_register200_response.py +61 -47
  19. {monei-2.3.0 → monei-2.3.2}/Monei/model/bad_request_error.py +93 -81
  20. {monei-2.3.0 → monei-2.3.2}/Monei/model/bad_request_error_all_of.py +65 -51
  21. {monei-2.3.0 → monei-2.3.2}/Monei/model/bizum_validate_phone200_response.py +61 -47
  22. {monei-2.3.0 → monei-2.3.2}/Monei/model/cancel_payment_request.py +63 -47
  23. {monei-2.3.0 → monei-2.3.2}/Monei/model/cancel_subscription_request.py +61 -47
  24. {monei-2.3.0 → monei-2.3.2}/Monei/model/capture_payment_request.py +71 -47
  25. {monei-2.3.0 → monei-2.3.2}/Monei/model/confirm_payment_request.py +95 -65
  26. {monei-2.3.0 → monei-2.3.2}/Monei/model/confirm_payment_request_payment_method.py +68 -48
  27. {monei-2.3.0 → monei-2.3.2}/Monei/model/confirm_payment_request_payment_method_card.py +63 -49
  28. {monei-2.3.0 → monei-2.3.2}/Monei/model/create_payment_request.py +141 -111
  29. {monei-2.3.0 → monei-2.3.2}/Monei/model/create_subscription_request.py +102 -82
  30. {monei-2.3.0 → monei-2.3.2}/Monei/model/error_base.py +75 -57
  31. {monei-2.3.0 → monei-2.3.2}/Monei/model/internal_server_error.py +93 -81
  32. {monei-2.3.0 → monei-2.3.2}/Monei/model/internal_server_error_all_of.py +65 -51
  33. {monei-2.3.0 → monei-2.3.2}/Monei/model/not_found_error.py +93 -81
  34. {monei-2.3.0 → monei-2.3.2}/Monei/model/not_found_error_all_of.py +65 -51
  35. {monei-2.3.0 → monei-2.3.2}/Monei/model/pause_subscription_request.py +63 -49
  36. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment.py +136 -118
  37. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_billing_details.py +73 -57
  38. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_cancellation_reason.py +43 -41
  39. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_customer.py +65 -51
  40. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_last_refund_reason.py +43 -41
  41. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_message_channel.py +43 -41
  42. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_message_language.py +47 -45
  43. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods.py +80 -64
  44. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata.py +128 -100
  45. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_alipay.py +61 -47
  46. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_apple_pay.py +61 -47
  47. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_bancontact.py +61 -47
  48. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_bizum.py +61 -47
  49. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_blik.py +61 -47
  50. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_card.py +61 -47
  51. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay.py +88 -60
  52. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay_discover.py +63 -49
  53. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay_mastercard.py +63 -49
  54. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_click_to_pay_visa.py +63 -49
  55. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_eps.py +61 -47
  56. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_giropay.py +61 -47
  57. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_google_pay.py +63 -49
  58. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_i_deal.py +61 -47
  59. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_klarna.py +61 -47
  60. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_mbway.py +61 -47
  61. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_sepa.py +61 -47
  62. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_sofort.py +61 -47
  63. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_metadata_trustly.py +61 -47
  64. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_methods_methods.py +40 -39
  65. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_next_action.py +72 -57
  66. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method.py +105 -88
  67. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_bizum.py +61 -47
  68. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_bizum_input.py +61 -47
  69. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_card.py +102 -87
  70. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_card_input.py +71 -57
  71. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_cofidis.py +61 -47
  72. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_input.py +72 -52
  73. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_klarna.py +78 -63
  74. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_mbway.py +61 -47
  75. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_paypal.py +73 -47
  76. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_sepa.py +77 -63
  77. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_method_trustly.py +61 -47
  78. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_payment_methods.py +44 -43
  79. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_refund_reason.py +43 -41
  80. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_sequence.py +68 -51
  81. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_sequence_recurring.py +63 -49
  82. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_session_details.py +93 -79
  83. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_shipping_details.py +73 -57
  84. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_shop.py +63 -49
  85. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_status.py +48 -46
  86. {monei-2.3.0 → monei-2.3.2}/Monei/model/payment_trace_details.py +97 -83
  87. monei-2.3.2/Monei/model/payment_transaction_type.py +286 -0
  88. {monei-2.3.0 → monei-2.3.2}/Monei/model/recurring_payment_request.py +108 -70
  89. {monei-2.3.0 → monei-2.3.2}/Monei/model/refund_payment_request.py +75 -49
  90. {monei-2.3.0 → monei-2.3.2}/Monei/model/register_apple_pay_domain_request.py +61 -47
  91. {monei-2.3.0 → monei-2.3.2}/Monei/model/send_payment_link_request.py +70 -54
  92. {monei-2.3.0 → monei-2.3.2}/Monei/model/send_payment_receipt_request.py +70 -54
  93. {monei-2.3.0 → monei-2.3.2}/Monei/model/send_payment_request_request.py +65 -49
  94. {monei-2.3.0 → monei-2.3.2}/Monei/model/send_subscription_link_request.py +70 -55
  95. {monei-2.3.0 → monei-2.3.2}/Monei/model/send_subscription_status_request.py +70 -55
  96. {monei-2.3.0 → monei-2.3.2}/Monei/model/service_unavailable_error.py +96 -82
  97. {monei-2.3.0 → monei-2.3.2}/Monei/model/service_unavailable_error_all_of.py +65 -51
  98. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription.py +133 -115
  99. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_interval.py +44 -42
  100. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_last_payment.py +69 -53
  101. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_payment_method.py +66 -49
  102. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_payment_method_card.py +83 -68
  103. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_retry_schedule.py +45 -40
  104. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_retry_schedule_inner.py +72 -54
  105. {monei-2.3.0 → monei-2.3.2}/Monei/model/subscription_status.py +47 -45
  106. {monei-2.3.0 → monei-2.3.2}/Monei/model/unauthorized_error.py +93 -81
  107. {monei-2.3.0 → monei-2.3.2}/Monei/model/unauthorized_error_all_of.py +65 -51
  108. {monei-2.3.0 → monei-2.3.2}/Monei/model/unprocessable_entity_error.py +96 -82
  109. {monei-2.3.0 → monei-2.3.2}/Monei/model/unprocessable_entity_error_all_of.py +65 -51
  110. {monei-2.3.0 → monei-2.3.2}/Monei/model/update_subscription_request.py +97 -79
  111. {monei-2.3.0 → monei-2.3.2}/Monei/model/validate_bizum_phone_request.py +68 -52
  112. {monei-2.3.0 → monei-2.3.2}/Monei/model_utils.py +369 -337
  113. {monei-2.3.0 → monei-2.3.2}/Monei/models/__init__.py +33 -11
  114. {monei-2.3.0 → monei-2.3.2}/Monei/monei_client.py +7 -5
  115. {monei-2.3.0 → monei-2.3.2}/Monei/rest.py +218 -119
  116. {monei-2.3.0 → monei-2.3.2}/PKG-INFO +1 -1
  117. {monei-2.3.0 → monei-2.3.2}/config.json +1 -1
  118. {monei-2.3.0 → monei-2.3.2}/package.json +11 -3
  119. {monei-2.3.0 → monei-2.3.2}/pyproject.toml +23 -2
  120. {monei-2.3.0 → monei-2.3.2}/scripts/build.sh +5 -1
  121. monei-2.3.2/scripts/post-build.sh +6 -0
  122. monei-2.3.2/test/test_activate_subscription_request.py +34 -0
  123. monei-2.3.2/test/test_address.py +34 -0
  124. {monei-2.3.0 → monei-2.3.2}/test/test_api_client.py +4 -4
  125. monei-2.3.2/test/test_api_exception.py +34 -0
  126. {monei-2.3.0 → monei-2.3.2}/test/test_api_response.py +17 -19
  127. monei-2.3.2/test/test_apple_pay_domain_api.py +44 -0
  128. monei-2.3.2/test/test_apple_pay_domain_register200_response.py +36 -0
  129. monei-2.3.2/test/test_apple_pay_domain_register400_response.py +39 -0
  130. monei-2.3.2/test/test_apple_pay_domain_register401_response.py +39 -0
  131. monei-2.3.2/test/test_apple_pay_domain_register404_response.py +39 -0
  132. monei-2.3.2/test/test_apple_pay_domain_register422_response.py +39 -0
  133. monei-2.3.2/test/test_apple_pay_domain_register500_response.py +39 -0
  134. monei-2.3.2/test/test_apple_pay_domain_register503_response.py +39 -0
  135. monei-2.3.2/test/test_bad_request_error.py +39 -0
  136. monei-2.3.2/test/test_bad_request_error_all_of.py +34 -0
  137. monei-2.3.2/test/test_bizum_api.py +45 -0
  138. monei-2.3.2/test/test_bizum_validate_phone200_response.py +34 -0
  139. monei-2.3.2/test/test_browser_color_depth.py +34 -0
  140. monei-2.3.2/test/test_browser_screen_height.py +34 -0
  141. monei-2.3.2/test/test_browser_screen_width.py +34 -0
  142. monei-2.3.2/test/test_browser_timezone_offset.py +34 -0
  143. monei-2.3.2/test/test_cancel_payment_request.py +37 -0
  144. monei-2.3.2/test/test_cancel_subscription_request.py +34 -0
  145. monei-2.3.2/test/test_capture_payment_request.py +34 -0
  146. {monei-2.3.0 → monei-2.3.2}/test/test_configuration.py +40 -25
  147. monei-2.3.2/test/test_confirm_payment_request.py +45 -0
  148. monei-2.3.2/test/test_confirm_payment_request_payment_method.py +43 -0
  149. monei-2.3.2/test/test_confirm_payment_request_payment_method_card.py +36 -0
  150. monei-2.3.2/test/test_create_subscription_request.py +45 -0
  151. monei-2.3.2/test/test_error.py +34 -0
  152. monei-2.3.2/test/test_error_base.py +34 -0
  153. {monei-2.3.0 → monei-2.3.2}/test/test_error_handling.py +6 -2
  154. monei-2.3.2/test/test_internal_server_error.py +39 -0
  155. monei-2.3.2/test/test_internal_server_error_all_of.py +34 -0
  156. {monei-2.3.0 → monei-2.3.2}/test/test_model_serialization.py +1 -1
  157. monei-2.3.2/test/test_model_serialization_enhancement.py +143 -0
  158. {monei-2.3.0 → monei-2.3.2}/test/test_monei_client.py +13 -5
  159. {monei-2.3.0 → monei-2.3.2}/test/test_monei_client_additional.py +53 -57
  160. {monei-2.3.0 → monei-2.3.2}/test/test_monei_client_integration.py +3 -3
  161. monei-2.3.2/test/test_not_found_error.py +39 -0
  162. monei-2.3.2/test/test_not_found_error_all_of.py +34 -0
  163. monei-2.3.2/test/test_pause_subscription_request.py +34 -0
  164. monei-2.3.2/test/test_payment.py +59 -0
  165. monei-2.3.2/test/test_payment_billing_details.py +37 -0
  166. monei-2.3.2/test/test_payment_cancellation_reason.py +34 -0
  167. monei-2.3.2/test/test_payment_customer.py +34 -0
  168. monei-2.3.2/test/test_payment_last_refund_reason.py +34 -0
  169. monei-2.3.2/test/test_payment_message_channel.py +34 -0
  170. monei-2.3.2/test/test_payment_message_language.py +34 -0
  171. monei-2.3.2/test/test_payment_methods.py +39 -0
  172. monei-2.3.2/test/test_payment_methods_metadata.py +75 -0
  173. monei-2.3.2/test/test_payment_methods_metadata_alipay.py +34 -0
  174. monei-2.3.2/test/test_payment_methods_metadata_apple_pay.py +36 -0
  175. monei-2.3.2/test/test_payment_methods_metadata_bancontact.py +36 -0
  176. monei-2.3.2/test/test_payment_methods_metadata_bizum.py +34 -0
  177. monei-2.3.2/test/test_payment_methods_metadata_blik.py +34 -0
  178. monei-2.3.2/test/test_payment_methods_metadata_card.py +34 -0
  179. monei-2.3.2/test/test_payment_methods_metadata_click_to_pay.py +53 -0
  180. monei-2.3.2/test/test_payment_methods_metadata_click_to_pay_discover.py +36 -0
  181. monei-2.3.2/test/test_payment_methods_metadata_click_to_pay_mastercard.py +36 -0
  182. monei-2.3.2/test/test_payment_methods_metadata_click_to_pay_visa.py +36 -0
  183. monei-2.3.2/test/test_payment_methods_metadata_eps.py +34 -0
  184. monei-2.3.2/test/test_payment_methods_metadata_giropay.py +34 -0
  185. monei-2.3.2/test/test_payment_methods_metadata_google_pay.py +36 -0
  186. monei-2.3.2/test/test_payment_methods_metadata_klarna.py +34 -0
  187. monei-2.3.2/test/test_payment_methods_metadata_mbway.py +34 -0
  188. monei-2.3.2/test/test_payment_methods_metadata_sepa.py +34 -0
  189. monei-2.3.2/test/test_payment_methods_metadata_sofort.py +34 -0
  190. monei-2.3.2/test/test_payment_methods_metadata_trustly.py +34 -0
  191. monei-2.3.2/test/test_payment_methods_methods.py +34 -0
  192. monei-2.3.2/test/test_payment_next_action.py +34 -0
  193. monei-2.3.2/test/test_payment_payment_method.py +51 -0
  194. monei-2.3.2/test/test_payment_payment_method_bizum.py +34 -0
  195. monei-2.3.2/test/test_payment_payment_method_bizum_input.py +36 -0
  196. monei-2.3.2/test/test_payment_payment_method_card.py +34 -0
  197. monei-2.3.2/test/test_payment_payment_method_card_input.py +34 -0
  198. monei-2.3.2/test/test_payment_payment_method_cofidis.py +34 -0
  199. monei-2.3.2/test/test_payment_payment_method_input.py +41 -0
  200. monei-2.3.2/test/test_payment_payment_method_klarna.py +34 -0
  201. monei-2.3.2/test/test_payment_payment_method_mbway.py +34 -0
  202. monei-2.3.2/test/test_payment_payment_method_paypal.py +34 -0
  203. monei-2.3.2/test/test_payment_payment_method_sepa.py +34 -0
  204. monei-2.3.2/test/test_payment_payment_method_trustly.py +34 -0
  205. monei-2.3.2/test/test_payment_payment_methods.py +34 -0
  206. monei-2.3.2/test/test_payment_refund_reason.py +34 -0
  207. monei-2.3.2/test/test_payment_sequence.py +37 -0
  208. monei-2.3.2/test/test_payment_sequence_recurring.py +34 -0
  209. monei-2.3.2/test/test_payment_session_details.py +34 -0
  210. monei-2.3.2/test/test_payment_shipping_details.py +37 -0
  211. monei-2.3.2/test/test_payment_shop.py +34 -0
  212. monei-2.3.2/test/test_payment_status.py +34 -0
  213. monei-2.3.2/test/test_payment_trace_details.py +34 -0
  214. monei-2.3.2/test/test_payment_transaction_type.py +34 -0
  215. monei-2.3.2/test/test_payments_api_enhancement.py +29 -0
  216. monei-2.3.2/test/test_recurring_payment_request.py +43 -0
  217. monei-2.3.2/test/test_refund_payment_request.py +37 -0
  218. monei-2.3.2/test/test_register_apple_pay_domain_request.py +34 -0
  219. monei-2.3.2/test/test_rest_enhancement.py +248 -0
  220. monei-2.3.2/test/test_send_payment_link_request.py +39 -0
  221. monei-2.3.2/test/test_send_payment_receipt_request.py +39 -0
  222. monei-2.3.2/test/test_send_payment_request_request.py +37 -0
  223. monei-2.3.2/test/test_send_subscription_link_request.py +34 -0
  224. monei-2.3.2/test/test_send_subscription_status_request.py +34 -0
  225. monei-2.3.2/test/test_service_unavailable_error.py +39 -0
  226. monei-2.3.2/test/test_service_unavailable_error_all_of.py +34 -0
  227. monei-2.3.2/test/test_subscription.py +53 -0
  228. monei-2.3.2/test/test_subscription_interval.py +34 -0
  229. monei-2.3.2/test/test_subscription_last_payment.py +37 -0
  230. monei-2.3.2/test/test_subscription_payment_method.py +37 -0
  231. monei-2.3.2/test/test_subscription_payment_method_card.py +34 -0
  232. monei-2.3.2/test/test_subscription_retry_schedule.py +37 -0
  233. monei-2.3.2/test/test_subscription_retry_schedule_inner.py +34 -0
  234. monei-2.3.2/test/test_subscription_status.py +34 -0
  235. monei-2.3.2/test/test_subscriptions_api_enhancement.py +29 -0
  236. {monei-2.3.0 → monei-2.3.2}/test/test_subscriptions_api_integration.py +20 -18
  237. monei-2.3.2/test/test_unauthorized_error.py +39 -0
  238. monei-2.3.2/test/test_unauthorized_error_all_of.py +34 -0
  239. monei-2.3.2/test/test_unprocessable_entity_error.py +39 -0
  240. monei-2.3.2/test/test_unprocessable_entity_error_all_of.py +34 -0
  241. monei-2.3.2/test/test_update_subscription_request.py +45 -0
  242. monei-2.3.2/test/test_validate_bizum_phone_request.py +34 -0
  243. {monei-2.3.0 → monei-2.3.2}/uv.lock +116 -1
  244. {monei-2.3.0 → monei-2.3.2}/yarn.lock +175 -5
  245. monei-2.3.0/.husky/commit-msg +0 -4
  246. monei-2.3.0/.husky/pre-commit +0 -1
  247. monei-2.3.0/Monei/__init__.py +0 -29
  248. monei-2.3.0/Monei/model/payment_transaction_type.py +0 -284
  249. monei-2.3.0/scripts/post-build.sh +0 -3
  250. monei-2.3.0/test/test_activate_subscription_request.py +0 -35
  251. monei-2.3.0/test/test_address.py +0 -35
  252. monei-2.3.0/test/test_api_exception.py +0 -35
  253. monei-2.3.0/test/test_apple_pay_domain_api.py +0 -45
  254. monei-2.3.0/test/test_apple_pay_domain_register200_response.py +0 -35
  255. monei-2.3.0/test/test_apple_pay_domain_register400_response.py +0 -37
  256. monei-2.3.0/test/test_apple_pay_domain_register401_response.py +0 -37
  257. monei-2.3.0/test/test_apple_pay_domain_register404_response.py +0 -37
  258. monei-2.3.0/test/test_apple_pay_domain_register422_response.py +0 -37
  259. monei-2.3.0/test/test_apple_pay_domain_register500_response.py +0 -37
  260. monei-2.3.0/test/test_apple_pay_domain_register503_response.py +0 -37
  261. monei-2.3.0/test/test_bad_request_error.py +0 -39
  262. monei-2.3.0/test/test_bad_request_error_all_of.py +0 -35
  263. monei-2.3.0/test/test_bizum_api.py +0 -47
  264. monei-2.3.0/test/test_bizum_validate_phone200_response.py +0 -35
  265. monei-2.3.0/test/test_browser_color_depth.py +0 -35
  266. monei-2.3.0/test/test_browser_screen_height.py +0 -35
  267. monei-2.3.0/test/test_browser_screen_width.py +0 -35
  268. monei-2.3.0/test/test_browser_timezone_offset.py +0 -35
  269. monei-2.3.0/test/test_cancel_payment_request.py +0 -37
  270. monei-2.3.0/test/test_cancel_subscription_request.py +0 -35
  271. monei-2.3.0/test/test_capture_payment_request.py +0 -35
  272. monei-2.3.0/test/test_confirm_payment_request.py +0 -43
  273. monei-2.3.0/test/test_confirm_payment_request_payment_method.py +0 -37
  274. monei-2.3.0/test/test_confirm_payment_request_payment_method_card.py +0 -35
  275. monei-2.3.0/test/test_create_subscription_request.py +0 -45
  276. monei-2.3.0/test/test_error.py +0 -35
  277. monei-2.3.0/test/test_error_base.py +0 -35
  278. monei-2.3.0/test/test_internal_server_error.py +0 -39
  279. monei-2.3.0/test/test_internal_server_error_all_of.py +0 -35
  280. monei-2.3.0/test/test_not_found_error.py +0 -39
  281. monei-2.3.0/test/test_not_found_error_all_of.py +0 -35
  282. monei-2.3.0/test/test_pause_subscription_request.py +0 -35
  283. monei-2.3.0/test/test_payment.py +0 -59
  284. monei-2.3.0/test/test_payment_billing_details.py +0 -37
  285. monei-2.3.0/test/test_payment_cancellation_reason.py +0 -35
  286. monei-2.3.0/test/test_payment_customer.py +0 -35
  287. monei-2.3.0/test/test_payment_last_refund_reason.py +0 -35
  288. monei-2.3.0/test/test_payment_message_channel.py +0 -35
  289. monei-2.3.0/test/test_payment_message_language.py +0 -35
  290. monei-2.3.0/test/test_payment_methods.py +0 -39
  291. monei-2.3.0/test/test_payment_methods_metadata.py +0 -67
  292. monei-2.3.0/test/test_payment_methods_metadata_alipay.py +0 -35
  293. monei-2.3.0/test/test_payment_methods_metadata_apple_pay.py +0 -35
  294. monei-2.3.0/test/test_payment_methods_metadata_bancontact.py +0 -35
  295. monei-2.3.0/test/test_payment_methods_metadata_bizum.py +0 -35
  296. monei-2.3.0/test/test_payment_methods_metadata_blik.py +0 -35
  297. monei-2.3.0/test/test_payment_methods_metadata_card.py +0 -35
  298. monei-2.3.0/test/test_payment_methods_metadata_click_to_pay.py +0 -41
  299. monei-2.3.0/test/test_payment_methods_metadata_click_to_pay_discover.py +0 -35
  300. monei-2.3.0/test/test_payment_methods_metadata_click_to_pay_mastercard.py +0 -35
  301. monei-2.3.0/test/test_payment_methods_metadata_click_to_pay_visa.py +0 -35
  302. monei-2.3.0/test/test_payment_methods_metadata_eps.py +0 -35
  303. monei-2.3.0/test/test_payment_methods_metadata_giropay.py +0 -35
  304. monei-2.3.0/test/test_payment_methods_metadata_google_pay.py +0 -35
  305. monei-2.3.0/test/test_payment_methods_metadata_klarna.py +0 -35
  306. monei-2.3.0/test/test_payment_methods_metadata_mbway.py +0 -35
  307. monei-2.3.0/test/test_payment_methods_metadata_sepa.py +0 -35
  308. monei-2.3.0/test/test_payment_methods_metadata_sofort.py +0 -35
  309. monei-2.3.0/test/test_payment_methods_metadata_trustly.py +0 -35
  310. monei-2.3.0/test/test_payment_methods_methods.py +0 -35
  311. monei-2.3.0/test/test_payment_next_action.py +0 -35
  312. monei-2.3.0/test/test_payment_payment_method.py +0 -51
  313. monei-2.3.0/test/test_payment_payment_method_bizum.py +0 -35
  314. monei-2.3.0/test/test_payment_payment_method_bizum_input.py +0 -35
  315. monei-2.3.0/test/test_payment_payment_method_card.py +0 -35
  316. monei-2.3.0/test/test_payment_payment_method_card_input.py +0 -35
  317. monei-2.3.0/test/test_payment_payment_method_cofidis.py +0 -35
  318. monei-2.3.0/test/test_payment_payment_method_input.py +0 -39
  319. monei-2.3.0/test/test_payment_payment_method_klarna.py +0 -35
  320. monei-2.3.0/test/test_payment_payment_method_mbway.py +0 -35
  321. monei-2.3.0/test/test_payment_payment_method_paypal.py +0 -35
  322. monei-2.3.0/test/test_payment_payment_method_sepa.py +0 -35
  323. monei-2.3.0/test/test_payment_payment_method_trustly.py +0 -35
  324. monei-2.3.0/test/test_payment_payment_methods.py +0 -35
  325. monei-2.3.0/test/test_payment_refund_reason.py +0 -35
  326. monei-2.3.0/test/test_payment_sequence.py +0 -37
  327. monei-2.3.0/test/test_payment_sequence_recurring.py +0 -35
  328. monei-2.3.0/test/test_payment_session_details.py +0 -35
  329. monei-2.3.0/test/test_payment_shipping_details.py +0 -37
  330. monei-2.3.0/test/test_payment_shop.py +0 -35
  331. monei-2.3.0/test/test_payment_status.py +0 -35
  332. monei-2.3.0/test/test_payment_trace_details.py +0 -35
  333. monei-2.3.0/test/test_payment_transaction_type.py +0 -35
  334. monei-2.3.0/test/test_recurring_payment_request.py +0 -43
  335. monei-2.3.0/test/test_refund_payment_request.py +0 -37
  336. monei-2.3.0/test/test_register_apple_pay_domain_request.py +0 -35
  337. monei-2.3.0/test/test_send_payment_link_request.py +0 -39
  338. monei-2.3.0/test/test_send_payment_receipt_request.py +0 -39
  339. monei-2.3.0/test/test_send_payment_request_request.py +0 -37
  340. monei-2.3.0/test/test_send_subscription_link_request.py +0 -35
  341. monei-2.3.0/test/test_send_subscription_status_request.py +0 -35
  342. monei-2.3.0/test/test_service_unavailable_error.py +0 -39
  343. monei-2.3.0/test/test_service_unavailable_error_all_of.py +0 -35
  344. monei-2.3.0/test/test_subscription.py +0 -53
  345. monei-2.3.0/test/test_subscription_interval.py +0 -35
  346. monei-2.3.0/test/test_subscription_last_payment.py +0 -37
  347. monei-2.3.0/test/test_subscription_payment_method.py +0 -37
  348. monei-2.3.0/test/test_subscription_payment_method_card.py +0 -35
  349. monei-2.3.0/test/test_subscription_retry_schedule.py +0 -37
  350. monei-2.3.0/test/test_subscription_retry_schedule_inner.py +0 -35
  351. monei-2.3.0/test/test_subscription_status.py +0 -35
  352. monei-2.3.0/test/test_unauthorized_error.py +0 -39
  353. monei-2.3.0/test/test_unauthorized_error_all_of.py +0 -35
  354. monei-2.3.0/test/test_unprocessable_entity_error.py +0 -39
  355. monei-2.3.0/test/test_unprocessable_entity_error_all_of.py +0 -35
  356. monei-2.3.0/test/test_update_subscription_request.py +0 -45
  357. monei-2.3.0/test/test_validate_bizum_phone_request.py +0 -35
  358. {monei-2.3.0 → monei-2.3.2}/.cursor/rules/general.mdc +0 -0
  359. {monei-2.3.0 → monei-2.3.2}/.gitattributes +0 -0
  360. {monei-2.3.0 → monei-2.3.2}/.github/workflows/deploy.yml +0 -0
  361. {monei-2.3.0 → monei-2.3.2}/.github/workflows/test.yml +0 -0
  362. {monei-2.3.0 → monei-2.3.2}/.gitignore +0 -0
  363. {monei-2.3.0 → monei-2.3.2}/.openapi-generator/FILES +0 -0
  364. {monei-2.3.0 → monei-2.3.2}/.openapi-generator/VERSION +0 -0
  365. {monei-2.3.0 → monei-2.3.2}/.openapi-generator-ignore +0 -0
  366. {monei-2.3.0 → monei-2.3.2}/.release-it.json +0 -0
  367. {monei-2.3.0 → monei-2.3.2}/.uv/uv.toml +0 -0
  368. {monei-2.3.0 → monei-2.3.2}/.yarnrc.yml +0 -0
  369. {monei-2.3.0 → monei-2.3.2}/LICENSE +0 -0
  370. {monei-2.3.0 → monei-2.3.2}/Monei/api/__init__.py +0 -0
  371. {monei-2.3.0 → monei-2.3.2}/Monei/model/__init__.py +0 -0
  372. {monei-2.3.0 → monei-2.3.2}/Monei/py.typed +0 -0
  373. {monei-2.3.0 → monei-2.3.2}/README.md +0 -0
  374. {monei-2.3.0 → monei-2.3.2}/commitlint.config.js +0 -0
  375. {monei-2.3.0 → monei-2.3.2}/openapitools.json +0 -0
  376. {monei-2.3.0 → monei-2.3.2}/scripts/release.sh +0 -0
  377. {monei-2.3.0 → monei-2.3.2}/test/__init__.py +0 -0
  378. {monei-2.3.0 → monei-2.3.2}/test/test_apple_pay_domain_api_integration.py +0 -0
  379. {monei-2.3.0 → monei-2.3.2}/test/test_bizum_api_integration.py +0 -0
  380. {monei-2.3.0 → monei-2.3.2}/test/test_create_payment_request.py +0 -0
  381. {monei-2.3.0 → monei-2.3.2}/test/test_exceptions.py +0 -0
  382. {monei-2.3.0 → monei-2.3.2}/test/test_model_utils.py +0 -0
  383. {monei-2.3.0 → monei-2.3.2}/test/test_payment_example.py +0 -0
  384. {monei-2.3.0 → monei-2.3.2}/test/test_payment_methods_api.py +0 -0
  385. {monei-2.3.0 → monei-2.3.2}/test/test_payment_methods_api_integration.py +0 -0
  386. {monei-2.3.0 → monei-2.3.2}/test/test_payment_methods_metadata_i_deal.py +0 -0
  387. {monei-2.3.0 → monei-2.3.2}/test/test_payments_api.py +0 -0
  388. {monei-2.3.0 → monei-2.3.2}/test/test_payments_api_example.py +0 -0
  389. {monei-2.3.0 → monei-2.3.2}/test/test_payments_api_integration.py +0 -0
  390. {monei-2.3.0 → monei-2.3.2}/test/test_rest_example.py +0 -0
  391. {monei-2.3.0 → monei-2.3.2}/test/test_subscriptions_api.py +0 -0
@@ -0,0 +1 @@
1
+ yarn commitlint --edit $1
@@ -0,0 +1,5 @@
1
+ # Run lint-staged to format Python files with Black
2
+ yarn lint-staged
3
+
4
+ # Run tests to ensure everything works
5
+ yarn test
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## <small>2.3.2 (2025-04-16)</small>
4
+
5
+ * chore: update SDK to OpenAPI specification version 1.6.1 ([9a649be](https://github.com/MONEI/monei-python-sdk/commit/9a649be))
6
+
7
+ ## <small>2.3.1 (2025-03-14)</small>
8
+
9
+ * chore: update SDK to OpenAPI specification version 1.6.0 ([f1214e5](https://github.com/MONEI/monei-python-sdk/commit/f1214e5))
10
+ * fix: resolve Black formatter installation issue ([3be582e](https://github.com/MONEI/monei-python-sdk/commit/3be582e))
11
+ * test: Add comprehensive model serialization and REST client tests ([7e324a0](https://github.com/MONEI/monei-python-sdk/commit/7e324a0))
12
+
3
13
  ## 2.3.0 (2025-03-11)
4
14
 
5
15
  * feat: Add retry configuration method to MoneiClient ([0440265](https://github.com/MONEI/monei-python-sdk/commit/0440265))
@@ -0,0 +1,33 @@
1
+ # flake8: noqa
2
+
3
+ """
4
+ MONEI API v1
5
+
6
+ The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.6.1
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ __version__ = "2.0.2"
14
+
15
+ # import ApiClient
16
+ from Monei.api_client import ApiClient
17
+
18
+ # import Configuration
19
+ from Monei.configuration import Configuration
20
+
21
+ # import exceptions
22
+ from Monei.exceptions import OpenApiException
23
+ from Monei.exceptions import ApiAttributeError
24
+ from Monei.exceptions import ApiTypeError
25
+ from Monei.exceptions import ApiValueError
26
+ from Monei.exceptions import ApiKeyError
27
+ from Monei.exceptions import ApiException
28
+
29
+ # import custom MoneiClient
30
+ from Monei.monei_client import MoneiClient
31
+ from Monei.models import *
32
+ from Monei.apis import *
33
+ from Monei.exceptions import *
@@ -1,13 +1,12 @@
1
1
  """
2
- MONEI API v1
2
+ MONEI API v1
3
3
 
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
4
+ The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 1.5.8
7
- Generated by: https://openapi-generator.tech
6
+ The version of the OpenAPI document: 1.6.1
7
+ Generated by: https://openapi-generator.tech
8
8
  """
9
9
 
10
-
11
10
  import re # noqa: F401
12
11
  import sys # noqa: F401
13
12
 
@@ -19,9 +18,11 @@ from Monei.model_utils import ( # noqa: F401
19
18
  datetime,
20
19
  file_type,
21
20
  none_type,
22
- validate_and_convert_types
21
+ validate_and_convert_types,
22
+ )
23
+ from Monei.model.apple_pay_domain_register200_response import (
24
+ ApplePayDomainRegister200Response,
23
25
  )
24
- from Monei.model.apple_pay_domain_register200_response import ApplePayDomainRegister200Response
25
26
  from Monei.model.bad_request_error import BadRequestError
26
27
  from Monei.model.internal_server_error import InternalServerError
27
28
  from Monei.model.not_found_error import NotFoundError
@@ -44,62 +45,46 @@ class ApplePayDomainApi(object):
44
45
  self.api_client = api_client
45
46
  self.register_endpoint = _Endpoint(
46
47
  settings={
47
- 'response_type': (ApplePayDomainRegister200Response,),
48
- 'auth': [
49
- 'APIKey'
50
- ],
51
- 'endpoint_path': '/apple-pay/domains',
52
- 'operation_id': 'register',
53
- 'http_method': 'POST',
54
- 'servers': None,
48
+ "response_type": (ApplePayDomainRegister200Response,),
49
+ "auth": ["APIKey"],
50
+ "endpoint_path": "/apple-pay/domains",
51
+ "operation_id": "register",
52
+ "http_method": "POST",
53
+ "servers": None,
55
54
  },
56
55
  params_map={
57
- 'all': [
58
- 'register_apple_pay_domain_request',
59
- ],
60
- 'required': [
61
- 'register_apple_pay_domain_request',
62
- ],
63
- 'nullable': [
56
+ "all": [
57
+ "register_apple_pay_domain_request",
64
58
  ],
65
- 'enum': [
59
+ "required": [
60
+ "register_apple_pay_domain_request",
66
61
  ],
67
- 'validation': [
68
- ]
62
+ "nullable": [],
63
+ "enum": [],
64
+ "validation": [],
69
65
  },
70
66
  root_map={
71
- 'validations': {
67
+ "validations": {},
68
+ "allowed_values": {},
69
+ "openapi_types": {
70
+ "register_apple_pay_domain_request": (
71
+ RegisterApplePayDomainRequest,
72
+ ),
72
73
  },
73
- 'allowed_values': {
74
+ "attribute_map": {},
75
+ "location_map": {
76
+ "register_apple_pay_domain_request": "body",
74
77
  },
75
- 'openapi_types': {
76
- 'register_apple_pay_domain_request':
77
- (RegisterApplePayDomainRequest,),
78
- },
79
- 'attribute_map': {
80
- },
81
- 'location_map': {
82
- 'register_apple_pay_domain_request': 'body',
83
- },
84
- 'collection_format_map': {
85
- }
78
+ "collection_format_map": {},
86
79
  },
87
80
  headers_map={
88
- 'accept': [
89
- 'application/json'
90
- ],
91
- 'content_type': [
92
- 'application/json'
93
- ]
81
+ "accept": ["application/json"],
82
+ "content_type": ["application/json"],
94
83
  },
95
- api_client=api_client
84
+ api_client=api_client,
96
85
  )
97
86
 
98
- def register(
99
- self,
100
- register_apple_pay_domain_request,
101
- **kwargs
102
- ):
87
+ def register(self, register_apple_pay_domain_request, **kwargs):
103
88
  """Register Domain # noqa: E501
104
89
 
105
90
  Registers a domain with Apple Pay. This endpoint allows you to register your website domain with Apple Pay, which is required before you can accept Apple Pay payments on your website. The domain must be accessible via HTTPS and have a valid SSL certificate. Before registering, you must download this [domain association file](https://assets.monei.com/apple-pay/apple-developer-merchantid-domain-association/) and host it at `/.well-known/apple-developer-merchantid-domain-association` on your site. For example, if you're registering `example.com`, make that file available at `https://example.com/.well-known/apple-developer-merchantid-domain-association`. After registration, Apple will verify your domain. Once verified, you can display Apple Pay buttons and process Apple Pay payments on your website. # noqa: E501
@@ -149,32 +134,15 @@ class ApplePayDomainApi(object):
149
134
  If the method is called asynchronously, returns the request
150
135
  thread.
151
136
  """
152
- kwargs['async_req'] = kwargs.get(
153
- 'async_req', False
154
- )
155
- kwargs['_return_http_data_only'] = kwargs.get(
156
- '_return_http_data_only', True
157
- )
158
- kwargs['_preload_content'] = kwargs.get(
159
- '_preload_content', True
160
- )
161
- kwargs['_request_timeout'] = kwargs.get(
162
- '_request_timeout', None
163
- )
164
- kwargs['_check_input_type'] = kwargs.get(
165
- '_check_input_type', True
166
- )
167
- kwargs['_check_return_type'] = kwargs.get(
168
- '_check_return_type', True
169
- )
170
- kwargs['_spec_property_naming'] = kwargs.get(
171
- '_spec_property_naming', False
172
- )
173
- kwargs['_content_type'] = kwargs.get(
174
- '_content_type')
175
- kwargs['_host_index'] = kwargs.get('_host_index')
176
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
177
- kwargs['register_apple_pay_domain_request'] = \
178
- register_apple_pay_domain_request
137
+ kwargs["async_req"] = kwargs.get("async_req", False)
138
+ kwargs["_return_http_data_only"] = kwargs.get("_return_http_data_only", True)
139
+ kwargs["_preload_content"] = kwargs.get("_preload_content", True)
140
+ kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
141
+ kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
142
+ kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
143
+ kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
144
+ kwargs["_content_type"] = kwargs.get("_content_type")
145
+ kwargs["_host_index"] = kwargs.get("_host_index")
146
+ kwargs["_request_auths"] = kwargs.get("_request_auths", None)
147
+ kwargs["register_apple_pay_domain_request"] = register_apple_pay_domain_request
179
148
  return self.register_endpoint.call_with_http_info(**kwargs)
180
-
@@ -1,13 +1,12 @@
1
1
  """
2
- MONEI API v1
2
+ MONEI API v1
3
3
 
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
4
+ The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 1.5.8
7
- Generated by: https://openapi-generator.tech
6
+ The version of the OpenAPI document: 1.6.1
7
+ Generated by: https://openapi-generator.tech
8
8
  """
9
9
 
10
-
11
10
  import re # noqa: F401
12
11
  import sys # noqa: F401
13
12
 
@@ -19,7 +18,7 @@ from Monei.model_utils import ( # noqa: F401
19
18
  datetime,
20
19
  file_type,
21
20
  none_type,
22
- validate_and_convert_types
21
+ validate_and_convert_types,
23
22
  )
24
23
  from Monei.model.bad_request_error import BadRequestError
25
24
  from Monei.model.bizum_validate_phone200_response import BizumValidatePhone200Response
@@ -44,62 +43,44 @@ class BizumApi(object):
44
43
  self.api_client = api_client
45
44
  self.validate_phone_endpoint = _Endpoint(
46
45
  settings={
47
- 'response_type': (BizumValidatePhone200Response,),
48
- 'auth': [
49
- 'APIKey'
50
- ],
51
- 'endpoint_path': '/bizum/validate-phone',
52
- 'operation_id': 'validate_phone',
53
- 'http_method': 'POST',
54
- 'servers': None,
46
+ "response_type": (BizumValidatePhone200Response,),
47
+ "auth": ["APIKey"],
48
+ "endpoint_path": "/bizum/validate-phone",
49
+ "operation_id": "validate_phone",
50
+ "http_method": "POST",
51
+ "servers": None,
55
52
  },
56
53
  params_map={
57
- 'all': [
58
- 'validate_bizum_phone_request',
59
- ],
60
- 'required': [
61
- 'validate_bizum_phone_request',
62
- ],
63
- 'nullable': [
54
+ "all": [
55
+ "validate_bizum_phone_request",
64
56
  ],
65
- 'enum': [
57
+ "required": [
58
+ "validate_bizum_phone_request",
66
59
  ],
67
- 'validation': [
68
- ]
60
+ "nullable": [],
61
+ "enum": [],
62
+ "validation": [],
69
63
  },
70
64
  root_map={
71
- 'validations': {
65
+ "validations": {},
66
+ "allowed_values": {},
67
+ "openapi_types": {
68
+ "validate_bizum_phone_request": (ValidateBizumPhoneRequest,),
72
69
  },
73
- 'allowed_values': {
70
+ "attribute_map": {},
71
+ "location_map": {
72
+ "validate_bizum_phone_request": "body",
74
73
  },
75
- 'openapi_types': {
76
- 'validate_bizum_phone_request':
77
- (ValidateBizumPhoneRequest,),
78
- },
79
- 'attribute_map': {
80
- },
81
- 'location_map': {
82
- 'validate_bizum_phone_request': 'body',
83
- },
84
- 'collection_format_map': {
85
- }
74
+ "collection_format_map": {},
86
75
  },
87
76
  headers_map={
88
- 'accept': [
89
- 'application/json'
90
- ],
91
- 'content_type': [
92
- 'application/json'
93
- ]
77
+ "accept": ["application/json"],
78
+ "content_type": ["application/json"],
94
79
  },
95
- api_client=api_client
80
+ api_client=api_client,
96
81
  )
97
82
 
98
- def validate_phone(
99
- self,
100
- validate_bizum_phone_request,
101
- **kwargs
102
- ):
83
+ def validate_phone(self, validate_bizum_phone_request, **kwargs):
103
84
  """Validate Phone # noqa: E501
104
85
 
105
86
  Validates if a phone number is registered with Bizum. Use this endpoint to check if a customer's phone number can be used for Bizum payments before attempting to process a payment. This helps provide a better user experience by preventing failed payment attempts for non-registered numbers. The response will indicate whether the phone number is valid for Bizum payments. # noqa: E501
@@ -149,32 +130,15 @@ class BizumApi(object):
149
130
  If the method is called asynchronously, returns the request
150
131
  thread.
151
132
  """
152
- kwargs['async_req'] = kwargs.get(
153
- 'async_req', False
154
- )
155
- kwargs['_return_http_data_only'] = kwargs.get(
156
- '_return_http_data_only', True
157
- )
158
- kwargs['_preload_content'] = kwargs.get(
159
- '_preload_content', True
160
- )
161
- kwargs['_request_timeout'] = kwargs.get(
162
- '_request_timeout', None
163
- )
164
- kwargs['_check_input_type'] = kwargs.get(
165
- '_check_input_type', True
166
- )
167
- kwargs['_check_return_type'] = kwargs.get(
168
- '_check_return_type', True
169
- )
170
- kwargs['_spec_property_naming'] = kwargs.get(
171
- '_spec_property_naming', False
172
- )
173
- kwargs['_content_type'] = kwargs.get(
174
- '_content_type')
175
- kwargs['_host_index'] = kwargs.get('_host_index')
176
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
177
- kwargs['validate_bizum_phone_request'] = \
178
- validate_bizum_phone_request
133
+ kwargs["async_req"] = kwargs.get("async_req", False)
134
+ kwargs["_return_http_data_only"] = kwargs.get("_return_http_data_only", True)
135
+ kwargs["_preload_content"] = kwargs.get("_preload_content", True)
136
+ kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
137
+ kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
138
+ kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
139
+ kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
140
+ kwargs["_content_type"] = kwargs.get("_content_type")
141
+ kwargs["_host_index"] = kwargs.get("_host_index")
142
+ kwargs["_request_auths"] = kwargs.get("_request_auths", None)
143
+ kwargs["validate_bizum_phone_request"] = validate_bizum_phone_request
179
144
  return self.validate_phone_endpoint.call_with_http_info(**kwargs)
180
-
@@ -1,13 +1,12 @@
1
1
  """
2
- MONEI API v1
2
+ MONEI API v1
3
3
 
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
4
+ The MONEI API is organized around REST principles. Our API is designed to be intuitive and developer-friendly. ### Base URL All API requests should be made to: ``` https://api.monei.com/v1 ``` ### Environment MONEI provides two environments: - **Test Environment**: For development and testing without processing real payments - **Live Environment**: For processing real transactions in production ### Client Libraries We provide official SDKs to simplify integration: - [PHP SDK](https://github.com/MONEI/monei-php-sdk) - [Python SDK](https://github.com/MONEI/monei-python-sdk) - [Node.js SDK](https://github.com/MONEI/monei-node-sdk) - [Postman Collection](https://postman.monei.com/) Our SDKs handle authentication, error handling, and request formatting automatically. You can download the OpenAPI specification from the https://js.monei.com/api/v1/openapi.json and generate your own client library using the [OpenAPI Generator](https://openapi-generator.tech/). ### Important Requirements - All API requests must be made over HTTPS - If you are not using our official SDKs, you **must provide a valid `User-Agent` header** with each request - Requests without proper authentication will return a `401 Unauthorized` error ### Error Handling The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a `statusCode` attribute indicating the outcome of your request. ### Rate Limits The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a `429 Too Many Requests` status code. # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 1.5.8
7
- Generated by: https://openapi-generator.tech
6
+ The version of the OpenAPI document: 1.6.1
7
+ Generated by: https://openapi-generator.tech
8
8
  """
9
9
 
10
-
11
10
  import re # noqa: F401
12
11
  import sys # noqa: F401
13
12
 
@@ -19,7 +18,7 @@ from Monei.model_utils import ( # noqa: F401
19
18
  datetime,
20
19
  file_type,
21
20
  none_type,
22
- validate_and_convert_types
21
+ validate_and_convert_types,
23
22
  )
24
23
  from Monei.model.bad_request_error import BadRequestError
25
24
  from Monei.model.internal_server_error import InternalServerError
@@ -43,63 +42,48 @@ class PaymentMethodsApi(object):
43
42
  self.api_client = api_client
44
43
  self.get_endpoint = _Endpoint(
45
44
  settings={
46
- 'response_type': (PaymentMethods,),
47
- 'auth': [
48
- 'APIKey'
49
- ],
50
- 'endpoint_path': '/payment-methods',
51
- 'operation_id': 'get',
52
- 'http_method': 'GET',
53
- 'servers': None,
45
+ "response_type": (PaymentMethods,),
46
+ "auth": ["APIKey"],
47
+ "endpoint_path": "/payment-methods",
48
+ "operation_id": "get",
49
+ "http_method": "GET",
50
+ "servers": None,
54
51
  },
55
52
  params_map={
56
- 'all': [
57
- 'account_id',
58
- 'payment_id',
59
- ],
60
- 'required': [],
61
- 'nullable': [
62
- ],
63
- 'enum': [
53
+ "all": [
54
+ "account_id",
55
+ "payment_id",
64
56
  ],
65
- 'validation': [
66
- ]
57
+ "required": [],
58
+ "nullable": [],
59
+ "enum": [],
60
+ "validation": [],
67
61
  },
68
62
  root_map={
69
- 'validations': {
63
+ "validations": {},
64
+ "allowed_values": {},
65
+ "openapi_types": {
66
+ "account_id": (str,),
67
+ "payment_id": (str,),
70
68
  },
71
- 'allowed_values': {
69
+ "attribute_map": {
70
+ "account_id": "accountId",
71
+ "payment_id": "paymentId",
72
72
  },
73
- 'openapi_types': {
74
- 'account_id':
75
- (str,),
76
- 'payment_id':
77
- (str,),
73
+ "location_map": {
74
+ "account_id": "query",
75
+ "payment_id": "query",
78
76
  },
79
- 'attribute_map': {
80
- 'account_id': 'accountId',
81
- 'payment_id': 'paymentId',
82
- },
83
- 'location_map': {
84
- 'account_id': 'query',
85
- 'payment_id': 'query',
86
- },
87
- 'collection_format_map': {
88
- }
77
+ "collection_format_map": {},
89
78
  },
90
79
  headers_map={
91
- 'accept': [
92
- 'application/json'
93
- ],
94
- 'content_type': [],
80
+ "accept": ["application/json"],
81
+ "content_type": [],
95
82
  },
96
- api_client=api_client
83
+ api_client=api_client,
97
84
  )
98
85
 
99
- def get(
100
- self,
101
- **kwargs
102
- ):
86
+ def get(self, **kwargs):
103
87
  """Get Payment Methods # noqa: E501
104
88
 
105
89
  Retrieve available payment methods for an account or a specific payment. You can provide either an `accountId` or a `paymentId` as a query parameter to get the available payment methods. When providing a `paymentId`, the response will include additional payment-specific information such as amount and currency. This is useful when you want to show payment options that are specifically available for a particular transaction. When providing an `accountId`, the response will include all payment methods available for that account based on the merchant's configuration and supported payment methods. # noqa: E501
@@ -149,30 +133,14 @@ class PaymentMethodsApi(object):
149
133
  If the method is called asynchronously, returns the request
150
134
  thread.
151
135
  """
152
- kwargs['async_req'] = kwargs.get(
153
- 'async_req', False
154
- )
155
- kwargs['_return_http_data_only'] = kwargs.get(
156
- '_return_http_data_only', True
157
- )
158
- kwargs['_preload_content'] = kwargs.get(
159
- '_preload_content', True
160
- )
161
- kwargs['_request_timeout'] = kwargs.get(
162
- '_request_timeout', None
163
- )
164
- kwargs['_check_input_type'] = kwargs.get(
165
- '_check_input_type', True
166
- )
167
- kwargs['_check_return_type'] = kwargs.get(
168
- '_check_return_type', True
169
- )
170
- kwargs['_spec_property_naming'] = kwargs.get(
171
- '_spec_property_naming', False
172
- )
173
- kwargs['_content_type'] = kwargs.get(
174
- '_content_type')
175
- kwargs['_host_index'] = kwargs.get('_host_index')
176
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
136
+ kwargs["async_req"] = kwargs.get("async_req", False)
137
+ kwargs["_return_http_data_only"] = kwargs.get("_return_http_data_only", True)
138
+ kwargs["_preload_content"] = kwargs.get("_preload_content", True)
139
+ kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
140
+ kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
141
+ kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
142
+ kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
143
+ kwargs["_content_type"] = kwargs.get("_content_type")
144
+ kwargs["_host_index"] = kwargs.get("_host_index")
145
+ kwargs["_request_auths"] = kwargs.get("_request_auths", None)
177
146
  return self.get_endpoint.call_with_http_info(**kwargs)
178
-