v2
latestOpenAPI 3.1.02026-07-262279731.3 MBCancel a Deposit Preauthorization
This endpoint allows you to cancel a deposit preauthorization (with PaymentType of CARD or PAYPAL) if it is no longer needed, by setting the PaymentStatus to CANCELED. A canceled deposit preauthorization can't be subsequently captured.
<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.
The unique identifier of the deposit preauthorization.
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