Logo
Acquired.com API API Documentation

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://test-api.acquired.com/v1/transactions/:transaction_id/cancel' -d '{"custom_data":"L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh"}'

ENDPOINTS