Skip to main content

Cancel a pending refund

A refund can be canceled only while Inttegro still reports it as pending. Cancellation releases its reservation; it cannot reverse a refund that has started processing or succeeded.

Prompt

Check whether refund <REFUND_ID> can still be canceled. If it is pending, show the refund ID, order, amount, and reason, explain the consequence, and ask for one final confirmation before canceling it. If it is processing, succeeded, failed, or already canceled, make no change.

The agent first calls get_refund. When the current status is exactly pending, cancel_refund presents an exact confirmation before making the change.

Sample response

Pending refund canceled

The cancellation released the refund reservation before processing began.

Cancellation result
Refund
rf_example_399
Order
ord_example_2074
Amount
GHS 25.00
Status
Canceled

This refund did not complete. Canceling it does not create a replacement or send money to the customer.

Illustrative values. The exact presentation depends on the MCP client.

Reuse the same operation key only to replay the exact cancellation request. If the refund moved beyond pending before confirmation, the tool refuses the cancellation.