Skip to content

Releases: Mangopay/mangopay2-nodejs-sdk

1.31.1

14 Oct 10:45
Compare
Choose a tag to compare

Fixed

  • Compiling fails in Typescript 4.8 #335
  • KYC's DocumentStatus missing value #333
  • Fixed untyped property for CountryAuthorization
  • Added missing UserId to UboDeclarationData

1.31.0

25 Aug 06:43
Compare
Choose a tag to compare

Added

New country authorizations endpoints

Country authorizations can now be viewed by using one of the following endpoints:

View a country's authorizations
View all countries' authorizations

With these calls, it is possible to check which countries have:

  • Blocked user creation
  • Blocked bank account creation
  • Blocked payout creation

Please refer to the Restrictions by country article for more information.

1.30.1

17 Aug 13:51
Compare
Choose a tag to compare

Fixed

  • Missing types for error catching. Fix issue #320
  • Missing types for BankAccount object. Fix issue #319
  • Missing type for CardPreAuthorizationData. Fix issue #311
  • OAuth token renewal bug fix

1.30.0

29 Jun 09:26
Compare
Choose a tag to compare

Added

Recurring: €0 deadlines for CIT

Setting free recurring payment deadlines is now possible for CIT (customer-initiated transactions) with the FreeCycles parameter.

The FreeCycles parameter allows platforms to define the number of consecutive deadlines that will be free. The following endpoints have been updated to take into account this new parameter:

Create a Recurring PayIn Registration
View a Recurring PayIn Registration
This feature provides new automation capabilities for platforms with offers such as “Get the first month free” or “free trial” subscriptions.

Please refer to the Recurring payments overview documentation for more information.

1.29.2

27 May 09:00
Compare
Choose a tag to compare

Fixed

User constructor issue

1.29.1

23 May 09:27
Compare
Choose a tag to compare

Fixed

  • UserCategory added to User Base classes

1.29.0

20 May 08:31
Compare
Choose a tag to compare

Added

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)
Create a Natural User (Owner)
Update a Natural User
Create a Legal User (Payer)
Create a Legal User (Owner)
Update a Legal User
View a User
List all Users

Differentiating the platform users results in a smoother user experience for “Payers” as they will have less declarative data to provide.

1.28.0

11 May 13:13
Compare
Choose a tag to compare

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
Update a Natural User
Create a Legal User
Update a Legal User
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.

1.27.0

11 May 07:10
Compare
Choose a tag to compare

Added

When you create a KYC Document you can now add a Tag ( custom data ).

Fixed

  • Issue #309 (Sort with column and direction using typescript)

1.26.1

21 Apr 06:14
Compare
Choose a tag to compare

Fixed

Typescript check for Github runner