Notify order cancellation
POST/v1/orders/notify-cancellation
Records a cancellation that already happened in the partner system. VoltBras updates the order status and does not cancel a payment in the gateway. orderId comes from the session order. A missing or invalid field returns 400.
Request
Responses
- 201
- 403
- 404
- 500
Cancellation recorded. The order status was updated. VoltBras did not cancel a payment in the gateway.
ACCOUNT_NOT_AUTHORIZED. Fields: reason. The account is missing order:external-capture.
ORDER_NOT_FOUND. Fields: reason.
GENERIC_ERROR or EMPTY_UPSTREAM_RESPONSE. Fields: reason, when the upstream sent one.