Create an Extended Preauthorized PayIn
Changed onThis endpoint lets you capture funds against the ExtendedPreauthorizationId (or the deprecated DepositId) of a preauthorization made on a card or a PayPal account.
The payment method is indicated by the PaymentType of the Extended 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 an Extended 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/extended-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 added
- info