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

# PHP SDK - 5.3.0

October 28, 2026

## Added

### Hosted KYC/KYB: Parameter to preset the session language

The `IdentityVerification` object now exposes `$SessionLanguage`, the initial language of a hosted identity verification session created via [POST Create an IDV Session](/api-reference/idv-sessions/create-idv-session). The value isn't returned in the API response, but adds an `lng` query parameter to `HostedUrl`.

If not set, the session takes the language of the user's browser (if supported), or otherwise English. The user can also change the language from within the session. Read more about hosted KYC/KYB [session language](/guides/users/verification/hosted#session-language) **→**

---

## Changed

### Sandbox credentials for the test suite are now required environment variables

If you clone the SDK repository to run its test suite, you now need to set Sandbox credentials as environment variables:

* `MANGOPAY_CLIENT_ID` – Your Sandbox `ClientId`
* `MANGOPAY_CLIENT_PASSWORD` – Your Sandbox API key

There is a second set of variables for the token-isolation test. The suite fails with a clear error if any required variable is missing.