- #426 Fixed typo mistake reports_wallets_create instead of reports_wallet_create. Thanks for your contribution @jilink
- #428 Fixed tests and added missing
BankWireExternalInstructionPayInData
type.
- New PaymentRef parameter for Payouts
Added all relevant EVENT_TYPE_CHOICES
for virtual accounts:
VIRTUAL_ACCOUNT_ACTIVE
VIRTUAL_ACCOUNT_BLOCKED
VIRTUAL_ACCOUNT_CLOSED
VIRTUAL_ACCOUNT_FAILED
New endpoints for The Virtual Account object:
- Create a Virtual Account
- Deactivate a Virtual Account
- View a Virtual Account
- List Virtual Accounts for a Wallet
- View Client Availabilities
- Add additional refund reason types.
- Updated Axios to the latest version.
- New endpoint Create a bancontact payin
- Parameter
StatementDescriptor
for the endpoint Create refund payin - Parameter
CardHolderName
for the endpoint Deactivate or edit a Card - Parameter PaymentCategory for the endpoints : Create a card validation, Create a direct card payin, Create a preauthorization
- New parameter
CardHolderName
for Update Card registration
- Updated the implementation for Look up metadata for a payment method. The
CommercialIndicator
andCardType
fields have been moved to theBinData
object in the API response.
- #400 & #401 Improve timeout error management
- New parameter
SecureMode
for Create card validation
- New endpoint Add tracking to Paypal payin
- New parameters for Paypal mean of payment :
CancelURL
&Category
(sub-parameter ofLineItems
). And management ofPaypalPayerID
,BuyerCountry
,BuyerFirstname
,BuyerLastname
,BuyerPhone
,PaypalOrderID
in the response.
- Conversions endpoint spelling
- #350 thanks @hostyn
- The optional Fees parameter is now available on instant conversions, allowing platforms to charge users for FX services. More information here.
- Platforms can now use a quote to secure the rate for a conversion between two currencies for a set amount of time. More information here.
- Introduced the
ukHeaderFlag
boolean configuration key. Platforms partnered with Mangopay's UK entity should set this key to true for proper configuration.
- Fix for #393 and #395 : Reject promise on API error and fix
status
type.
- New endpoint to look up metadata from BIN or Google Pay token. More information here
- Get a card validation endpoint
- Event types for Card Validation : "CARD_VALIDATION_CREATED", "CARD_VALIDATION_SUCCEEDED" and "CARD_VALIDATION_FAILED"
We have upgraded our SDK to use Axios for API communication with Mangopay. This change ensures faster, more reliable, and secure interactions, aligning with our commitment to provide an efficient and robust user experience.
New CardInfo
parameter returned on card transactions. More information here.
- Typing for User
- Comments #336
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.
BankingAlias typings have been fixed to match the API behavior
It's now possible to specify an amount for DebitedFunds and Fees when you create a refund with PayIns.createRefund()
- Giropay and Ideal integrations with Mangopay have been improved. Some methods have been deprecated
- Klarna param "MerchantOrderId" has been renamed to "Reference"
- An error occurred while creating a transaction report. It has been fixed.
- New Reference parameter for the new Paypal implementation.
- Instantly convert funds between 2 wallets of different currencies owned by the same user with the new SPOT FX endpoints
Klarna is now available as a payment method with Mangopay. This payment method is in private beta. Please contact support if you have any questions.
- Multibanco, Satispay, Blik 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)
- A new parameter for Paypal : ShippingPreference
- Google Pay integration with Mangopay has been improved. This payment method is in private beta. Please contact support if you have any questions.
- MBWay & PayPal are now using Web Execution Type.
Paypal integration with Mangopay has been improved. This payment method is in private beta. Please contact support if you have any questions.
Phone
parameter instead ofPhoneNumber
for MBWay
- 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.
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 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.
- Wrong return type in Disputes.getRepudiation() #339
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:
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.
- Fix type on property PayinsLinked
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 service has been added with methods for creating, fetching and canceling a deposit
- The Deposit model has been created
- The createCardPreAuthorizedDepositPayIn method has been added to the PayIn service
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.
- Compiling fails in Typescript 4.8 #335
- KYC's DocumentStatus missing value #333
- Fixed untyped property for CountryAuthorization
- Added missing UserId to UboDeclarationData
##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.
##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
##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.
##Fixed
- User constructor issue
##Fixed
- missing
UserCategory
added toUser Base classes
##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.
##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:
- Existing users have to be updated to include the terms and conditions acceptance information.
- Once accepted, the terms and conditions cannot be revoked.
##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)
##Fixed
- Typescript check for GitHub runner
##Added
###Instant payment eligibility check
With the function
PayOuts.checkEligibility(payOut, callback, options)
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.
Instant Payment requests can now be automatically cancelled when an issue is encountered (rather than falling back to the standard payout mode).
This is possible by using the new INSTANT_PAYMENT_ONLY
option that has been added to the PayoutModeRequested parameter.
##Fixed
- Added Tag property in the CreateCardDirectPayIn interface.
##Fixed
- Typescript is now a dev dependency
- Recurring Registration model is now exported (Thanks to @sengdaliu)
- Added missing ID in UpdateUbo
##Added You can now view the rate limiting status in the NodeJS SDK. This test will show you all available properties in rateLimits : test/services/RateLimit.js.
##Fixed Export CurrencyISO and CountryISO
##Fixed Missing namespaces and exports
Following numerous requests, we are happy to announce an update in the MANGOPAY Node.JS SDK. This update greatly improves the compatibility of the Node.JS SDK with Typescript.
LegalRepresentativeAddress is mandatory to create a legal user
- The CardRegistrationId becomes mandatory to update a CardRegistration
- The CreditedUserId becomes optional during the creation of a BANK_WIRE DIRECT PayIn
- Addition of missing types of PayIn WEB DIRECT_DEBIT
- Addition of ReportType (WALLET, TRANSACTION) to the object Report
- Items moved to the “base” namespace: AuthorizationDate, Headers, ColumnAndDirection, Config, RequestOptions, PaginationOptions, FilterOptions, BrowserInfoData, FallbackReasonData
- Items moved to the “securityInfo” namespace: AVSResult, SecurityInfoData
- Items moved to the “cardPreauthorization” namespace: PreAuthorizationExecutionType, PaymentStatus, PreAuthorizationStatus
- Items moved to the “billing” namespace: BillingData, BillingOrShippingRecurringPayInData
- Items moved to the “money” namespace: MoneyData
- Items moved to the “payIn” namespace: _3DSVersion
- Items moved to the “enums” namespace: IPayInExecutionType, IPayInPaymentType, IMandateStatus, ILegalPersonType, IPersonType, IBankAccountType, IDeclaredUboStats, IKycDocumentStatus, IKycDocumentType, IPayOutPaymentType, IPlatformType, IUboDeclarationRefusedReasonType, IUboDeclarationStatus, IUboRefusedReasonType, IUserNaturalCapacity
You can now change the status to "ENDED" for a recurring payment.
- "Status" is now available in the response when you request a recurring payment registration.
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
api.KycDocuments.get(document.Id, function(data, response){});
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.
As requested by numerous clients, we are now providing Payconiq as a new mean-of-payment. To request access, please contact MANGOPAY.
- We have added missing types (IpAddress, BrowserInfo, DirectDebitDirectPayIn)
- We have fixed the tests and increased timeout limits.
- Missing types for Recurring payments
- Missing "NO_CHOICE" in secure mode
- Missing "KYC_OUTDATED" in type
- Bug fix UBO creation with BirthPlace
- Change
FallbackReason
parameter's type to object in PayOutPaymentDetailsBankWire
- We have added BrowserInfo for CreateCardDirectPayIn
- We have fix a bug with DeactivateBankAccount (missing return data)
- 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
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.
- Create a Recurring PayIn Registration object, containing all the information to define the recurring payment
- Initiate your recurring payment flow with an authenticated transaction (CIT) using the Card Recurring PayIn endpoint
- Continue your recurring payment flow with an non-authenticated transaction (MIT) using the Card Recurring PayIn endpoint
This feature is not yet available in production and you need to contact the Support team to request access.
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 NodeJS SDK.
Example :
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.
- Fix
BankAccount
IBAN reference for tests
More information about how to test payments, click here.
The SDK was calling the endpoint using a deprecated format. It has been fixed.
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.
Thanks to @jgautheron, the SDK is now compatible with bundlers (Webpack, etc...) and avoid i/o at runtime.
This on-demand feature is for testing purposes only and will not be available in production
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
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
- 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
- Fix typo in README
- Fix typo IpAdress -> IpAddress in PayInPaymentDetailsCardDirect
- Fix Users update through a PUT request
- Added 'Regulatory' endpoint to allow checks of User Block Status
- Added support for Regulatory -> Blocked Status Hooks
- Fix for SubmitKycDocument bug
- added PaymentType to the CreatePayOut Object
- added new endpoint for PreAuthorization Transactions
- added methods for creating client bank accounts and payouts
- 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)
USER_KYC_REGULAR
has been added as a new Event
. Thanks to it, you are now able to know when all the needed KYCs for a user have been validated and its KYCLevel is updated.
- Some issues on
CardRegistration
have been fixed - Pagination parameters use has been fixed and can now be used correctly
- GooglePay support has been added. This mean of payment will shortly be available (beta phase). Feel free to ask our Sales / Technical Account Manager team about it !
AccountNumber
parameter has been added for PayinsEXTERNAL_INSTRUCTION
(as funds could be sent from a non-IBAN account to a wallet)EXPIRED
Status for Mandates has been added. Related EventType statusMANDATE_EXPIRED
has been added too.
PAYLINEV2
parameter has been added toTemplateURLOptions
object, asPAYLINE
parameter will be deprecated very soon.
- node-rest-client has been updated from 1.8.x version to 3.1.x version
- Deprecated
Buffer
constructor has been replaced
- ApplePay
Payin
functions are now available. More info about activation to come in the following weeks...
- GET EMoney method now supports year and month parameters. More info on our docs
- New UBO Declaration system (more info here)
CompanyNumber
support for LegalUsers