Cancels a submitted disbursement before it is sent to the ACH network. Disbursements can only be canceled if they are still in the pending
state and have not been submitted to the ACH network. After a disbursement is sent to the ACH network, you must wait for the it to settle and then you may refund it instead.
In some cases if you cancel while the disbursement is in the process of being submitted to the ACH network you may see a status of cancellation_pending
in the response. In this case, you can check the status of the disbursement or wait for a subsequent webhook to see if it was successfully canceled or processed.
The id of the disbursement
The amount of the disbursement, in cents (e.g. 1000 = $10.00)
The status of the disbursement
Timestamp the disbursement object is created on
The type of transfer that the disbursement was (ACH, ledger only, or special cases like refunds)
A reason for the failure if any exists
The date of the disbursement (YYYY-MM-DD)