diff --git a/CHANGELOG.md b/CHANGELOG.md index f314dae6..3e19a01d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +## [2.23.0] - 2022.05.24 +### Added + +#### UserCategory management + +Users can now be differentiated depending on their MANGOPAY usage. + +This is possible with the new UserCategory parameter, whose value can be set to: + +- Payer – For users who are only using MANGOPAY to give money to other users (i.e., only pay). +- Owner – For users who are using MANGOPAY to receive funds (and who are therefore required to accept MANGOPAY’s terms and conditions). + +Please note that the following parameters become required as soon as the UserCategory is set to “Owner”: +- HeadquartersAddress +- CompanyNumber (if the LegalPersonType is “Business”) +- TermsAndConditionsAccepted. + +The documentation of user-related endpoints has been updated and reorganised to take into account the new parameter: + +[Create a Natural User (Payer)](https://docs.mangopay.com/endpoints/v2.01/users#e255_create-a-natural-user) +[Create a Natural User (Owner)](https://docs.mangopay.com/endpoints/v2.01/users#e1059_create-natural-user-owner) +[Update a Natural User](https://docs.mangopay.com/endpoints/v2.01/users#e260_update-a-natural-user) +[Create a Legal User (Payer)](https://docs.mangopay.com/endpoints/v2.01/users#e259_create-a-legal-user) +[Create a Legal User (Owner)](https://docs.mangopay.com/endpoints/v2.01/users#e1060_create-a-legal-user-owner) +[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) +[List all Users](https://docs.mangopay.com/endpoints/v2.01/users#e257_list-all-users) + +Differentiating the platform users results in a smoother user experience for “Payers” as they will have less declarative data to provide. + ## [2.22.0] - 2022.05.12 ### Added diff --git a/build.gradle b/build.gradle index 9aecb42a..efe31485 100644 --- a/build.gradle +++ b/build.gradle @@ -40,7 +40,7 @@ task javadocJar(type: Jar) { } group = 'com.mangopay' -version = '2.22.0' +version = '2.23.0' sourceCompatibility = '1.7' publishing { @@ -49,7 +49,7 @@ publishing { pom { groupId 'com.mangopay' artifactId 'mangopay2-java-sdk' - version '2.22.0' + version '2.23.0' from(components.java) diff --git a/src/main/resources/com/mangopay/core/mangopay.properties b/src/main/resources/com/mangopay/core/mangopay.properties index bef62d68..d0be4c8c 100644 --- a/src/main/resources/com/mangopay/core/mangopay.properties +++ b/src/main/resources/com/mangopay/core/mangopay.properties @@ -1,2 +1,2 @@ -#Thu May 12 12:20:38 EEST 2022 -version=2.22.0 +#Tue May 24 16:19:43 EEST 2022 +version=2.23.0