delete https://{environment}.masspay.io/{VERSION}/payout//
This DELETE endpoint allows you to request the cancellation of a previously created payout transaction.
Once a payout has been committed, you can use this endpoint to submit a cancellation request.
Note: Submitting a cancellation request does not guarantee that the payout will be successfully cancelled.
To use this endpoint, provide the user_token
and payout_token
of the payout transaction you wish to cancel in the URL path.
The response returns a JSON object containing details about the cancellation request, including the payout_token
, cancelation_status
, confirmation_code
, and any potential errors.