Skip to main content
PUT
Create or update a consumer's KYC (Mangopay natural user).

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-version
string
default:2.0.0
required

Path Parameters

consumer_id
string
required
Required string length: 2 - 100
Pattern: ^[a-zA-Z0-9_-]+$
Example:

"consumer-12345"

Body

application/json
address
AddressToUpsertSchema · object
required

Residential address of the consumer. Required by the PSP to create the consumer's payout recipient.

email
string
required
Example:

"jane.doe@example.com"

first_name
string
required
Minimum string length: 1
Example:

"Jane"

last_name
string
required
Minimum string length: 1
Example:

"Doe"

birthday
string<date> | null
Example:

"1990-05-15"

country_of_residence
string | null
Example:

"FR"

nationality
string | null
Example:

"FR"

Response

Successful Response

address
AddressSchema · object
required

Residential address of the consumer stored on the PSP.

birthday
string<date> | null
required
Example:

"1990-05-15"

country_of_residence
string | null
required
Example:

"FR"

email
string
required
Example:

"jane.doe@example.com"

first_name
string
required
Example:

"Jane"

last_name
string
required
Example:

"Doe"

nationality
string | null
required
Example:

"FR"

natural_user_id
string
required
Example:

"mp-nat-000123"

status
string
required
Example:

"VALIDATED"