Skip to content

Releases: Mangopay/mangopay2-nodejs-sdk

1.19.0

10 Jun 18:17
Compare
Choose a tag to compare

Added

We have added a new feature recurring payments dedicated to clients needing to charge a card repeatedly, such as subscriptions or payments installments.

You can start testing in sandbox, to help you define your workflow. This release provides the first elements of the full feature.

This feature is not yet available in production and you need to contact the Support team to request access.

1.18.0

27 May 18:48
Compare
Choose a tag to compare

Added

Mangopay has introduced few months ago the instant payment mode. It allows payouts (transfer from wallet to user bank account) to be processed within 25 seconds, rather than the 48 hours for a standard payout.

We have added a new feature in the NodeJS SDK. You can now verify the mode applied to an instant payment.

let payoutData = api.PayOuts.getBankwire(payOut.Id);
// where payOut.Id is the id of an existing payout

Please note that this feature must be authorized and activated by MANGOPAY. More information here.

1.17.0

11 May 08:38
Compare
Choose a tag to compare

Fixed

IBAN for testing purposes

⚠️ IBAN provided for testing purpose should never be used outside of a testing environement!

  • Fix BankAccount IBAN reference for tests

More information about how to test payments, click here.

BankingAlias

The SDK was calling the endpoint using a deprecated format. It has been fixed.

Added

New events for PreAuthorization

Some of you use a lot the PreAuthorization feature of our API. To make your life easier, we have added three new events :

  • PREAUTHORIZATION_CREATED
  • PREAUTHORIZATION_SUCCEEDED
  • PREAUTHORIZATION_FAILED

The goal is to help you monitor a PreAuthorization with a webhook.

Example: If a PreAuthorization is desynchronized, when the status is updated, you will be able to know it.

Models and services are preloaded from predefined lists

Thanks to @jgautheron, the SDK is now compatible with bundlers (Webpack, etc...) and avoid i/o at runtime.

1.16.0

25 Mar 10:41
606e2fa
Compare
Choose a tag to compare

Added

On demand feature for 3DSv2

This on-demand feature is for testing purposes only and will not be available in production

Request

We've added a new parameter Requested3DSVersion (not mandatory) that allows you to choose between versions of 3DS protocols (managed by the parameter SecureMode). Two values are available:

  • V1
  • V2_1

If nothing is sent, the flow will be 3DS V1.

The Requested3DSVersion may be included on all calls to the following endpoints:

  • /preauthorizations/card/direct
  • /payins/card/direct

Response

In the API response, the Requested3DSVersion will show the value you requested:

  • V1
  • V2_1
  • null – indicates that nothing was requested

The parameter Applied3DSVersion shows you the version of the 3DS protocol used. Two values are possible:

  • V1
  • V2_1

1.15.0

22 Feb 18:16
Compare
Choose a tag to compare

Added

  • 3DS2 integration with Shipping and Billing objects, including FirstName and LastName fields
    The objects Billing and Shipping may be included on all calls to the following endpoints:
    • /preauthorizations/card/direct
    • /payins/card/direct
    • /payins/card/web
  • Enable Instant Payment for payouts by adding a new parameter PayoutModeRequested on the following endpoint /payouts/bankwire
    • The new parameter PayoutModeRequested can take two different values : "INSTANT_PAYMENT" or "STANDARD" (STANDARD = the way we proceed normally a payout request)
    • This new parameter is not mandatory and if empty or not present, the payout will be "STANDARD" by default
    • Instant Payment is in beta all over Europe - SEPA region

Fixed

  • Fix typo in README
  • Fix typo IpAdress -> IpAddress in PayInPaymentDetailsCardDirect
  • Fix Users update through a PUT request

3DS2 changes - Added IpAddress and BrowserInfo parameters, 'NO_CHOICE' value for the SecureMode

21 Dec 14:55
2cbcc3a
Compare
Choose a tag to compare

Release 1.14.5 🏞️

Added IpAddress and BrowserInfo parameters to the following endpoints and corresponding objects 💳
• /payins/card/direct
• /preauthorizations/card/direct
Added 'NO_CHOICE' value for the SecureMode parameter 🧷

Regulatory endpoint and hook, SubmitKycDocument fix

10 Dec 17:39
c0cbc7f
Compare
Choose a tag to compare

Release 1.14.4 🏞️

Added 'Regulatory' endpoint to allow checks of User Block Status 🚫
Added support for Regulatory -> Blocked Status Hooks 📞
Fix for SubmitKycDocument bug 🏗️

Release Payment Type in CreatePayOut, new endpoint PreAuthorization Transactions, Client endpoints

30 Oct 14:19
c0cbc7f
Compare
Choose a tag to compare

Release 1.14.3 🍡

We've added a PaymentType to the CreatePayOut Object 💸
A new endpoint exists for listing PreAuthorization Transactions 📑
Methods have been added for creating Client bank accounts and payouts 🆑

Card Validate Endpoint, UBO by ID, typos and minor fixes 1.14.2

25 Sep 12:02
Compare
Choose a tag to compare

Update 🐺 1.14.2

New endpoint -> get UBO declaration by ID 🆔
RemainingFunds tests 💯
Fixing of Typos, for Typescript compatibility ✍️
New endpoint to support changes to Card Validation process (please listen out for product announcements 👂 )

v1.14.1 > KYC status OUT_OF_DATE typing

01 Sep 10:58
Compare
Choose a tag to compare

Minor release v1.14.1

Added KYC document status OUT_OF_DATE typing ✍️