Cancel Payout(🚧 in development)
POST/payouts/cancel
Cancels an in-progress payout. This endpoint can only be used if the payout is in the in_progress status and the recipient object was not provided when the payout was initiated (meaning the payout details are to be filled on the payment page). This allows for the cancellation of the created payment page and, thereby, the payout itself.
If the recipient object was provided during payout creation, this endpoint is not applicable.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 412
- 500
- 502
- 503
Payout cancellation successful
Invalid request parameters.
Authentication failed. Verify that a valid Api-Access-Token is provided in the request headers.
Access denied. The API token does not have permission to cancel payouts for the specified shop.
Resource not found.
Precondition failed.
Internal server error. An unexpected error occurred on the server side.
Service unavailable. The upstream service is temporarily unreachable.
Service unavailable. The server is temporarily unable to handle the request.