Direct Debit
Cancel a mandate
Changed onThis API endpoint allows for the immediate cancellation of a mandate. Any custom data supplied to this endpoint will be linked to the resulting mandate cancellation event. Please be aware that this process will fail if the mandate is not in an active status. Once a mandate has been cancelled, it cannot be reverted to an active status, in this case a new mandate must be created.
post/mandates/{mandate_id}/cancel
Request
- Base URLhttps://test-api.acquired.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
mandate_idstring uuid required
Unique ID assigned by Acquired.com for the mandate.
Headers
Company-Idstring uuid
Unique ID assigned by Acquired.com for your company.
Midstring uuid
Unique ID assigned by Acquired.com connecting to a specific acquiring bank.
Request body
Example request
{
"custom_data": "L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh"
}Response
OK
Changes
- info
added the optional property
to the response with the status
- info