Create a Recipient

Register a bank account for local or international payouts. <Warning icon="fa-regular fa-triangle-exclamation"> **Caution – Fetch schema and validate data before creation** Before using this endpoint to register a Recipient for a user, for the given currency, payout method, and recipient type combination, always: - Fetch the schema dynamically using [GET View the schema for a Recipient](/api-reference/recipients/view-recipient-schema) - Check that the user's data is valid using [POST Validate data for a Recipient](/api-reference/recipients/validate-recipient-data) </Warning> <Note icon="fa-regular fa-circle-info"> **Note – SCA triggered by this endpoint** Registering a bank account as a Recipient always requires the user to [authenticate using SCA](/guides/sca/recipients) on a Mangopay-hosted webpage, unless your platform is using a [proxy and user consent](/guides/sca/proxy-management). To let the user complete the SCA session, your platform needs to retrieve the returned `PendingUserAction.RedirectUrl`, add an encoded `returnUrl` query parameter, and redirect the user. Read more about how to redirect them in the [SCA session](/guides/sca/session) guide. If SCA is not successfully completed, the Recipient `Status` becomes `CANCELED` and you need to create a new Recipient to try again. In Sandbox, you can bypass SCA by including the word `accept` in the `Email` value of the [Natural User](/api-reference/users/natural-user-object-sca) or the `LegalRepresentative.Email` value of the [Legal User](/api-reference/users/legal-user-object-sca) – for example `accept@example.com` or `john.doe+accept@example.com`. </Note> Recipient creation is asynchronous, meaning that this endpoint returns the `Status` as `PENDING` regardless of whether SCA is required (when `RecipientScope` is `PAYOUT`) or not. In all cases, your integration should rely on the `RECIPIENT_ACTIVE` [webhook](/webhooks/event-types#recipients) to know when the recipient is `ACTIVE`. Verification of Payee (VOP) impacts SEPA local schemes, which means Recipients with `Currency` value `EUR` and `PayoutMethodType` value `LocalBankTransfer`. [Read more](/guides/vop/recipients-payouts) **&rarr;**

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token. If your platform is using a [proxy](/guides/sca/proxy-management) to take SCA-triggering action on behalf of users, you also need to integrate [mTLS authentication](/guides/sca/platform) and use the `api-mtls` base URL.

Path parameters

ClientIdstringRequired
Platform's API account identifier, associated with the API key.
UserIdstringRequired
The unique identifier of the user.

Request

This endpoint expects an object.
International IndividualobjectRequired

Request body for creating a Recipient where PayoutMethodType is InternationalBankTransfer and RecipientType is Individual.

OR
International BusinessobjectRequired

Request body for creating a Recipient where PayoutMethodType is InternationalBankTransfer and RecipientType is Business.

OR
Local IndividualobjectRequired

Request body for creating a Recipient where PayoutMethodType is LocalBankTransfer and RecipientType is Individual.

OR
Local BusinessobjectRequired

Request body for creating a Recipient where PayoutMethodType is LocalBankTransfer and RecipientType is Business.

Response

Created
International Individualobject

Response body for a Recipient where PayoutMethodType is InternationalBankTransfer and RecipientType is Individual.

OR
International Businessobject

Response body for a Recipient where PayoutMethodType is InternationalBankTransfer and RecipientType is Business.

OR
Local Individualobject

Response body for a Recipient where PayoutMethodType is LocalBankTransfer and RecipientType is Individual.

OR
Local Businessobject

Response body for a Recipient where PayoutMethodType is LocalBankTransfer and RecipientType is Business.

Errors

400
Bad Request Error
401
Unauthorized Error