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

# Java SDK - 2.66.0

July 14, 2026

## Fixed

### Echo Settlement validation errors response mapping

To support [GET View validation errors for a Settlement](/api-reference/settlements/view-settlement-validations), `SettlementValidationLine` no longer carries `Code` / `Description` directly. It now exposes a `Details` field — a list of the new `SettlementValidationLineDetail` sub-entity — to match the API response, which returns validation details as a nested list rather than flat fields. Each `SettlementValidationLineDetail` carries `Code` and `Description` (with `getCode()` / `setCode(...)` and `getDescription()` / `setDescription(...)`).

The previous flat `Code` / `Description` mapping did not match the API response, so those fields were never populated. They have been replaced by `getDetails()` / `setDetails(...)`; read `Code` / `Description` from each `SettlementValidationLineDetail`.

---

## Deprecated

### Non-SCA user methods and models

* `UserApi.get(...)`, `getNatural(...)`, `getLegal(...)` and `update(...)` are now `@Deprecated`; use `getSca(...)`, `getNaturalSca(...)`, `getLegalSca(...)` and `updateSca(...)` instead

---

## Deprecated

### Deposit PayIn complement endpoints

* `PayInApi.createDepositPreauthorizedPayInPriorToComplement(...)` and `createDepositPreauthorizedPayInComplement(...)` are now `@Deprecated` (since API release Aug 12, 2025)