Cancel external origin

This functionality consists in reversing a transaction even if it is not present in Carat Portal's databases.

Currently, this functionality only alows cancellation of payments and pre-autorizations originated via SiTef bypassing e-SiTef. It will not be able to cancel a transaction done via e-SiTef using a External Origin Cancellation.

Note:#

1 - When the terminal and company_code information are sent, the behavior of cardquery changes slightly. At this point, when running cardquery, Carat Portal will identify the network returned by SiTef. Once identified, it will be used instead of the one registered in the store.
2 - In operations of external origin, we are unable to validate the network that was used in the external part of the operation, which was carried out outside Carat Portal. In these cases, we are going to use the network configured on SiTef. Because of that, configuration changes, if done during operation, can cause invalid or denied requests. For example, if a pre-authorization was made on the physical medium on the 181 network and, before the capture is completed, the SiTef configuration is changed to the 125 network, the operations that are done via Carat Portal will take over the 125 network.

WARNING: The terminal e company_code parameters must be sent simultaneously. It is also necessary send a request to the Carat Portal Support Team for the permission Allows the sending of Company and SiTef Terminal through REST.