Skip to content

Releases: Mangopay/mangopay2-java-sdk

2.19.0

20 Oct 14:19
Compare
Choose a tag to compare

Added

You can now change the status to "ENDED" for a recurring payment.

Fixed

  • "Status" is now available in the response when you request a recurring payment registration.

2.18.0

14 Oct 13:02
32ae3df
Compare
Choose a tag to compare

Fixed

  • Card deactivation
  • UBO Declaration creation
  • User-Agent in headers

Added

Payconiq

As requested by numerous clients, we are now providing Payconiq as a new mean-of-payment. To request access, please contact MANGOPAY.

Flags for KYC documents

We provide more information regarding refused KYC documents. Therefore it will be easier for you to adapt your app behavior and help your end user.

You are now able to see the exact explanation thanks to a new parameter called “Flags”.

It has been added to

this.api.getKycDocumentApi().getKycDocument(kycDocument.getId());

It will display one or several error codes that provide the reason(s) why your document validation has failed. These error codes description are available here.

2.17.0

12 Oct 11:26
Compare
Choose a tag to compare

Fixed

  • Better error parsing (issue #244)
  • Change FallbackReason parameter's type to object in PayOutPaymentDetailsBankWire

Added

  • You can now update and view a Recurring PayIn Registration object. To know more about this feature, please consult the documentation here.
  • To improve recurring payments, we have added new parameters for CIT : DebitedFunds & Fees. To know more about this feature, please consult the documentation here

2.16.0

10 Jun 18:09
f7bc09f
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.

Fixed

  • Missing "Culture" parameter in PreAuthorization

2.15.0

27 May 18:46
Compare
Choose a tag to compare

Added

Instant payment

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 Java SDK. You can now verify the mode applied to an instant payment.

PayOut getPayOut = this.api.getPayOutApi().getBankwire(payOut.getId());
// where payOut.getId() is the id of an existing payout

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

List transactions for a mandate

The endpoint to list all transactions linked to mandate has been added to the SDK.

2.14.0

11 May 08:40
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!

More information about how to test payments, click here.

Others

Added

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.

2.13.0

25 Mar 10:42
f7eb9f7
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

2.12.0

22 Feb 19:33
02fa061
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 differents values : "INSTANT_PAYMENT" or "STANDARD" (STANDARD = the way we procede normaly 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 missing filter parameters and pagination for getPreAuthorizations

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

21 Dec 14:49
d1f28c7
Compare
Choose a tag to compare

🌱 This release 2.11.7

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

14 Dec 09:53
Compare
Choose a tag to compare

🌱 This release 2.11.6

Added 'Regulatory' endpoint to allow checks of User Block Status 🚫
Added support for Regulatory -> Blocked Status Hooks 📞