Cancel a Direct Debit collection

POST {{url}}transactions/:transaction_id/cancel

Use this function to cancel a Direct Debit transaction if it hasn't been submitted to the banks. Any custom data supplied to this endpoint will be stored against the payment cancellation event. 

https://docs.acquired.com/reference/create-a-direct-debit-cancellation

Request Body

{"custom_data"=>"L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh"}