mangopay4-nodejs-sdk 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. package/.github/workflows/node.js.yml +32 -0
  2. package/.github/workflows/npm-publish.yml +26 -0
  3. package/.jshintrc +16 -0
  4. package/CHANGELOG.md +946 -0
  5. package/LICENSE +21 -0
  6. package/README.md +179 -0
  7. package/docs/BankAccounts.md +35 -0
  8. package/docs/BankingAliases.md +108 -0
  9. package/docs/CardPreAuthorizations.md +55 -0
  10. package/docs/CardRegistrations.md +55 -0
  11. package/docs/Cards.md +82 -0
  12. package/docs/Clients.md +142 -0
  13. package/docs/DisputeDocuments.md +53 -0
  14. package/docs/Disputes.md +292 -0
  15. package/docs/Events.md +23 -0
  16. package/docs/Hooks.md +68 -0
  17. package/docs/Idempotency.md +11 -0
  18. package/docs/KycDocuments.md +52 -0
  19. package/docs/Mandates.md +125 -0
  20. package/docs/OptionsHelper.md +32 -0
  21. package/docs/PayIns.md +72 -0
  22. package/docs/PayOuts.md +55 -0
  23. package/docs/README.md +131 -0
  24. package/docs/Refunds.md +25 -0
  25. package/docs/Reports.md +63 -0
  26. package/docs/Repudiations.md +25 -0
  27. package/docs/Responses.md +33 -0
  28. package/docs/Transfers.md +72 -0
  29. package/docs/UboDeclarations.md +70 -0
  30. package/docs/Users.md +322 -0
  31. package/docs/Wallets.md +70 -0
  32. package/docs/templates/class.mustache +11 -0
  33. package/docs/templates/file.mustache +53 -0
  34. package/docs/templates/function.mustache +33 -0
  35. package/docs/templates/index.mustache +26 -0
  36. package/docs/templates/overview.mustache +1 -0
  37. package/examples/createUsers.js +112 -0
  38. package/examples/createWallet.js +28 -0
  39. package/examples/failedRequest.js +20 -0
  40. package/examples/getBankAccounts.js +29 -0
  41. package/examples/getUserEmoney.js +16 -0
  42. package/examples/getUsers.js +32 -0
  43. package/examples/readResponseHeaders.js +42 -0
  44. package/index.js +1 -0
  45. package/lib/Model.js +58 -0
  46. package/lib/api.js +467 -0
  47. package/lib/apiMethods.js +270 -0
  48. package/lib/config.js +57 -0
  49. package/lib/log.js +9 -0
  50. package/lib/mangopay.js +8 -0
  51. package/lib/models/Address.js +32 -0
  52. package/lib/models/BankAccount.js +45 -0
  53. package/lib/models/BankAccountDetails.js +7 -0
  54. package/lib/models/BankAccountDetailsCA.js +12 -0
  55. package/lib/models/BankAccountDetailsGB.js +10 -0
  56. package/lib/models/BankAccountDetailsIBAN.js +10 -0
  57. package/lib/models/BankAccountDetailsOTHER.js +16 -0
  58. package/lib/models/BankAccountDetailsUS.js +14 -0
  59. package/lib/models/BankAccountType.js +8 -0
  60. package/lib/models/BankingAlias.js +37 -0
  61. package/lib/models/BankingAliasIBAN.js +27 -0
  62. package/lib/models/Billing.js +14 -0
  63. package/lib/models/BinData.js +16 -0
  64. package/lib/models/Birthplace.js +10 -0
  65. package/lib/models/BrowserInfo.js +15 -0
  66. package/lib/models/Card.js +19 -0
  67. package/lib/models/CardInfo.js +32 -0
  68. package/lib/models/CardPreAuthorization.js +144 -0
  69. package/lib/models/CardRegistration.js +29 -0
  70. package/lib/models/CardValidation.js +19 -0
  71. package/lib/models/CategorizeUserLegal.js +15 -0
  72. package/lib/models/CategorizeUserNatural.js +18 -0
  73. package/lib/models/Check.js +13 -0
  74. package/lib/models/CheckData.js +8 -0
  75. package/lib/models/Client.js +62 -0
  76. package/lib/models/ClientWallet.js +28 -0
  77. package/lib/models/Conversion.js +19 -0
  78. package/lib/models/ConversionRate.js +10 -0
  79. package/lib/models/CountryAuthorization.js +12 -0
  80. package/lib/models/DebitedBankAccount.js +15 -0
  81. package/lib/models/DeclaredUbo.js +29 -0
  82. package/lib/models/DeclaredUboStatus.js +17 -0
  83. package/lib/models/Deposit.js +29 -0
  84. package/lib/models/Dispute.js +46 -0
  85. package/lib/models/DisputeDocument.js +10 -0
  86. package/lib/models/DisputeDocumentPage.js +12 -0
  87. package/lib/models/DisputeReason.js +11 -0
  88. package/lib/models/Document.js +12 -0
  89. package/lib/models/DocumentPageConsult.js +17 -0
  90. package/lib/models/EMoney.js +30 -0
  91. package/lib/models/EntityBase.js +70 -0
  92. package/lib/models/Hook.js +19 -0
  93. package/lib/models/IdempotencyResponse.js +11 -0
  94. package/lib/models/IdentityVerification.js +12 -0
  95. package/lib/models/KycDocument.js +11 -0
  96. package/lib/models/KycDocumentStatus.js +7 -0
  97. package/lib/models/KycDocumentType.js +7 -0
  98. package/lib/models/KycPage.js +12 -0
  99. package/lib/models/LegalPersonType.js +7 -0
  100. package/lib/models/LegalRepresentative.js +16 -0
  101. package/lib/models/Mandate.js +69 -0
  102. package/lib/models/MandateStatus.js +7 -0
  103. package/lib/models/Money.js +16 -0
  104. package/lib/models/PayByBankSupportedBank.js +7 -0
  105. package/lib/models/PayIn.js +36 -0
  106. package/lib/models/PayInExecutionDetails.js +7 -0
  107. package/lib/models/PayInExecutionDetailsBankingAlias.js +19 -0
  108. package/lib/models/PayInExecutionDetailsDirect.js +29 -0
  109. package/lib/models/PayInExecutionDetailsWeb.js +40 -0
  110. package/lib/models/PayInExecutionType.js +5 -0
  111. package/lib/models/PayInIntent.js +20 -0
  112. package/lib/models/PayInIntentSplit.js +14 -0
  113. package/lib/models/PayInIntentSplits.js +7 -0
  114. package/lib/models/PayInPaymentDetails.js +7 -0
  115. package/lib/models/PayInPaymentDetailsApplePay.js +19 -0
  116. package/lib/models/PayInPaymentDetailsBancontact.js +13 -0
  117. package/lib/models/PayInPaymentDetailsBankWire.js +23 -0
  118. package/lib/models/PayInPaymentDetailsBankingAlias.js +18 -0
  119. package/lib/models/PayInPaymentDetailsBizum.js +23 -0
  120. package/lib/models/PayInPaymentDetailsBlik.js +17 -0
  121. package/lib/models/PayInPaymentDetailsCard.js +10 -0
  122. package/lib/models/PayInPaymentDetailsCardDirect.js +14 -0
  123. package/lib/models/PayInPaymentDetailsCardWeb.js +28 -0
  124. package/lib/models/PayInPaymentDetailsDirectDebitDirect.js +22 -0
  125. package/lib/models/PayInPaymentDetailsDirectDebitWeb.js +13 -0
  126. package/lib/models/PayInPaymentDetailsGiropay.js +15 -0
  127. package/lib/models/PayInPaymentDetailsGooglePay.js +35 -0
  128. package/lib/models/PayInPaymentDetailsIdeal.js +25 -0
  129. package/lib/models/PayInPaymentDetailsKlarna.js +36 -0
  130. package/lib/models/PayInPaymentDetailsMbway.js +20 -0
  131. package/lib/models/PayInPaymentDetailsMultibanco.js +14 -0
  132. package/lib/models/PayInPaymentDetailsPayByBank.js +71 -0
  133. package/lib/models/PayInPaymentDetailsPayPal.js +63 -0
  134. package/lib/models/PayInPaymentDetailsPayconiq.js +23 -0
  135. package/lib/models/PayInPaymentDetailsPreAuthorized.js +10 -0
  136. package/lib/models/PayInPaymentDetailsSatispay.js +19 -0
  137. package/lib/models/PayInPaymentDetailsSwish.js +35 -0
  138. package/lib/models/PayInPaymentDetailsTwint.js +15 -0
  139. package/lib/models/PayInPaymentType.js +21 -0
  140. package/lib/models/PayInRecurringRegistration.js +64 -0
  141. package/lib/models/PayInTemplateURLOptions.js +10 -0
  142. package/lib/models/PayOut.js +24 -0
  143. package/lib/models/PayOutPaymentDetails.js +7 -0
  144. package/lib/models/PayOutPaymentDetailsBankWire.js +32 -0
  145. package/lib/models/PayOutPaymentType.js +3 -0
  146. package/lib/models/PaymentData.js +20 -0
  147. package/lib/models/PaymentMethodMetadata.js +38 -0
  148. package/lib/models/PayoutMethods.js +7 -0
  149. package/lib/models/PendingUserAction.js +16 -0
  150. package/lib/models/PersonType.js +5 -0
  151. package/lib/models/PlatformCategorization.js +16 -0
  152. package/lib/models/PlatformType.js +10 -0
  153. package/lib/models/Quote.js +11 -0
  154. package/lib/models/Recipient.js +20 -0
  155. package/lib/models/RecipientSchema.js +17 -0
  156. package/lib/models/RecurringPayIn.js +10 -0
  157. package/lib/models/RecurringPayInCIT.js +32 -0
  158. package/lib/models/RecurringPayInCurrentState.js +24 -0
  159. package/lib/models/RecurringPayInMIT.js +27 -0
  160. package/lib/models/RecurringPayInPut.js +24 -0
  161. package/lib/models/Refund.js +26 -0
  162. package/lib/models/RefundReasonDetails.js +10 -0
  163. package/lib/models/Report.js +54 -0
  164. package/lib/models/ReportFilter.js +52 -0
  165. package/lib/models/ReportFilterV2.js +11 -0
  166. package/lib/models/ReportV2.js +28 -0
  167. package/lib/models/Repudiation.js +51 -0
  168. package/lib/models/SecurityInfo.js +12 -0
  169. package/lib/models/Settlement.js +16 -0
  170. package/lib/models/SettlementTransfer.js +37 -0
  171. package/lib/models/Shipping.js +14 -0
  172. package/lib/models/ShippingAddress.js +25 -0
  173. package/lib/models/ShippingPreference.js +5 -0
  174. package/lib/models/Transaction.js +50 -0
  175. package/lib/models/Transfer.js +13 -0
  176. package/lib/models/Ubo.js +19 -0
  177. package/lib/models/UboDeclaration.js +42 -0
  178. package/lib/models/UboDeclarationRefusedReasonType.js +23 -0
  179. package/lib/models/UboDeclarationStatus.js +26 -0
  180. package/lib/models/UboRefusedReasonType.js +14 -0
  181. package/lib/models/User.js +66 -0
  182. package/lib/models/UserCategory.js +5 -0
  183. package/lib/models/UserConsent.js +7 -0
  184. package/lib/models/UserDataFormatValidation.js +7 -0
  185. package/lib/models/UserEnrollmentResult.js +7 -0
  186. package/lib/models/UserLegal.js +65 -0
  187. package/lib/models/UserLegalOwner.js +66 -0
  188. package/lib/models/UserLegalPayer.js +66 -0
  189. package/lib/models/UserLegalSca.js +57 -0
  190. package/lib/models/UserNatural.js +51 -0
  191. package/lib/models/UserNaturalCapacity.js +13 -0
  192. package/lib/models/UserNaturalOwner.js +55 -0
  193. package/lib/models/UserNaturalPayer.js +55 -0
  194. package/lib/models/UserNaturalPut.js +49 -0
  195. package/lib/models/UserNaturalSca.js +56 -0
  196. package/lib/models/VirtualAccount.js +22 -0
  197. package/lib/models/Wallet.js +32 -0
  198. package/lib/models/index.js +102 -0
  199. package/lib/service.js +14 -0
  200. package/lib/services/BankAccounts.js +31 -0
  201. package/lib/services/BankingAliases.js +137 -0
  202. package/lib/services/CardPreAuthorizations.js +75 -0
  203. package/lib/services/CardRegistrations.js +64 -0
  204. package/lib/services/Cards.js +168 -0
  205. package/lib/services/Clients.js +196 -0
  206. package/lib/services/Conversions.js +155 -0
  207. package/lib/services/Deposits.js +109 -0
  208. package/lib/services/DisputeDocuments.js +65 -0
  209. package/lib/services/Disputes.js +409 -0
  210. package/lib/services/Events.js +24 -0
  211. package/lib/services/Hooks.js +81 -0
  212. package/lib/services/Idempotency.js +17 -0
  213. package/lib/services/IdentityVerifications.js +48 -0
  214. package/lib/services/KycDocuments.js +66 -0
  215. package/lib/services/Mandates.js +161 -0
  216. package/lib/services/OptionsHelper.js +20 -0
  217. package/lib/services/PayIns.js +690 -0
  218. package/lib/services/PayOuts.js +110 -0
  219. package/lib/services/Recipients.js +117 -0
  220. package/lib/services/Refunds.js +29 -0
  221. package/lib/services/Regulatory.js +29 -0
  222. package/lib/services/Reports.js +61 -0
  223. package/lib/services/ReportsV2.js +55 -0
  224. package/lib/services/Repudiations.js +33 -0
  225. package/lib/services/Responses.js +23 -0
  226. package/lib/services/Settlements.js +74 -0
  227. package/lib/services/Transfers.js +87 -0
  228. package/lib/services/UboDeclarations.js +135 -0
  229. package/lib/services/Users.js +831 -0
  230. package/lib/services/VirtualAccounts.js +99 -0
  231. package/lib/services/Wallets.js +85 -0
  232. package/lib/services/index.js +34 -0
  233. package/lib/utils.js +36 -0
  234. package/package.json +40 -0
  235. package/test/TestKycPageFile.png +0 -0
  236. package/test/helpers.js +1431 -0
  237. package/test/main.js +10 -0
  238. package/test/mocha.opts +3 -0
  239. package/test/services/BankAccounts.js +46 -0
  240. package/test/services/BankingAliases.js +89 -0
  241. package/test/services/CardPreAuthorizations.js +70 -0
  242. package/test/services/CardRegistrations.js +239 -0
  243. package/test/services/Cards.js +54 -0
  244. package/test/services/Clients.js +235 -0
  245. package/test/services/Conversions.js +308 -0
  246. package/test/services/Deposits.js +148 -0
  247. package/test/services/Disputes.js +542 -0
  248. package/test/services/EMoney.js +54 -0
  249. package/test/services/Events.js +143 -0
  250. package/test/services/Hooks.js +109 -0
  251. package/test/services/Idempotency.js +46 -0
  252. package/test/services/IdentityVerifications.js +68 -0
  253. package/test/services/KycDocuments.js +73 -0
  254. package/test/services/Mandates.js +256 -0
  255. package/test/services/PayIns.js +2553 -0
  256. package/test/services/PayOuts.js +106 -0
  257. package/test/services/RateLimit.js +48 -0
  258. package/test/services/Recipients.js +234 -0
  259. package/test/services/Refunds.js +123 -0
  260. package/test/services/Regulatory.js +45 -0
  261. package/test/services/Reports.js +114 -0
  262. package/test/services/ReportsV2.js +306 -0
  263. package/test/services/Repudiations.js +22 -0
  264. package/test/services/Settlements.js +58 -0
  265. package/test/services/Tokens.js +55 -0
  266. package/test/services/Transfers.js +137 -0
  267. package/test/services/UboDeclarations.js +135 -0
  268. package/test/services/Users.js +1303 -0
  269. package/test/services/VirtualAccounts.js +105 -0
  270. package/test/services/Wallets.js +132 -0
  271. package/test/settlement_sample.csv +8 -0
  272. package/typings/base.d.ts +308 -0
  273. package/typings/enums.d.ts +204 -0
  274. package/typings/index.d.ts +885 -0
  275. package/typings/index.test-d.ts +1535 -0
  276. package/typings/models/address.d.ts +70 -0
  277. package/typings/models/bankAccount.d.ts +235 -0
  278. package/typings/models/bankingAlias.d.ts +97 -0
  279. package/typings/models/billing.d.ts +42 -0
  280. package/typings/models/birthplace.d.ts +9 -0
  281. package/typings/models/card.d.ts +119 -0
  282. package/typings/models/cardPreauthorization.d.ts +157 -0
  283. package/typings/models/cardRegistration.d.ts +83 -0
  284. package/typings/models/cardValidation.d.ts +125 -0
  285. package/typings/models/client.d.ts +208 -0
  286. package/typings/models/conversion.d.ts +225 -0
  287. package/typings/models/conversionRate.d.ts +29 -0
  288. package/typings/models/countryAuthorization.d.ts +16 -0
  289. package/typings/models/deposit.d.ts +104 -0
  290. package/typings/models/dispute.d.ts +116 -0
  291. package/typings/models/disputeDocument.d.ts +119 -0
  292. package/typings/models/entityBase.d.ts +9 -0
  293. package/typings/models/event.d.ts +142 -0
  294. package/typings/models/hook.d.ts +39 -0
  295. package/typings/models/idempotency.d.ts +36 -0
  296. package/typings/models/identityVerification.d.ts +98 -0
  297. package/typings/models/kycDocument.d.ts +114 -0
  298. package/typings/models/mandate.d.ts +93 -0
  299. package/typings/models/money.d.ts +45 -0
  300. package/typings/models/payIn.d.ts +3742 -0
  301. package/typings/models/payOut.d.ts +144 -0
  302. package/typings/models/recipient.d.ts +242 -0
  303. package/typings/models/refund.d.ts +92 -0
  304. package/typings/models/report.d.ts +234 -0
  305. package/typings/models/reportV2.d.ts +145 -0
  306. package/typings/models/repudiation.d.ts +26 -0
  307. package/typings/models/securityInfo.d.ts +12 -0
  308. package/typings/models/settlement.d.ts +50 -0
  309. package/typings/models/settlementTransfer.d.ts +37 -0
  310. package/typings/models/shipping.d.ts +37 -0
  311. package/typings/models/shippingAddress.d.ts +15 -0
  312. package/typings/models/transaction.d.ts +85 -0
  313. package/typings/models/transfer.d.ts +119 -0
  314. package/typings/models/uboDeclaration.d.ts +100 -0
  315. package/typings/models/user.d.ts +1001 -0
  316. package/typings/models/virtualAccount.d.ts +182 -0
  317. package/typings/models/wallet.d.ts +46 -0
  318. package/typings/models.d.ts +74 -0
  319. package/typings/services/BankAccounts.d.ts +12 -0
  320. package/typings/services/BankingAliases.d.ts +51 -0
  321. package/typings/services/CardPreauthorizations.d.ts +44 -0
  322. package/typings/services/CardRegistrations.d.ts +43 -0
  323. package/typings/services/Cards.d.ts +80 -0
  324. package/typings/services/Clients.d.ts +77 -0
  325. package/typings/services/Conversions.d.ts +23 -0
  326. package/typings/services/Deposits.d.ts +20 -0
  327. package/typings/services/DisputeDocuments.d.ts +27 -0
  328. package/typings/services/Disputes.d.ts +169 -0
  329. package/typings/services/Events.d.ts +11 -0
  330. package/typings/services/Hooks.d.ts +33 -0
  331. package/typings/services/Idempotency.d.ts +7 -0
  332. package/typings/services/IdentityVerifications.d.ts +29 -0
  333. package/typings/services/KycDocuments.d.ts +38 -0
  334. package/typings/services/Mandates.d.ts +59 -0
  335. package/typings/services/OptionsHelper.d.ts +11 -0
  336. package/typings/services/PayIns.d.ts +319 -0
  337. package/typings/services/PayOuts.d.ts +34 -0
  338. package/typings/services/Recipients.d.ts +55 -0
  339. package/typings/services/Refunds.d.ts +12 -0
  340. package/typings/services/Regulatory.d.ts +17 -0
  341. package/typings/services/Reports.d.ts +26 -0
  342. package/typings/services/ReportsV2.d.ts +26 -0
  343. package/typings/services/Repudiations.d.ts +12 -0
  344. package/typings/services/Responses.d.ts +10 -0
  345. package/typings/services/Settlements.d.ts +28 -0
  346. package/typings/services/Transfers.d.ts +38 -0
  347. package/typings/services/UboDeclarations.d.ts +81 -0
  348. package/typings/services/Users.d.ts +308 -0
  349. package/typings/services/VirtualAccounts.d.ts +42 -0
  350. package/typings/services/Wallets.d.ts +36 -0
  351. package/typings/tsconfig.json +20 -0
  352. package/typings/tslint.json +11 -0
  353. package/typings/types.d.ts +652 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,946 @@
1
+ ## [1.62.2] - 2025-11-25
2
+ ### Added
3
+ - Support for `ScaContext` on [POST Create a Recipient](https://docs.mangopay.com/api-reference/recipients/create-recipient) for platforms taking action by [proxy with consent](https://docs.mangopay.com/guides/sca/proxy-management) from the user ([API release note](https://docs.mangopay.com/release-notes/api/2025-11-17), #519)
4
+
5
+ ## [1.62.1] - 2025-10-31
6
+ ### Fixed
7
+ - Upgraded `form-data` library version - thanks for chasing @sipr-invivo
8
+ - Upgraded `axios` library version
9
+
10
+ ## [1.62.0] - 2025-10-27
11
+ ### Added
12
+ - New [POST Manage proxy consent for a User](https://docs.mangopay.com/api-reference/users/manage-proxy-consent) endpoint to obtain and manage user consent via the hosted SCA experience (if proxy is activated). A proxy and user consent are now required to use the `USER_NOT_PRESENT` value for `ScaContext` ([API release note](https://docs.mangopay.com/release-notes/api/2025-10-23), #515 )
13
+ - `ScaContext` request parameter newly added on all user POST and PUT endpoints, enabling the platform to request these actions with `USER_NOT_PRESENT` – provided the proxy is in place, activated, and the user has given consent ([API release note](https://docs.mangopay.com/release-notes/api/2025-10-23#sca%3A-scacontext-request-parameter-on-user-endpoints), #514 )
14
+ - Support for the `Licensor` property on [GET View a Client](https://docs.mangopay.com/api-reference/client/view-client) (#513 )
15
+
16
+ ### Changed
17
+ - `x-tenant-id` deprecated as no longer necessary for UK platforms; the parameter is ignored by Mangopay (#513 )
18
+
19
+ ## [1.61.0] - 2025-10-01
20
+ ### Added
21
+ - [Verification of Payee (VOP)](https://docs.mangopay.com/guides/vop/recipients-payouts) API response fields (`RecipientVerificationOfPayee` and sub-properties) on the endpoints [GET View a Recipient](https://docs.mangopay.com/api-reference/recipients/view-recipient), [POST Create a Recipient](https://docs.mangopay.com/api-reference/recipients/create-recipient), [POST Create a Payout](https://docs.mangopay.com/api-reference/payouts/create-payout) ([API release note](https://docs.mangopay.com/release-notes/api/2025-09-30), #500)
22
+ - Support for the [POST Cancel an Intent](https://docs.mangopay.com/api-reference/intents/cancel-intent) endpoint for [Echo](https://docs.mangopay.com/guides/echo), Mangopay's solution for platforms working with another third-party PSP for funds acquisition (#511)
23
+ - Support for [POST Submit data for a PayPal PayIn](https://docs.mangopay.com/api-reference/paypal/submit-data-paypal-payin) endpoint (#506)
24
+
25
+ ## [1.60.4] - 2025-09-26
26
+ ### Improved
27
+ - Method for building the OAuth token URL, fixing a potential issue introduced in 1.42.1 #510
28
+
29
+ ## [1.60.3] - 2025-09-23
30
+ ### Added
31
+ - Support for `ProfilingAttemptReference` on all payment methods for Mangopay's Fraud Prevention solution #505
32
+ - Webhook event types for [Echo](https://docs.mangopay.com/guides/echo), Mangopay's solution for third-party PSP integrations: `INTENT_AUTHORIZED`,`INTENT_CAPTURED`,`INTENT_REFUNDED`,`INTENT_REFUND_REVERSED`,`INTENT_DISPUTE_CREATED`,`INTENT_DISPUTE_DEFENDED`,`INTENT_DISPUTE_WON`,`INTENT_DISPUTE_LOST`,`INTENT_SETTLED_NOT_PAID`,`INTENT_PAID`,`SPLIT_CREATED`,`SPLIT_PENDING_FUNDS_RECEPTION`,`SPLIT_AVAILABLE`,`SPLIT_REJECTED`,`SPLIT_REVERSED` #502
33
+ - Support for `VirtualAccountPurpose` on Banking Alias object #508
34
+
35
+ ### Improved
36
+ - Added missing `OptionsHelper` in TypeScript #503
37
+ - Add new library for unit tests #504
38
+
39
+ ## [1.60.2] - 2025-09-02
40
+ ### Added
41
+ - `XK` to country ISO values #499
42
+
43
+ ### Fixed
44
+ - Typescript function definition (thank you @hmica #287 #498)
45
+ - Typings for `BankingAliases.getAll` (thank you @Tug #351)
46
+ - Missing `CreationDate` with `toJSON()` (thank you @CanoGit #355 @fredleroy #345)
47
+ - Missing fields in `CreateTransferRefund` (thank you @lachauj #363)
48
+ - Missing `getBlockStatus` definition (thank you @capontebable #389)
49
+ - Tests #497
50
+
51
+ ## [1.60.1] - 2025-08-14
52
+ ### Added
53
+ - Types for user `getRegulatory` function #495 (#443 thanks for raising @DriesVS)
54
+ - Support for [POST Create a Quoted Conversion between Client Wallets](https://docs.mangopay.com/api-reference/conversions/create-quoted-conversion-client-wallets) and [POST Create an Instant Conversion between Client Wallets](https://docs.mangopay.com/api-reference/conversions/create-instant-conversion-client-wallets) #492
55
+ - Missing `MarketRateDate` param to FX `conversionRate` #491
56
+ - Support for [POST Create a Bank Wire to the Repudiation Wallet](https://docs.mangopay.com/api-reference/dispute-settlement/create-bank-wire-payin-to-repudiation-wallet) #494
57
+ - Missing keys for legacy Wallets Report #491
58
+
59
+ ## [1.60.0] - 2025-08-07
60
+ ### Added
61
+ Support for new Splits endpoints for Echo (#489, [API release note](https://docs.mangopay.com/release-notes/api/2025-07-16)):
62
+ - [PUT Update a Split of an Intent](https://docs.mangopay.com/api-reference/intents/update-intent-split)
63
+ - [POST Execute a Split of an Intent](https://docs.mangopay.com/api-reference/intents/execute-intent-split)
64
+ - [POST Reverse the Split of an Intent](https://docs.mangopay.com/api-reference/intents/reverse-intent-split)
65
+ - [GET View a Split of an Intent](https://docs.mangopay.com/api-reference/intents/view-intent-split)
66
+
67
+ New `ReportTypes` for Echo (#490, [API release note](https://docs.mangopay.com/release-notes/api/2025-08-06))):
68
+ - `ECHO_INTENT`
69
+ - `ECHO_INTENT_ACTION`
70
+ - `ECHO_SETTLEMENT`
71
+ - `ECHO_SPLIT`
72
+
73
+ ## [1.59.1] - 2025-07-28
74
+ ### Added
75
+ - `Sku` parameter on LineItem, for [Klarna PayIns](https://docs.mangopay.com/api-reference/klarna/create-klarna-payin)
76
+ - support for new endpoint [View supported banks for Pay by Bank](https://docs.mangopay.com/api-reference/pay-by-bank/view-supported-banks-pay-by-bank), to enable presentation of banks to user before Pay by Bank payment request
77
+
78
+ ## [1.59.0] - 2025-07-18
79
+ ### Added
80
+ Endpoints for [Mangopay Echo](https://docs.mangopay.com/guides/echo), a solution for platforms working with another third-party PSP for funds acquisition (including via the Mirakl Connector) #482:
81
+ - [POST Create an Intent](https://docs.mangopay.com/api-reference/intents/create-intent)
82
+ - [GET View an Intent](https://docs.mangopay.com/api-reference/intents/view-intent)
83
+ - [POST Create a Capture for an Intent](https://docs.mangopay.com/api-reference/intents/create-intent-capture)
84
+ - [POST Create a Settlement](https://docs.mangopay.com/api-reference/settlements/create-settlement)
85
+ - [PUT Update a Settlement](https://docs.mangopay.com/api-reference/settlements/update-settlement)
86
+ - [GET View a Settlement](https://docs.mangopay.com/api-reference/settlements/view-settlement)
87
+ - [POST Create a Split of an Intent](https://docs.mangopay.com/api-reference/intents/create-intent-split)
88
+
89
+ ## [1.58.0] - 2025-07-03
90
+ ### Added
91
+ - New endpoint [POST Create a Bizum PayIn](https://docs.mangopay.com/api-reference/bizum/create-bizum-payin)
92
+ - New webhook event types for SCA enrollment ([API release note](https://docs.mangopay.com/release-notes/api/2025-06-23)), note that these are triggered on enrollment not authentication:
93
+ - `SCA_ENROLLMENT_SUCCEEDED`
94
+ - `SCA_ENROLLMENT_FAILED`
95
+ - `SCA_ENROLLMENT_EXPIRED`
96
+ - New webhook event types for `UserCategory` change ([API release note](https://docs.mangopay.com/release-notes/api/2025-06-23) ):
97
+ - `USER_CATEGORY_UPDATED_TO_OWNER`
98
+ - `USER_CATEGORY_UPDATED_TO_PAYER`
99
+ - `USER_CATEGORY_UPDATED_TO_PLATFORM`
100
+ - Support for `PLATFORM` value to `UserCategory` enum
101
+
102
+ ## [1.57.1] - 2025-06-17
103
+ ### Added
104
+ - [US and CA virtual accounts](https://docs.mangopay.com/release-notes/api/2025-06-12) for local pay-in collection
105
+
106
+ ## [1.57.0] - 2025-06-10
107
+ ### Added
108
+
109
+ Endpoints for [new Reporting Service](https://docs.mangopay.com/release-notes/api/2025-06-05) feature:
110
+ - [POST Create a Report](https://docs.mangopay.com/api-reference/reporting/create-report)
111
+ - [GET View a Report](https://docs.mangopay.com/api-reference/reporting/view-report)
112
+ - [GET List all Reports](https://docs.mangopay.com/api-reference/reporting/list-reports)
113
+
114
+ Webhook [event types](url) for new Reporting Service:
115
+ - `REPORT_GENERATED`
116
+ - `REPORT_FAILED`
117
+
118
+ Support for [GET List Disputes for a PayIn](https://docs.mangopay.com/api-reference/disputes/list-disputes-payin) endpoint.
119
+
120
+ ## [1.56.1] - 2025-06-06
121
+ ### Added
122
+ - Support for `RecipientScope` query parameter on [GET List Recipients for a User](https://docs.mangopay.com/api-reference/recipients/list-recipients-user)
123
+ - [POST Validate the format of User data](https://docs.mangopay.com/api-reference/user-data-format/validate-user-data-format)
124
+
125
+ ### Fixed
126
+ - `Status` enum value on Identity Verification object changed from `OUTDATED` to `OUT_OF_DATE`
127
+
128
+ ## [1.56.0] - 2025-05-23
129
+ ### Added
130
+ Event types for [user account webhooks](https://docs.mangopay.com//webhooks/event-types#user-account), relevant to [SCA enrollment in user endpoints](https://docs.mangopay.com/guides/sca/users#user-status) and account closure:
131
+ - `USER_ACCOUNT_VALIDATION_ASKED`
132
+ - `USER_ACCOUNT_ACTIVATED`
133
+ - `USER_ACCOUNT_CLOSED`
134
+
135
+ Event types for [instant and quoted FX conversions](https://docs.mangopay.com//webhooks/event-types#fx-conversions):
136
+ - `INSTANT_CONVERSION_CREATED`
137
+ - `INSTANT_CONVERSION_SUCCEEDED`
138
+ - `INSTANT_CONVERSION_FAILED`
139
+ - `QUOTED_CONVERSION_CREATED`
140
+ - `QUOTED_CONVERSION_SUCCEEDED`
141
+ - `QUOTED_CONVERSION_FAILED`
142
+
143
+ Support for [30-day deposit preauthorization](https://docs.mangopay.com/guides/payment-methods/card/deposit-preauthorization) features:
144
+ - [POST Create a Deposit Preauthorized PayIn prior to complement](https://docs.mangopay.com/api-reference/deposit-preauthorizations/create-deposit-preauthorized-payin-prior-to-complement)
145
+ - [POST Create a Deposit Preauthorized PayIn complement](https://docs.mangopay.com/api-reference/deposit-preauthorizations/create-deposit-preauthorized-payin-complement)
146
+ - `NO_SHOW_REQUESTED` on `updateDeposit` method for [PUT Cancel a Deposit Preauthorization or request a no-show](https://docs.mangopay.com/api-reference/deposit-preauthorizations/cancel-deposit-preauthorization-request-no-show)
147
+ - [GET View a PayIn (Deposit Preauthorized Card](https://docs.mangopay.com/api-reference/deposit-preauthorizations/view-payin-deposit-preauthorized)
148
+ - [GET List Transactions for a Deposit Preauthorization](https://docs.mangopay.com/api-reference/transactions/list-transactions-deposit-preauthorization)
149
+
150
+ ## [1.55.1] - 2025-05-15
151
+ #### Fixed
152
+
153
+ - File naming issue on Recipients service (thanks for raising @JordhanMadec 🙏)
154
+
155
+ ## [1.55.0] - 2025-05-14
156
+ ### Added and refined
157
+
158
+ #### Hosted KYC/KYB endpoints
159
+
160
+ The following endpoints have been refined following the beta phase, and are now generally available:
161
+ - [POST Create an IDV Session](https://docs.mangopay.com/api-reference/idv-sessions/create-idv-session) (no changes)
162
+ - [GET View an IDV Session](https://docs.mangopay.com/api-reference/idv-sessions/view-idv-session) (includes `Checks` in response)
163
+ - [GET List IDV Sessions for a User](https://docs.mangopay.com/api-reference/idv-sessions/list-idv-sessions-user) (new endpoint)
164
+
165
+ The previously available endpoint GET View Checks for an IDV Session has been removed (as Checks were integrated into the GET by ID).
166
+
167
+ See the [guide](https://docs.mangopay.com/guides/users/verification/hosted) for more details.
168
+
169
+ #### Recipients
170
+
171
+ The `Country` property has been added to [Recipients](https://docs.mangopay.com/guides/sca/recipients), as a required query parameter on [GET View the schema for a Recipient](https://docs.mangopay.com/api-reference/recipients/view-recipient-schema) and as a required body parameter on [POST Validate data for a Recipient](https://docs.mangopay.com/api-reference/recipients/validate-recipient-data) and [POST Create a Recipient](https://docs.mangopay.com/api-reference/recipients/create-recipient).
172
+
173
+ ### Added
174
+
175
+ - [GET List Deposit Preauthorizations for a Card](https://docs.mangopay.com/api-reference/deposit-preauthorizations/list-deposit-preauthorizations-card)
176
+ - [GET List Deposit Preauthorizations for a User](https://docs.mangopay.com/api-reference/deposit-preauthorizations/list-deposit-preauthorizations-user)
177
+
178
+ ## [1.54.0] - 2025-04-29
179
+ ### Added
180
+
181
+ #### SCA on wallet access endpoints
182
+ `ScaContext` query parameter added on wallet access endpoints for the [introduction of SCA](https://docs.mangopay.com/guides/sca/wallets):
183
+
184
+ - [GET View a Wallet](https://docs.mangopay.com/api-reference/wallets/view-wallet)
185
+ - [GET List Wallets for a User](https://docs.mangopay.com/api-reference/wallets/list-wallets-user)
186
+ - [GET List Transactions for a User](https://docs.mangopay.com/api-reference/transactions/list-transactions-user)
187
+ - [GET List Transactions for a Wallet](https://docs.mangopay.com/api-reference/transactions/list-transactions-wallet)
188
+
189
+ If SCA is required, Mangopay responds with a 401 response code. The `PendingUserAction` `RedirectUrl` is in the dedicated `WWW-Authenticate` response header.
190
+
191
+ See the tests for examples on handling this error.
192
+
193
+ #### BLIK with code
194
+ Support for [BLIK with code endpoint](https://docs.mangopay.com/api-reference/blik/create-blik-payin-with-code)
195
+
196
+ ## [1.53.1] - 2025-04-17
197
+ ### Fixed
198
+ - Fixed the PaymentType enum for recurring payin registrations
199
+
200
+ ## [1.53.0] - 2025-04-16
201
+ ### Added
202
+
203
+ #### Recipients
204
+ - [GET View payout methods](/api-reference/recipients/view-payout-methods)
205
+ - [GET View the schema for a Recipient](/api-reference/recipients/view-recipient-schema)
206
+ - [POST Validate data for a Recipient](/api-reference/recipients/validate-recipient-data)
207
+ - [POST Create a Recipient](/api-reference/recipients/create-recipient)
208
+ - [GET View a Recipient](/api-reference/recipients/view-recipient)
209
+ - [GET List Recipients for a user](/api-reference/recipients/list-recipients-user)
210
+ - [PUT Deactivate a Recipient](/api-reference/recipients/deactivate-recipient)
211
+ - Webhook event types:
212
+ - `RECIPIENT_ACTIVE`
213
+ - `RECIPIENT_CANCELED`
214
+ - `RECIPIENT_DEACTIVATED`
215
+
216
+ #### SCA on Owner-initiated transfers
217
+ - On [POST Create a Transfer](/api-reference/transfers/create-transfer)
218
+ - `ScaContext` body parameter
219
+ - `PendingUserAction` response field containing `RedirectUrl`
220
+
221
+ #### Endpoints to close a user account
222
+ - [DELETE Close a Natural User](/api-reference/users/close-natural-user)
223
+ - [DELETE Close a Legal User](/api-reference/users/close-legal-user)
224
+
225
+ ## [1.52.0] - 2025-04-16
226
+ ### Added
227
+ - [POST Create a TWINT PayIn](https://docs.mangopay.com/api-reference/twint/create-twint-payin)
228
+ - `RTGS_PAYMENT` for `PayoutModeRequested` on [POST Create a Payout](https://docs.mangopay.com/api-reference/payouts/create-payout)
229
+ - PayPal recurring payments, thanks to the `PaymentType` value `PAYPAL` on [Recurring PayIn Registrations](https://docs.mangopay.com/api-reference/recurring-payin-registrations/create-recurring-payin-registration-paypal) and new endpoints ([POST Create a Recurring PayPal PayIn (CIT)](https://docs.mangopay.com/api-reference/paypal/create-recurring-paypal-payin-cit) and [POST Create a Recurring PayPal PayIn (MIT)](https://docs.mangopay.com/api-reference/paypal/create-recurring-paypal-payin-mit)
230
+
231
+ #### Fixed
232
+ - Removed chai requirement from Users service - thanks for the MR @thierrymarianne
233
+
234
+ ## [1.51.1] - 2025-04-01
235
+ ### Changed
236
+ - User-Agent Header value standardized on format: User-Agent: Mangopay-SDK/`SDKVersion` (`Language`/`LanguageVersion`)
237
+
238
+ ### Fixed
239
+ - Fixed tests for categorize SCA users endpoint
240
+ ## [1.51.0] - 2025-03-07
241
+
242
+ ### Added
243
+
244
+ New endpoints for [strong customer authentication (SCA)](https://docs.mangopay.com/guides/users/sca) on Owner users:
245
+ - [POST Create a Natural User (SCA)](https://docs.mangopay.com/api-reference/users/create-natural-user-sca)
246
+ - [PUT Update a Natural User (SCA)](https://docs.mangopay.com/api-reference/users/update-natural-user-sca)
247
+ - [POST Create a Legal User (SCA)](https://docs.mangopay.com/api-reference/users/create-legal-user-sca)
248
+ - [PUT Update a Legal User (SCA)](https://docs.mangopay.com/api-reference/users/update-legal-user-sca)
249
+ - [PUT Categorize a Natural User (SCA)](https://docs.mangopay.com/api-reference/users/categorize-natural-user)
250
+ - [PUT Categorize a Legal User (SCA)](https://docs.mangopay.com/api-reference/users/categorize-legal-user)
251
+ - [POST Enroll a User in SCA](https://docs.mangopay.com/api-reference/users/enroll-user)
252
+
253
+ ### Added
254
+
255
+ New endpoint for Payconiq:
256
+ - [POST Create a Payconiq PayIn](https://docs.mangopay.com/api-reference/payconiq/create-payconiq-payin)
257
+
258
+ ## [1.50.1] - 2025-02-28
259
+ ### Added
260
+
261
+ Missing endpoint [GET View card details for a Web Card PayIn](https://docs.mangopay.com/api-reference/web-card-payins/view-card-details-web-card-payin)
262
+
263
+ ### Fixed
264
+
265
+ Rate limiting headers interpreted dynamically based on `X-RateLimit-Reset` time and for a variable number of bucket values.
266
+
267
+ ## [1.50.0] - 2025-02-26
268
+ ### Added
269
+
270
+ Endpoints and webhooks for [hosted KYC/B solution](https://docs.mangopay.com/guides/users/verification/hosted) (in beta)
271
+
272
+ - Endpoints
273
+ - [Create an IDV Session](https://docs.mangopay.com/api-reference/idv-sessions/create-idv-session)
274
+ - [View an IDV Session](https://docs.mangopay.com/api-reference/idv-sessions/view-idv-session)
275
+ - [View Checks for an IDV Session](https://mangopay-idv.mintlify.app/api-reference/idv-sessions/view-idv-session-checks)
276
+
277
+ - Event types
278
+ - `IDENTITY_VERIFICATION_VALIDATED`
279
+ - `IDENTITY_VERIFICATION_FAILED`
280
+ - `IDENTITY_VERIFICATION_INCONCLUSIVE`
281
+ - `IDENTITY_VERIFICATION_OUTDATED`
282
+
283
+ ## [1.49.1] - 2025-02-24
284
+ ### Added
285
+
286
+ New endpoint for the [Pay by Bank PayIn](https://docs.mangopay.com/api-reference/pay-by-bank/view-payin-pay-by-bank#200) object:
287
+
288
+ - [Create a Pay by Bank PayIn](https://docs.mangopay.com/api-reference/pay-by-bank/create-pay-by-bank-payin)
289
+ - [View a PayIn (Pay by Bank)](https://docs.mangopay.com/api-reference/pay-by-bank/view-payin-pay-by-bank)
290
+
291
+ ## [1.49.0] - 2025-02-14
292
+ ### Added
293
+
294
+ New endpoint for the [Swish PayIn](https://docs.mangopay.com/api-reference/swish/swish-payin-object) object:
295
+
296
+ - [Create a Swish PayIn](https://docs.mangopay.com/api-reference/swish/create-swish-payin)
297
+ - [View a PayIn (Swish)](https://docs.mangopay.com/api-reference/swish/view-payin-swish)
298
+
299
+ Added the [List Transactions for a Card Fingerprint ](https://mangopay.com/docs/endpoints/direct-card-payins#list-transactions-card-fingerprint)endpoint.
300
+
301
+ ### Updated
302
+
303
+ Improve retrieval of UBO declarations: `get(userId, uboDeclarationId)` is now deprecated. Please use `getById(uboDeclarationId)` to retrieve UBO declarations.
304
+ ## [1.48.4] - 2025-02-07
305
+ ### Updated
306
+
307
+ - Improved Apple Pay to ensure full support in TypeScript.
308
+ - Add `StatementDescriptor` parameter to the [Refund](https://docs.mangopay.com/api-reference/refunds/create-refund-payin) object.
309
+
310
+ ## [1.48.3] - 2025-02-04
311
+ ### Updated
312
+
313
+ Revised tests to improve reliability and address any outdated tests.
314
+
315
+ ## [1.48.2] - 2025-01-30
316
+ ### Updated
317
+
318
+ - #429 Add the missing `PaymentStatus` values for [deposit preauthorized pay-ins](https://docs.mangopay.com/api-reference/deposit-preauthorizations/deposit-preauthorized-payin-object). Thanks for your contribution [@gabrieledarrigo](https://github.com/gabrieledarrigo)!
319
+
320
+ ## [1.48.1] - 2024-12-17
321
+ ### Fixed
322
+
323
+ - #426 Fixed typo mistake reports_wallets_create instead of reports_wallet_create. Thanks for your contribution [@jilink](https://github.com/jilink)
324
+ - #428 Fixed tests and added missing `BankWireExternalInstructionPayInData` type.
325
+
326
+ ## [1.48.0] - 2024-12-17
327
+ ### Added
328
+
329
+ - New PaymentRef parameter for [Payouts](https://docs.mangopay.com/api-reference/payouts/payout-object#the-payout-object)
330
+
331
+ ## [1.47.1] - 2024-11-28
332
+ ### Updated
333
+
334
+ Added all relevant `EVENT_TYPE_CHOICES` for virtual accounts:
335
+
336
+ - `VIRTUAL_ACCOUNT_ACTIVE`
337
+ - `VIRTUAL_ACCOUNT_BLOCKED`
338
+ - `VIRTUAL_ACCOUNT_CLOSED`
339
+ - `VIRTUAL_ACCOUNT_FAILED`
340
+
341
+ ## [1.47.0] - 2024-10-25
342
+ ### Added
343
+
344
+ New endpoints for The Virtual Account object:
345
+ - [Create a Virtual Account]()
346
+ - [Deactivate a Virtual Account]()
347
+ - [View a Virtual Account]()
348
+ - [List Virtual Accounts for a Wallet]()
349
+ - [View Client Availabilities]()
350
+
351
+ ## [1.46.2] - 2024-09-04
352
+ ### Fixed
353
+
354
+ - Add additional refund reason types.
355
+
356
+ ## [1.46.1] - 2024-08-30
357
+ ### Fixed
358
+ - Updated Axios to the latest version.
359
+
360
+ ## [1.46.0] - 2024-07-15
361
+ ### Added
362
+
363
+ - New endpoint [Create a bancontact payin](https://mangopay.com/docs/endpoints/bancontact#create-bancontact-payin)
364
+ - Parameter `StatementDescriptor` for the endpoint [Create refund payin](https://mangopay.com/docs/endpoints/refunds#create-refund-payin)
365
+ - Parameter `CardHolderName` for the endpoint [Deactivate or edit a Card](https://mangopay.com/docs/endpoints/direct-card-payins#deactivate-edit-card)
366
+ - Parameter PaymentCategory for the endpoints : [Create a card validation](https://mangopay.com/docs/endpoints/card-validations#create-card-validation), [Create a direct card payin](https://mangopay.com/docs/endpoints/direct-card-payins#create-direct-card-payin), [Create a preauthorization](https://mangopay.com/docs/endpoints/preauthorizations#create-preauthorization)
367
+
368
+ ## [1.45.4] - 2024-05-24
369
+ ### Added
370
+
371
+ - New parameter `CardHolderName` for [Update Card registration](https://mangopay.com/docs/endpoints/card-validations#update-card-registration)
372
+
373
+ ## [1.45.3] - 2024-04-30
374
+ ### Fixed
375
+
376
+ - Updated the implementation for [Look up metadata for a payment method](https://mangopay.com/docs/endpoints/payment-method-metadata#lookup-payment-method-metadata). The `CommercialIndicator` and `CardType` fields have been moved to the `BinData` object in the API response.
377
+
378
+ ## [1.45.2] - 2024-04-16
379
+ ### Fixed
380
+
381
+ - #400 & #401 Improve timeout error management
382
+
383
+ ## [1.45.1] - 2024-04-02
384
+ ### Added
385
+ - New parameter `SecureMode` for [Create card validation](https://mangopay.com/docs/endpoints/card-validations#create-card-validation)
386
+
387
+ ## [1.45.0] - 2024-04-02
388
+ ### Added
389
+
390
+ - New endpoint [Add tracking to Paypal payin](https://mangopay.com/docs/endpoints/paypal#add-tracking-paypal-payin)
391
+ - New parameters for Paypal mean of payment : `CancelURL` & `Category` (sub-parameter of `LineItems`). And management of `PaypalPayerID`, `BuyerCountry`, `BuyerFirstname`, `BuyerLastname`, `BuyerPhone`, `PaypalOrderID` in the response.
392
+
393
+ ## [1.44.0] - 2024-03-15
394
+ ### Fixed
395
+
396
+ - Conversions endpoint spelling
397
+ - #350 thanks @hostyn
398
+
399
+ ### Added
400
+
401
+ - The optional Fees parameter is now available on instant conversions, allowing platforms to charge users for FX services. More information [here](https://mangopay.com/docs/release-notes/millefeuille).
402
+ - 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](https://mangopay.com/docs/release-notes/millefeuille).
403
+ - Introduced the `ukHeaderFlag` boolean configuration key. Platforms partnered with Mangopay's UK entity should set this key to true for proper configuration.
404
+
405
+ ## [1.43.1] - 2024-02-29
406
+ ### Fixed
407
+
408
+ - Fix for #393 and #395 : Reject promise on API error and fix `status` type.
409
+
410
+ ## [1.43.0] - 2024-02-21
411
+ ### Added
412
+
413
+ - New endpoint to look up metadata from BIN or Google Pay token. More information [here](https://mangopay.com/docs/release-notes/kisale)
414
+ - [Get a card validation endpoint](https://mangopay.com/docs/endpoints/card-validations#view-card-validation)
415
+ - Event types for Card Validation : "CARD_VALIDATION_CREATED", "CARD_VALIDATION_SUCCEEDED" and "CARD_VALIDATION_FAILED"
416
+
417
+ ## [1.42.1] - 2024-02-08
418
+ ### Fixed
419
+
420
+ 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.
421
+
422
+ ## [1.42.0] - 2023-12-22
423
+ ### Added
424
+
425
+ New `CardInfo` parameter returned on card transactions. More information [here](https://mangopay.com/docs/release-notes/chilka).
426
+
427
+ ## [1.41.1] - 2023-12-18
428
+ ### Fixed
429
+
430
+ - Typing for User
431
+ - Comments #336
432
+
433
+ ## [1.41.0] - 2023-12-06
434
+ ### Added
435
+
436
+ 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](https://mangopay.com/docs/endpoints/web-card-payins#create-web-card-payin).
437
+
438
+ ### Fixed
439
+ BankingAlias typings have been fixed to match the API behavior
440
+
441
+ ## [1.40.1] - 2023-11-09
442
+ ### Added
443
+
444
+ It's now possible to specify an amount for DebitedFunds and Fees when you create a refund with `PayIns.createRefund()`
445
+
446
+ ## [1.40.0] - 2023-11-02
447
+ ### Updated
448
+
449
+ - Giropay and Ideal integrations with Mangopay have been improved. Some methods have been deprecated
450
+ - Klarna param "MerchantOrderId" has been renamed to "Reference"
451
+
452
+ ### Fixed
453
+
454
+ - An error occurred while creating a transaction report. It has been fixed.
455
+
456
+ ### Added
457
+
458
+ - New Reference parameter for the new Paypal implementation.
459
+
460
+ ## [1.39.0] - 2023-09-29
461
+ ### Added
462
+ - Instantly convert funds between 2 wallets of different currencies owned by the same user with the new SPOT FX endpoints
463
+
464
+ ## [1.38.0] - 2023-09-22
465
+ ### Added
466
+
467
+ 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.
468
+
469
+ ## [1.37.0] - 2023-09-15
470
+ ### Added
471
+
472
+ - 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.
473
+ - Card validation endpoint is now available (Private beta)
474
+ - A new parameter for Paypal : ShippingPreference
475
+
476
+ ### Updated
477
+
478
+ - Google Pay integration with Mangopay has been improved. This payment method is in private beta. Please contact support if you have any questions.
479
+
480
+ ### Fixed
481
+
482
+ - MBWay & PayPal are now using Web Execution Type.
483
+
484
+ ## [1.36.0] - 2023-07-24
485
+ ### Added
486
+
487
+ Paypal integration with Mangopay has been improved. This payment method is in private beta. Please contact support if you have any questions.
488
+
489
+ ## [1.35.1] - 2023-07-07
490
+ ### Fixed
491
+
492
+ - `Phone` parameter instead of `PhoneNumber` for MBWay
493
+
494
+ ## [1.35.0] - 2023-06-21
495
+ ### Added
496
+
497
+ - 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.
498
+
499
+ ## [1.34.0] - 2023-03-17
500
+ ### Added
501
+
502
+ Knowing when a dispute was closed is now possible thanks to the new ClosedDate parameter for the Dispute object.
503
+
504
+ The following endpoints have been updated accordingly:
505
+
506
+ [Vew a Dispute](ttps://docs.mangopay.com/endpoints/v2.01/disputes#e240_view-a-dispute)
507
+
508
+ [List Disputes for a User](https://docs.mangopay.com/endpoints/v2.01/disputes#e817_list-a-users-disputes)
509
+
510
+ [List Disputes for a Wallet](https://docs.mangopay.com/endpoints/v2.01/disputes#e816_list-a-wallets-disputes)
511
+
512
+ [List all Disputes](https://docs.mangopay.com/endpoints/v2.01/disputes#e241_list-all-disputes)
513
+
514
+ [List Disputes that need settling](https://docs.mangopay.com/endpoints/v2.01/disputes#e980_list-disputes-that-need-settling)
515
+
516
+ 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.
517
+
518
+ ## [1.33.1] - 2023-02-16
519
+ ### Fixed
520
+
521
+ - Wrong return type in Disputes.getRepudiation() #339
522
+
523
+ ## [1.33.0] - 2023-01-12
524
+ ### Added
525
+
526
+ Verifying some specific legal structures is now more efficient thanks to a new legal entity type: `PARTNERSHIP`.
527
+
528
+ The Legal User LegalPersonType parameter now includes the `PARTNERSHIP` value. The following endpoints have been updated accordingly:
529
+
530
+ [Create a Legal User (Payer)](https://docs.mangopay.com/endpoints/v2.01/users#e259_create-a-legal-user)
531
+
532
+ [Create a Legal User (Owner)](https://docs.mangopay.com/endpoints/v2.01/users#e1060_create-a-legal-user-owner)
533
+
534
+ [Update a Legal User](https://docs.mangopay.com/endpoints/v2.01/users#e261_update-a-legal-user)
535
+
536
+ Please note that changing the LegalPersonType to `PARTNERSHIP` for an existing user will automatically result in:
537
+
538
+ - A KYC downgrade to Light (default) verification
539
+ - The REGISTRATION_PROOF document being flagged as OUT_OF_DATE.
540
+
541
+ With this new LegalPersonType, the MANGOPAY team can better handle specific legal structures and speed up the validation process.
542
+
543
+
544
+
545
+ ## [1.32.1] - 2022-12-15
546
+ ### Fixed
547
+
548
+ - Fix type on property PayinsLinked
549
+
550
+ ## [1.32.0] - 2022-12-09
551
+ ### Added
552
+
553
+ #### New 30-day preauthorization feature
554
+
555
+ Preauthorizations can now hold funds for up to 30 days, therefore ensuring the solvency of a registered card for the same amount of time.
556
+
557
+ - The **Deposit** service has been added with methods for creating, fetching and canceling a deposit
558
+ - The **Deposit** model has been created
559
+ - The **createCardPreAuthorizedDepositPayIn** method has been added to the PayIn service
560
+
561
+ 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.
562
+
563
+ ## [1.31.1] - 2022-10-14
564
+ ### Fixed
565
+
566
+ - Compiling fails in Typescript 4.8 #335
567
+ - KYC's DocumentStatus missing value #333
568
+ - Fixed untyped property for CountryAuthorization
569
+ - Added missing UserId to UboDeclarationData
570
+
571
+ ## [1.31.0] - 2022-08-25
572
+ ##Added
573
+ **New country authorizations endpoints**
574
+
575
+ Country authorizations can now be viewed by using one of the following endpoints:
576
+
577
+ <a href="https://docs.mangopay.com/endpoints/v2.01/regulatory#e1061_the-country-authorizations-object">View a country's authorizations</a> <br>
578
+ <a href="https://docs.mangopay.com/endpoints/v2.01/regulatory#e1061_the-country-authorizations-object">View all countries' authorizations</a>
579
+
580
+ With these calls, it is possible to check which countries have:
581
+
582
+ - Blocked user creation
583
+ - Blocked bank account creation
584
+ - Blocked payout creation
585
+
586
+ Please refer to the <a href="https://docs.mangopay.com/guide/restrictions-by-country">Restrictions by country</a>
587
+ article for more information.
588
+
589
+ ## [1.30.1] - 2022-08-17
590
+ ##Fixed
591
+ - Missing types for error catching. Fix issue [#320](https://github.com/Mangopay/mangopay2-nodejs-sdk/issues/320)
592
+ - Missing types for BankAccount object. Fix issue [#319](https://github.com/Mangopay/mangopay2-nodejs-sdk/issues/319)
593
+ - Missing type for CardPreAuthorizationData. Fix issue [#311 ](https://github.com/Mangopay/mangopay2-nodejs-sdk/issues/311)
594
+ - OAuth token renewal bug fix
595
+
596
+ ## [1.30.0] - 2022-06-29
597
+ ##Added
598
+ **Recurring: €0 deadlines for CIT**
599
+
600
+ Setting free recurring payment deadlines is now possible for CIT (customer-initiated transactions) with the **FreeCycles** parameter.
601
+
602
+ 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:
603
+
604
+ <a href="https://docs.mangopay.com/endpoints/v2.01/payins#e1051_create-a-recurring-payin-registration">Create a Recurring PayIn Registration</a><br>
605
+ <a href="https://docs.mangopay.com/endpoints/v2.01/payins#e1056_view-a-recurring-payin-registration">View a Recurring PayIn Registration</a><br>
606
+
607
+ This feature provides new automation capabilities for platforms with offers such as “Get the first month free” or “free trial” subscriptions.
608
+
609
+ Please refer to the <a href="https://docs.mangopay.com/guide/recurring-payments-introduction">Recurring payments overview</a> documentation for more information.
610
+
611
+ ## [1.29.2] - 2022-05-27
612
+ ##Fixed
613
+ - User constructor issue
614
+
615
+ ## [1.29.1] - 2022-05-23
616
+ ##Fixed
617
+ - missing `UserCategory` added to `User Base classes`
618
+
619
+ ## [1.29.0] - 2022-05-20
620
+ ##Added
621
+ Users can now be differentiated depending on their MANGOPAY usage.
622
+
623
+ This is possible with the new UserCategory parameter, whose value can be set to:
624
+
625
+ - Payer – For users who are only using MANGOPAY to give money to other users (i.e., only pay).
626
+ - Owner – For users who are using MANGOPAY to receive funds (and who are therefore required to accept MANGOPAY’s terms and conditions).
627
+
628
+ Please note that the following parameters become required as soon as the UserCategory is set to “Owner”:
629
+
630
+ - HeadquartersAddress
631
+ - CompanyNumber (if the LegalPersonType is “Business”)
632
+ - TermsAndConditionsAccepted.
633
+
634
+ The documentation of user-related endpoints has been updated and reorganised to take into account the new parameter:
635
+
636
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e255_create-a-natural-user">Create a Natural User (Payer)</a>
637
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e1059_create-a-natural-user-owner">Create a Natural User (Owner)</a>
638
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e260_update-a-natural-user">Update a Natural User</a>
639
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e259_create-a-legal-user">Create a Legal User (Payer)</a>
640
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e1060_create-a-legal-user-owner">Create a Legal User (Owner)</a>
641
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e261_update-a-legal-user">Update a Legal User</a>
642
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e256_view-a-user">View a User</a>
643
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e257_list-all-users">List all Users</a>
644
+
645
+ Differentiating the platform users results in a smoother user experience for “Payers” as they will have less declarative data to provide.
646
+
647
+ ## [1.28.0] - 2022-05-11
648
+ ##Added
649
+ <b>Terms and conditions acceptance parameter</b>
650
+ <br>
651
+ The acceptance of the MANGOPAY terms and conditions by the end user can now be registered via the SDK.
652
+
653
+ This information can be managed by using the new TermsAndConditionsAccepted parameter added to the User object.
654
+
655
+ The following API endpoints have been updated to take into account the new TermsAndConditionsAccepted parameter:
656
+
657
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e255_create-a-natural-user">Create a Natural User</a>
658
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e260_update-a-natural-user">Update a Natural User</a>
659
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e259_create-a-legal-user">Create a Legal User</a>
660
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e261_update-a-legal-user">Update a Legal User</a>
661
+ - <a href="https://docs.mangopay.com/endpoints/v2.01/users#e256_view-a-user">View a User</a>
662
+
663
+
664
+ ⚠️ Please note that:
665
+
666
+ - Existing users have to be updated to include the terms and conditions acceptance information.
667
+ - Once accepted, the terms and conditions cannot be revoked.
668
+
669
+ ## [1.27.0] - 2022-05-11
670
+ ##Added
671
+ - When you create a KYC Document you can now add a Tag ( custom data ).
672
+ ##Fixed
673
+ - Issue #309 (Sort with column and direction using typescript)
674
+
675
+ ## [1.26.1] - 2022-04-21
676
+ ##Fixed
677
+ - Typescript check for GitHub runner
678
+
679
+ ## [1.26.0] - 2022-04-01
680
+ ##Added
681
+ ###Instant payment eligibility check
682
+ With the function
683
+ `PayOuts.checkEligibility(payOut, callback, options)`
684
+ the destination bank reachability can now be verified prior to making an instant payout.
685
+ 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.
686
+ ### Instant payment mode only
687
+ Instant Payment requests can now be automatically cancelled when an issue is encountered (rather than falling back to the standard payout mode).
688
+
689
+ This is possible by using the new `INSTANT_PAYMENT_ONLY` option that has been added to the PayoutModeRequested parameter.
690
+
691
+ ## [1.25.2] - 2022-02-18
692
+ ##Fixed
693
+ - Added Tag property in the CreateCardDirectPayIn interface.
694
+
695
+ ## [1.25.1] - 2022-02-02
696
+ ##Fixed
697
+ - Typescript is now a dev dependency
698
+ - Recurring Registration model is now exported (Thanks to @sengdaliu)
699
+ - Added missing ID in UpdateUbo
700
+
701
+ ## [1.25.0] - 2021-12-09
702
+ ##Added
703
+ You can now view the rate limiting status in the NodeJS SDK.
704
+ This test will show you all available properties in rateLimits : test/services/RateLimit.js.
705
+
706
+ ##Fixed
707
+ Export CurrencyISO and CountryISO
708
+
709
+ ## [1.24.1] - 2021-11-26
710
+ ##Fixed
711
+ Missing namespaces and exports
712
+
713
+ ## [1.24.0] - 2021-11-25
714
+ ## Added
715
+
716
+ 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.
717
+
718
+ ## Breaking Change
719
+
720
+ LegalRepresentativeAddress is mandatory to create a legal user
721
+
722
+ ## Other notable changes
723
+ - The CardRegistrationId becomes mandatory to update a CardRegistration
724
+ - The CreditedUserId becomes optional during the creation of a BANK_WIRE DIRECT PayIn
725
+ - Addition of missing types of PayIn WEB DIRECT_DEBIT
726
+ - Addition of ReportType (WALLET, TRANSACTION) to the object Report
727
+ - Items moved to the “base” namespace: AuthorizationDate, Headers, ColumnAndDirection, Config, RequestOptions, PaginationOptions, FilterOptions, BrowserInfoData, FallbackReasonData
728
+ - Items moved to the “securityInfo” namespace: AVSResult, SecurityInfoData
729
+ - Items moved to the “cardPreauthorization” namespace: PreAuthorizationExecutionType, PaymentStatus, PreAuthorizationStatus
730
+ - Items moved to the “billing” namespace: BillingData, BillingOrShippingRecurringPayInData
731
+ - Items moved to the “money” namespace: MoneyData
732
+ - Items moved to the “payIn” namespace: _3DSVersion
733
+ - Items moved to the “enums” namespace: IPayInExecutionType, IPayInPaymentType, IMandateStatus, ILegalPersonType, IPersonType, IBankAccountType, IDeclaredUboStats, IKycDocumentStatus, IKycDocumentType, IPayOutPaymentType, IPlatformType, IUboDeclarationRefusedReasonType, IUboDeclarationStatus, IUboRefusedReasonType, IUserNaturalCapacity
734
+
735
+ ## [1.23.0] - 2021-10-20
736
+ ## Added
737
+
738
+ You can now change the status to "ENDED" for a recurring payment.
739
+
740
+ ## Fixed
741
+
742
+ - "Status" is now available in the response when you request a recurring payment registration.
743
+
744
+ ## [1.22.1] - 2021-10-11
745
+ ## Added
746
+
747
+ **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.
748
+
749
+ You are now able to see the exact explanation thanks to a new parameter called “Flags”.
750
+
751
+ It has been added to
752
+
753
+ `api.KycDocuments.get(document.Id, function(data, response){});`
754
+
755
+ 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](https://docs.mangopay.com/guide/kyc-document).
756
+
757
+
758
+ ## [1.21.0] - 2021-10-06
759
+ ## Added
760
+
761
+ As requested by numerous clients, we are now providing [Payconiq](https://www.payconiq.be/fr) as a new mean-of-payment. To request access, please contact MANGOPAY.
762
+
763
+ ## Fix
764
+
765
+ - We have added missing types (IpAddress, BrowserInfo, DirectDebitDirectPayIn)
766
+ - We have fixed the tests and increased timeout limits.
767
+
768
+ ## [1.20.2] - 2021-08-27
769
+ ## Fixed
770
+
771
+ - Missing types for Recurring payments
772
+ - Missing "NO_CHOICE" in secure mode
773
+ - Missing "KYC_OUTDATED" in type
774
+ - Bug fix UBO creation with BirthPlace
775
+
776
+ ## [1.20.1] - 2021-08-05
777
+ ## Fixed
778
+
779
+ - Change `FallbackReason` parameter's type to object in PayOutPaymentDetailsBankWire
780
+
781
+
782
+ ## [1.20.0] - 2021-08-04
783
+ ## Fixed
784
+
785
+ - We have added BrowserInfo for CreateCardDirectPayIn
786
+ - We have fix a bug with DeactivateBankAccount (missing return data)
787
+
788
+ ## Added
789
+
790
+ - You can now update and view a Recurring PayIn Registration object. To know more about this feature, please consult the documentation [here](https://docs.mangopay.com/guide/recurring-payments-introduction).
791
+ - To improve recurring payments, we have added new parameters for CIT : DebitedFunds & Fees. To know more about this feature, please consult the documentation [here](https://docs.mangopay.com/endpoints/v2.01/payins#e1053_create-a-recurring-payin-cit)
792
+
793
+ ## [1.19.0] - 2021-06-10
794
+ ## Added
795
+
796
+ We have added a new feature **[recurring payments](https://docs.mangopay.com/guide/recurring-payments)** dedicated to clients needing to charge a card repeatedly, such as subscriptions or payments installments.
797
+
798
+ You can start testing in sandbox, to help you define your workflow. This release provides the first elements of the full feature.
799
+
800
+ - [Create a Recurring PayIn Registration object](https://docs.mangopay.com/endpoints/v2.01/payins#e1051_create-a-recurring-payin-registration), containing all the information to define the recurring payment
801
+ - [Initiate your recurring payment flow](https://docs.mangopay.com/endpoints/v2.01/payins#e1053_create-a-recurring-payin-cit) with an authenticated transaction (CIT) using the Card Recurring PayIn endpoint
802
+ - [Continue your recurring payment flow](https://docs.mangopay.com/endpoints/v2.01/payins#e1054_create-a-recurring-payin-mit) with an non-authenticated transaction (MIT) using the Card Recurring PayIn endpoint
803
+
804
+ This feature is not yet available in production and you need to contact the Support team to request access.
805
+
806
+ ## [1.18.0] - 2021-05-27
807
+ ## Added
808
+
809
+ 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.
810
+
811
+ You can now use this new type of payout with the NodeJS SDK.
812
+
813
+ Example :
814
+
815
+ ```javascript
816
+ let payoutData = api.PayOuts.getBankwire(payOut.Id);
817
+ // where payOut.Id is the id of an existing payout
818
+ ```
819
+
820
+ Please note that this feature must be authorized and activated by MANGOPAY. More information [here](https://docs.mangopay.com/guide/instant-payment-payout).
821
+
822
+ ## [1.17.0] - 2021-05-11
823
+ ## Fixed
824
+
825
+ ### IBAN for testing purposes
826
+
827
+ ⚠️ **IBAN provided for testing purpose should never be used outside of a testing environement!**
828
+
829
+ - Fix `BankAccount` IBAN reference for tests
830
+
831
+ More information about how to test payments, click [here](https://docs.mangopay.com/guide/testing-payments).
832
+
833
+ ### BankingAlias
834
+
835
+ The SDK was calling the endpoint using a deprecated format. It has been fixed.
836
+
837
+ ## Added
838
+
839
+ ### New events for PreAuthorization
840
+
841
+ Some of you use a lot the [PreAuthorization](https://docs.mangopay.com/endpoints/v2.01/preauthorizations#e183_the-preauthorization-object) feature of our API. To make your life easier, we have added three new events :
842
+
843
+ - PREAUTHORIZATION_CREATED
844
+ - PREAUTHORIZATION_SUCCEEDED
845
+ - PREAUTHORIZATION_FAILED
846
+
847
+ The goal is to help you monitor a PreAuthorization with a [webhook](https://docs.mangopay.com/endpoints/v2.01/hooks#e246_the-hook-object).
848
+
849
+ *Example: If a PreAuthorization is desynchronized, when the status is updated, you will be able to know it.*
850
+
851
+ ### Models and services are preloaded from predefined lists
852
+
853
+ Thanks to @jgautheron, the SDK is now compatible with bundlers (Webpack, etc...) and avoid i/o at runtime.
854
+
855
+
856
+ ## [1.16.0] - 2021-03-25
857
+ ## Added
858
+
859
+ ### On demand feature for 3DSv2
860
+
861
+ > **This on-demand feature is for testing purposes only and will not be available in production**
862
+
863
+ #### Request
864
+
865
+ 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:
866
+ * `V1`
867
+ * `V2_1`
868
+
869
+ If nothing is sent, the flow will be 3DS V1.
870
+
871
+ The `Requested3DSVersion` may be included on all calls to the following endpoints:
872
+ * `/preauthorizations/card/direct`
873
+ * `/payins/card/direct`
874
+
875
+ #### Response
876
+
877
+ In the API response, the `Requested3DSVersion` will show the value you requested:
878
+ * `V1`
879
+ * `V2_1`
880
+ * `null` – indicates that nothing was requested
881
+
882
+ The parameter `Applied3DSVersion` shows you the version of the 3DS protocol used. Two values are possible:
883
+ * `V1`
884
+ * `V2_1`
885
+
886
+ ## [1.15.0] - 2021-02-22
887
+ - 3DS2 integration with Shipping and Billing objects, including FirstName and LastName fields
888
+ - The objects Billing and Shipping may be included on all calls to the following endpoints:
889
+ - /preauthorizations/card/direct
890
+ - /payins/card/direct
891
+ - /payins/card/web
892
+ - Enable Instant Payment for payouts by adding a new parameter PayoutModeRequested on the following endpoint /payouts/bankwire
893
+ - The new parameter PayoutModeRequested can take two different values : "INSTANT_PAYMENT" or "STANDARD" (STANDARD = the way we proceed normally a payout request)
894
+ - This new parameter is not mandatory and if empty or not present, the payout will be "STANDARD" by default
895
+ - Instant Payment is in beta all over Europe - SEPA region
896
+ - Fix typo in README
897
+ - Fix typo IpAdress -> IpAddress in PayInPaymentDetailsCardDirect
898
+ - Fix Users update through a PUT request
899
+
900
+ ## [1.14.4] - 2020-12-09
901
+ - Added 'Regulatory' endpoint to allow checks of User Block Status
902
+ - Added support for Regulatory -> Blocked Status Hooks
903
+ - Fix for SubmitKycDocument bug
904
+
905
+ ## [1.14.3] - 2020-10-30
906
+ - added PaymentType to the CreatePayOut Object
907
+ - added new endpoint for PreAuthorization Transactions
908
+ - added methods for creating client bank accounts and payouts
909
+
910
+ ## [1.14.2]
911
+ - New endpoint -> get UBO declaration by ID
912
+ - RemainingFunds tests
913
+ - Fixing of Typos, for Typescript compatibility
914
+ - New endpoint to support changes to Card Validation process (please listen out for product announcements)
915
+
916
+ ## [1.13]
917
+ ### Added
918
+ `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.
919
+
920
+ ## Fixed
921
+ - Some issues on `CardRegistration` have been fixed
922
+ - Pagination parameters use has been fixed and can now be used correctly
923
+
924
+
925
+ ## [1.12]
926
+ ### Added
927
+ - 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 !
928
+ - `AccountNumber` parameter has been added for Payins `EXTERNAL_INSTRUCTION` (as funds could be sent from a non-IBAN account to a wallet)
929
+ - `EXPIRED` Status for Mandates has been added. Related EventType status `MANDATE_EXPIRED` has been added too.
930
+
931
+ ### Changed
932
+ - `PAYLINEV2` parameter has been added to `TemplateURLOptions` object, as `PAYLINE` parameter will be deprecated very soon.
933
+
934
+ ### Security
935
+ - node-rest-client has been updated from 1.8.x version to 3.1.x version
936
+ - Deprecated `Buffer` constructor has been replaced
937
+
938
+ ## [1.11] - 2019-10-18
939
+ ### Added
940
+ - ApplePay `Payin` functions are now available. More info about activation to come in the following weeks...
941
+ ### Changed
942
+ - GET EMoney method now supports year and month parameters. More info on our [docs](https://docs.mangopay.com/endpoints/v2.01/user-emoney#e895_view-a-users-emoney)
943
+
944
+ ## [1.10] - 2019-07-09
945
+ - New UBO Declaration system (more info [here](https://docs.mangopay.com/endpoints/v2.01/ubo-declarations#e1024_the-ubo-declaration-object))
946
+ - `CompanyNumber` support for [Legal `Users`](https://docs.mangopay.com/endpoints/v2.01/users#e259_create-a-legal-user)