v2
latestOpenAPI 3.1.02026-07-262279731.3 MBCreate a Deposit Preauthorized PayIn
This endpoint lets you capture funds against a DepositId that was preauthorized on a card or a PayPal account.
The payment method is indicated by the PaymentType of the Deposit Preauthorization object:
- CARD – Single capture possible within 29.5 days
- PAYPAL – Single capture recommended within 3 days, but possible up to 29 days (not 29.5)
The shape of the pay-in object is the same – specific data points for card or PayPal authorizations are available via GET View a Deposit Preauthorization.
<Check icon="fa-regular fa-circle-check"> **Best practice - For PayPal, capture funds within 3 days**PayPal recommends that you capture preauthorized funds within 3 days. This is because the success of the capture is subject to risk and the availability of funds on the card (or other funding instrument) that the user has linked to their PayPal account. </Check>
<Note icon="fa-regular fa-circle-info"> **Note – Disclaimer about terminology**The use of the term "deposit" in this feature is for convenience only and does not constitute a traditional banking deposit under applicable banking regulations, including the EU Capital Requirements Directive (Directive 2013/36/EU) or the Deposit Guarantee Schemes Directive (Directive 2014/49/EU). Accordingly, these funds are not covered by any statutory deposit protection schemes, and Mangopay does not operate as a licensed banking institution. </Note>
Path parameters
Platform's API account identifier, associated with the API key.
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
If your platform is using a proxy to take SCA-triggering action on behalf of users, you also need to integrate mTLS authentication and use the api-mtls base URL.
Request body
Response
Success