Skip to content

Latest commit

 

History

History
456 lines (292 loc) · 18.9 KB

CHANGELOG.md

File metadata and controls

456 lines (292 loc) · 18.9 KB

[3.31.0] - 2023-12-22

Added

  • New CardInfo parameter returned on card transactions. More information here.
  • The IDEAL legacy implementation has been enhanced. You can now pass the Bic., and if provided, the API response will include the BankName parameter. More information here.

[3.30.1] - 2023-11-09

Added

It's now possible to specify an amount for DebitedFunds and Fees when you create a refund with PayInRefund().

[3.30.0] - 2023-11-02

Updated

  • Giropay and Ideal integrations with Mangopay have been improved.
  • Klarna param "MerchantOrderId" has been renamed to "Reference"

Added

  • New Reference parameter for the new Paypal implementation.

[3.29.0] - 2023-09-29

Added

  • Instantly convert funds between 2 wallets of different currencies owned by the same user with the new SPOT FX endpoints

[3.28.0] - 2023-09-18

Added

  • Multibanco, Satispay, Blik, Klarna are now available as a payment method with Mangopay. This payment method is in private beta. Please contact support if you have any questions.
  • Card validation endpoint is now available (Private beta)

Updated

  • Google Pay integration & Paypal with Mangopay have been improved. These payment methods are in private beta. Please contact support if you have any questions.

Fixed

  • MBWay & PayPal are now using Web Execution Type.

[3.27.2] - 2023-07-28

Fixed

CIT/MIT should not set secure_mode #332

[3.27.1] - 2023-06-21

Fixed

  • Phone parameter instead of PhoneNumber for MBWay

[3.27.0] - 2023-06-21

Added

  • MB WAY is now available as a payment method with Mangopay. This payment method is in private beta. Please contact support if you have any questions.

[3.26.0] - 2023-03-17

Added

Knowing when a dispute was closed is now possible thanks to the new ClosedDate parameter for the Dispute object.

The following endpoints have been updated accordingly:

Vew a Dispute

List Disputes for a User

List Disputes for a Wallet

List all Disputes

List Disputes that need settling

Please note that the new ClosedDate field will only display values for the Disputes closed after this release. Otherwise, a null value will be returned.

[3.25.0] - 2023-01-12

Added

Verifying some specific legal structures is now more efficient thanks to a new legal entity type: PARTNERSHIP.

The Legal User LegalPersonType parameter now includes the PARTNERSHIP value. The following endpoints have been updated accordingly:

Create a Legal User (Payer)

Create a Legal User (Owner)

Update a Legal User

Please note that changing the LegalPersonType to PARTNERSHIP for an existing user will automatically result in:

  • A KYC downgrade to Light (default) verification
  • The REGISTRATION_PROOF document being flagged as OUT_OF_DATE.

With this new LegalPersonType, the MANGOPAY team can better handle specific legal structures and speed up the validation process.

[3.24.0] - 2022-12-22

Added

New 30-day preauthorization feature

Preauthorizations can now hold funds for up to 30 days, therefore ensuring the solvency of a registered card for the same amount of time.

  • The Deposit resource has been added with methods for creating, fetching and canceling a deposit
  • The CardPreAuthorizedDepositPayIn resource has been added with methods for creating and fetching a CardPreAuthorizedDepositPayIn

Thanks to 30-day preauthorizations, MANGOPAY can provide a simpler and more flexible payment experience for a wide range of use cases, especially for rentals.

[3.23.3] - 2022-12-06

Fixed

  • Removed the default value for LEGAL_USER_TYPE_CHOICES in order to prevent mistake on user update

[3.23.2] - 2022-11-08

Fixed

  • RecurringPayInRegistration total_amount type;

Added

  • Missing event types

[3.23.1] - 2022-10-26

Fixed

  • Tests after API update
  • 313 Issue with fields for User (not mandatory for some cases)
  • 310 fix for negative timestamp value fields in windows

[3.23.0] - 2022-09-14

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.

[3.22.0] - 2022-06-29

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.

3.21.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) 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.

3.20.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 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.

3.19.0 - 2022.03.31

Added

Instant payment eligibility check

With the function PayOutEligibility(params).check_eligibility() the destination bank reachability can now be verified prior to making an instant payout. This results in a better user experience, as this preliminary check will allow the platform to propose the instant payout option only to end users whose bank is eligible.

3.18.1 - 2022.02.18

Fixed

  • Refund for MIT/CIT has been fixed
  • secure_mode parameter is not set anymore for CIT

3.18.0 - 2021.11.19

Added

Instant payouts hooks

We are now providing new hooks for our new feature Instant payouts :

  • INSTANT_PAYOUT_SUCCEEDED
  • INSTANT_PAYOUT_FALLBACKED

It will allow you to trigger an action depends on the Instant Payout treatment.

GET a RecurringPayIn ID

You can now request the RecurringPayIn ID to check if the status is valid using

3.17.0 - 2021.10.20

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.

3.16.0 - 2021.10.11

Added

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->KycDocuments->Get($kycDocument->Id);

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.

3.15.0 - 2021.09.30

Added

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

Fixed

  • BillingField & ShippingField are now optionals for RecurringPayIn
  • We have fixed DateTimeField (previously was generating an error due to format)

3.14.1 - 2021.08.05

Fixed

  • Change FallbackReason parameter's type to object in BankWirePayOut

3.14.0 - 2021.08.04

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

3.12.0 - 2021.06.10

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.

3.11.0 - 2021.05.27

Added

Mangopay introduces 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.

You can now use this new type of payout with the Python SDK.

Example :

get_bank_wire = BankWirePayOut.get_bankwire(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.

Fixed

Duplicate BIC in resources

3.10.1

Fixed

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.

Others

  • httplib2 has been updated to the last version
  • RemainingFunds was flag wrongly as mandatory for PreAuthorization. It has been fixed.
  • ProcessedDate had the type IntegerField instead of DateTimeField. 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.

Logging

We have merged @rbarrois pull request. The logging module expects user to provide the string as a first argument, and all interpolation parameters in separate positional or keyword arguments: logger.debug("trying x=%s", x).

This brings two benefits:

  • The interpolation is only performed if the logging message is actually used (debug messages won't even be interpolated if logging is set to WARNING)

  • Monitoring libraries like Sentry can group messages based on their non-interpolated message, which helps detecting similar issues.

3.10.0

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

3.9.0

  • 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
  • Changed date to dateTime and fixed tests
  • Changed User-Agent
  • Fixed typo on IpAddress, FirstName & LastName

3.8.4

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

3.8.3

  • added new methods for client fees wallet bank accounts and payouts
  • added new method for PreAuthorization transactions
  • fixed handler sandbox false condition
  • added headers to APIError
  • Improve logging calls.

3.8.2

  • Added missing 'creation_date' field to BankWirePayOut
  • Handler has been modified in save function
  • New RemainingFunds Parameters (Complete feature not fully activated, please listen for product announcements)
  • Added CardValidation endpoint (Complete feature not fully activated, please listen for product announcements)
  • New MultiCapture Parameter in Preauthorization object (Complete feature not fully activated, please listen for product announcements)
  • Added OUT_OF_DATE status for KYC docs
  • Library upgrade httplib2
  • "User-agent" format in the headers changed, aligned to other assets

[3.8.0]

Added

  • ApplePay Payins support has been added. Feel free to ask our Customer Success / Sales team about conditions and availability.
  • GooglePay Payins support has been added. Feel free to ask our Customer Success / Sales team about conditions and availability too
  • GetEmoney method now supports year and month parameters. More info on our docs
  • New Dispute reason type COUNTERFEIT_PRODUCT has been added.
  • Culture parameter has been added for Payin Direct
  • Mandate status EXPIRED and related EventType MANDATE_EXPIRED are now supported.

Fixed

  • EMoney amounts for a user are now available by month
  • Dispute reason type COUNTERFEIT_PRODUCT is now available.
  • UBOs can now be disactivated thanks to isActive property support.
  • Birthday type is now a Date rather than an Integer

[3.7.1] - 2019-09-24

Fixed

  • Fix issue on UBODeclaration creation

[3.7.0] - 2019-07-09

Added