> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mangopay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mangopay.com/_mcp/server.

# NodeJS SDK - 2.2.0

July 14, 2026

## Fixed

### Echo Settlement validation errors response mapping

* `SettlementValidationLine` now uses a `Details` array of `SettlementValidationLineDetail` objects (each with `Code` and `Description`) instead of flat `Code`/`Description` fields, matching the actual API response structure for [GET View validation errors for a Settlement](/api-reference/settlements/view-settlement-validations)

---

## Deprecated

### Non-SCA User endpoints

The following methods are now marked `@deprecated` in favour of their SCA-ready equivalents:

* `Users.get` → use `getSca`
* `Users.getNatural` → use `getNaturalSca`
* `Users.getLegal` → use `getLegalSca`
* `Users.update` → use `updateSca`
* `Users.updateNatural` → use `updateSca`

---

## Deprecated

### Deposit PayIn complement endpoints

* `PayIns.createDepositPreauthorizedPayInPriorToComplement` (deprecated since API release Aug 12, 2025)
* `PayIns.createDepositPreauthorizedPayInComplement` (deprecated since API release Aug 12, 2025)