Create a Deposit Preauthorized PayIn
Changed onThis endpoint is deprecated. Use POST Create an Extended Preauthorized PayIn instead.
The Deposit Preauthorization endpoints are scheduled for decommissioning at the end of 2027. Platforms with existing integrations need to move to the new endpoints at their earliest convenience before then.
The Extended Preauthorization feature is a like-for-like renaming of the legacy Deposit Preauthorization – the behavior is otherwise unchanged.
The previous use of the term "deposit" was 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. </Warning>
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>
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/payins/deposit-preauthorized/direct/full-capture
- AuthHTTP bearer
Path parameters
Platform's API account identifier, associated with the API key.
Request body
Response
Success
Changes
- info
endpoint deprecated
- info
added the optional property
to the response with the status
- info
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning