pypaystack2 3.2.0__tar.gz → 3.2.1__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 (76) hide show
  1. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/PKG-INFO +1 -1
  2. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/pyproject.toml +1 -1
  3. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/_metadata.py +2 -2
  4. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/payment_requests.py +6 -0
  5. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/payment_requests.py +6 -0
  6. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/README.md +0 -0
  7. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/__init__.py +0 -0
  8. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/base_clients.py +0 -0
  9. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/cli.py +0 -0
  10. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/enums.py +0 -0
  11. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/exceptions.py +0 -0
  12. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/fees_calculation_mixin.py +0 -0
  13. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/main_clients.py +0 -0
  14. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/models/__init__.py +0 -0
  15. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/models/payload_models.py +0 -0
  16. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/models/response_models.py +0 -0
  17. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/py.typed +0 -0
  18. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/__init__.py +0 -0
  19. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/__init__.py +0 -0
  20. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/apple_pay.py +0 -0
  21. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/bulk_charges.py +0 -0
  22. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/charge.py +0 -0
  23. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/customers.py +0 -0
  24. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/dedicated_accounts.py +0 -0
  25. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/direct_debits.py +0 -0
  26. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/disputes.py +0 -0
  27. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/integration.py +0 -0
  28. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/miscellaneous.py +0 -0
  29. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/payment_pages.py +0 -0
  30. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/plans.py +0 -0
  31. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/products.py +0 -0
  32. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/refunds.py +0 -0
  33. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/settlements.py +0 -0
  34. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/splits.py +0 -0
  35. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/subaccounts.py +0 -0
  36. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/subscriptions.py +0 -0
  37. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/terminals.py +0 -0
  38. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transactions.py +0 -0
  39. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transfer_recipients.py +0 -0
  40. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transfers.py +0 -0
  41. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transfers_control.py +0 -0
  42. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/verification.py +0 -0
  43. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/virtual_terminals.py +0 -0
  44. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/__init__.py +0 -0
  45. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/apple_pay.py +0 -0
  46. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/bulk_charges.py +0 -0
  47. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/charge.py +0 -0
  48. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/customers.py +0 -0
  49. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/dedicated_accounts.py +0 -0
  50. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/direct_debits.py +0 -0
  51. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/disputes.py +0 -0
  52. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/integration.py +0 -0
  53. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/miscellaneous.py +0 -0
  54. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/payment_pages.py +0 -0
  55. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/plans.py +0 -0
  56. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/products.py +0 -0
  57. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/refunds.py +0 -0
  58. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/settlements.py +0 -0
  59. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/splits.py +0 -0
  60. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/subaccounts.py +0 -0
  61. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/subscriptions.py +0 -0
  62. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/terminals.py +0 -0
  63. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transactions.py +0 -0
  64. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transfer_recipients.py +0 -0
  65. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transfers.py +0 -0
  66. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transfers_control.py +0 -0
  67. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/verification.py +0 -0
  68. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/virtual_terminals.py +0 -0
  69. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/types.py +0 -0
  70. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/utils.py +0 -0
  71. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/__init__.py +0 -0
  72. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/cli.py +0 -0
  73. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/enums.py +0 -0
  74. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/logging_config.py +0 -0
  75. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/models.py +0 -0
  76. {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/webhook_proxy_server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypaystack2
3
- Version: 3.2.0
3
+ Version: 3.2.1
4
4
  Summary: A developer-friendly client library for Paystack
5
5
  Keywords: paystack-python,pypaystack,paystack,paystackapi
6
6
  Author: Gbenga Adeyi
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pypaystack2"
3
- version = "3.2.0"
3
+ version = "3.2.1"
4
4
  description = "A developer-friendly client library for Paystack"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -1,5 +1,5 @@
1
1
  __title__ = "pypaystack2"
2
- __version__ = "3.2.0"
2
+ __version__ = "3.2.1"
3
3
  __author__ = [{"name": "Gbenga Adeyi", "email": "adeyigbenga005@gmail.com"}]
4
4
  __license__ = "MIT"
5
- __copyright__ = "Copyright 2025."
5
+ __copyright__ = "Copyright 2026."
@@ -34,6 +34,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
34
34
  has_invoice: bool | None = None,
35
35
  invoice_number: int | None = None,
36
36
  split_code: str | None = None,
37
+ metadata: dict[str, Any] | None = None,
37
38
  alternate_model_class: type[PaystackDataModel] | None = None,
38
39
  ) -> Response[PaymentRequest] | Response[PaystackDataModel]:
39
40
  """Create a payment request for a transaction on your integration
@@ -54,6 +55,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
54
55
  This field is to help override whatever value Paystack decides. Auto increment for
55
56
  subsequent invoices continue from this point.
56
57
  split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
58
+ metadata: Additional informations to the request
57
59
  alternate_model_class: A pydantic model class to use instead of the
58
60
  default pydantic model used by the library to present the data in
59
61
  the `Response.data`. The default behaviour of the library is to
@@ -91,6 +93,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
91
93
  ("has_invoice", has_invoice),
92
94
  ("invoice_number", invoice_number),
93
95
  ("split_code", split_code),
96
+ ("metadata", metadata),
94
97
  ]
95
98
  payload = add_to_payload(optional_params, payload)
96
99
  return await self._handle_request( # type: ignore
@@ -336,6 +339,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
336
339
  draft: bool | None = None,
337
340
  invoice_number: int | None = None,
338
341
  split_code: str | None = None,
342
+ metadata: dict[str, Any] | None = None,
339
343
  alternate_model_class: type[PaystackDataModel] | None = None,
340
344
  ) -> Response[PaymentRequest] | Response[PaystackDataModel]:
341
345
  """Update a payment request details on your integration
@@ -356,6 +360,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
356
360
  This field is to help override whatever value Paystack decides. Auto increment for
357
361
  subsequent invoices continue from this point.
358
362
  split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
363
+ metadata: Additional informations to the request
359
364
  alternate_model_class: A pydantic model class to use instead of the
360
365
  default pydantic model used by the library to present the data in
361
366
  the `Response.data`. The default behaviour of the library is to
@@ -395,6 +400,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
395
400
  ("draft", draft),
396
401
  ("invoice_number", invoice_number),
397
402
  ("split_code", split_code),
403
+ ("metadata", metadata),
398
404
  ]
399
405
  payload = add_to_payload(optional_params, payload)
400
406
  return await self._handle_request( # type: ignore
@@ -34,6 +34,7 @@ class PaymentRequestClient(BaseAPIClient):
34
34
  has_invoice: bool | None = None,
35
35
  invoice_number: int | None = None,
36
36
  split_code: str | None = None,
37
+ metadata: dict[str, Any] | None = None,
37
38
  alternate_model_class: type[PaystackDataModel] | None = None,
38
39
  ) -> Response[PaymentRequest] | Response[PaystackDataModel]:
39
40
  """Create a payment request for a transaction on your integration
@@ -54,6 +55,7 @@ class PaymentRequestClient(BaseAPIClient):
54
55
  This field is to help override whatever value Paystack decides. Auto increment for
55
56
  subsequent invoices continue from this point.
56
57
  split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
58
+ metadata: Additional informations to the request
57
59
  alternate_model_class: A pydantic model class to use instead of the
58
60
  default pydantic model used by the library to present the data in
59
61
  the `Response.data`. The default behaviour of the library is to
@@ -91,6 +93,7 @@ class PaymentRequestClient(BaseAPIClient):
91
93
  ("has_invoice", has_invoice),
92
94
  ("invoice_number", invoice_number),
93
95
  ("split_code", split_code),
96
+ ("metadata", metadata),
94
97
  ]
95
98
  payload = add_to_payload(optional_params, payload)
96
99
  return self._handle_request( # type: ignore
@@ -336,6 +339,7 @@ class PaymentRequestClient(BaseAPIClient):
336
339
  draft: bool | None = None,
337
340
  invoice_number: int | None = None,
338
341
  split_code: str | None = None,
342
+ metadata: dict[str, Any] | None = None,
339
343
  alternate_model_class: type[PaystackDataModel] | None = None,
340
344
  ) -> Response[PaymentRequest] | Response[PaystackDataModel]:
341
345
  """Update the payment request details on your integration
@@ -356,6 +360,7 @@ class PaymentRequestClient(BaseAPIClient):
356
360
  This field is to help override whatever value Paystack decides. Auto increment for
357
361
  subsequent invoices continue from this point.
358
362
  split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
363
+ metadata: Additional informations to the request
359
364
  alternate_model_class: A pydantic model class to use instead of the
360
365
  default pydantic model used by the library to present the data in
361
366
  the `Response.data`. The default behaviour of the library is to
@@ -396,6 +401,7 @@ class PaymentRequestClient(BaseAPIClient):
396
401
  ("draft", draft),
397
402
  ("invoice_number", invoice_number),
398
403
  ("split_code", split_code),
404
+ ("metadata", metadata),
399
405
  ]
400
406
  payload = add_to_payload(optional_params, payload)
401
407
  return self._handle_request( # type: ignore
File without changes