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

# API - Sep 8, 2021 - Primerose

Added

### New KYC Document data

More information are now available regarding refused KYC documents. Therefore, it will be easier for you to adapt your app behaviour and help your end users.

Explanation are now available in a new parameter called `Flags` that has been added to the "View a KYC Document" endpoint. It will display one or several error codes indicating why your document validation has failed.

### New hook for instant payment

We are now providing new hooks for our new Instant payouts feature:\
-INSTANT\_PAYOUT\_SUCCEEDED\
-INSTANT\_PAYOUT\_FALLBACKED

It will allow you to trigger an action depends on the Instant Payout treatment.