Mandates
Cancel a Mandate
Changed onFor this call to succeed, you need to define the header Content-Length to 0.
</Warning>
A mandate can only be canceled if its Status is ACTIVE or SUBMITTED. Once canceled, its status changes to FAILED. </Note>
Cancel a Mandate
put/v2.01/{ClientId}/mandates/{MandateId}/cancel
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v2.01/{ClientId}/mandates/{MandateId}/cancel
- AuthHTTP bearer
Path parameters
ClientIdstring required
Platform's API account identifier, associated with the API key.
MandateIdstring required
The unique identifier of the mandate.
Response
Success
Changes
- 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