Direct Debit
Cancel a Direct Debit
Changed onUse 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. Please be aware that this process will fail if the transaction is not in pending status.
post/transactions/{transaction_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
transaction_idstring uuid required
Unique ID assigned by Acquired.com for the transaction.
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