Cancel a shipment transaction
The cancellation of a transaction depends on its status and the payment type:
- Initial transaction: can only be canceled if no shipment transaction has been created.
- Initial transaction: cannot be canceled once a shipment transaction has been created.
- Shipment transaction: can be canceled as long as it has not been captured. If it has already been captured, a refund must be issued.
In order to cancel a transaction, make a call to the Transaction/Cancel Web Service.
POSThttps://api.gateway.monetico-retail.com/api-payment/V4/Transaction/Cancel
Use the fields below to build your request:
Field name | Description | Required |
---|---|---|
uuid | Unique transaction identifier generated by the payment gateway. | Yes |
Example request:
POST https://api.gateway.monetico-retail.com/api-payment/V4/Transaction/Cancel
{ "uuid": "a0b61d1e159748eaab876cfe342e8c08" }
The Web Service returns a Transaction object containing the payment details.
In order to obtain more information on the contents of the Transaction object, test the Transaction/Cancel Web Service using our playground.