Create a Transfer
Changed onOn this endpoint, the default value for ScaContext is USER_PRESENT. If the PendingUserAction.RedirectUrl value is returned, you need to redirect the user to perform SCA.
With approval from Mangopay, your platform may be able to use the USER_NOT_PRESENT value provided you also have a legal proxy in place with the user and the user's consent to initiate transfers on their behalf (read more about proxy management). </Note>
<Note icon="fa-regular fa-circle-info"> **Note – SCA may be triggered by this endpoint**When a user with UserCategory OWNER initiates a transfer to another OWNER they are required to authenticate the transfer with SCA, unless Mangopay applies a low-amount or low-risk exemption to the transfer (or unless your platform is using a proxy and user consent).
To let the user complete the SCA session on the Mangopay-hosted webpage, 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 guide.
In Sandbox, you can bypass SCA by including the word accept in the Email value of the Natural User or the LegalRepresentative.Email value of the Legal User – for example accept@example.com or john.doe+accept@example.com. </Note>
Create a Transfer
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/transfers
- AuthHTTP bearer
Path parameters
Platform's API account identifier, associated with the API key.
Request body
Response
Success
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
create_transferremoved and replaced withtransfers_create_transfer
- info