Documentation

Cancel a Transaction

A transaction can only be canceled while in the CAPTURE_PENDING state. You can no longer cancel a transaction after the ACH capture process has begun.

Endpoint

   /3p/api/v1/transaction/{uuid}

 

Response Object

Errors & Warnings

{
    "status": false,
    "message": "Your transaction cannot be cancelled now because it has already been cancelled.",
    "data": null,
    "errors": null,
    "error_code": null
}

-----------------------------------------------------

{
    "status": false,
    "message": "Your transaction cannot be cancelled now because it has already been failed.",
    "data": null,
    "errors": null,
    "error_code": null
}
{
    "status": false,
    "message": "Transaction not found.",
    "data": null,
    "errors": null,
    "error_code": null
}