diff --git a/CHANGELOG.md b/CHANGELOG.md index d8da84a2..1511381d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## [3.13.0] - 2022-05-12 +### Added + +#### Terms and conditions acceptance parameter + +The acceptance of the MANGOPAY terms and conditions by the end user can now be registered via the SDK. + +This information can be managed by using the new `TermsAndConditionsAccepted` parameter added to the `User` object. + +The following API endpoints have been updated to take into account the new TermsAndConditionsAccepted parameter: + +[Create a Natural User](https://docs.mangopay.com/endpoints/v2.01/users#e255_create-a-natural-user) +[Update a Natural User](https://docs.mangopay.com/endpoints/v2.01/users#e260_update-a-natural-user) +[Create a Legal User](https://docs.mangopay.com/endpoints/v2.01/users#e259_create-a-legal-user) +[Update a Legal User](https://docs.mangopay.com/endpoints/v2.01/users#e261_update-a-legal-user) +[View a User](https://docs.mangopay.com/endpoints/v2.01/users#e256_view-a-user) + +Please note that: + +- Existing users have to be updated to include the terms and conditions acceptance information. +- Once accepted, the terms and conditions cannot be revoked. + + ## [3.12.0] - 2022-03-31 ### Added diff --git a/MangoPay/Libraries/RestTool.php b/MangoPay/Libraries/RestTool.php index 3c3d184b..12292128 100644 --- a/MangoPay/Libraries/RestTool.php +++ b/MangoPay/Libraries/RestTool.php @@ -11,7 +11,7 @@ */ class RestTool { - const VERSION = '3.12.0'; + const VERSION = '3.13.0'; /** * Root/parent instance that holds the OAuthToken and Configuration instance