PHP Example - REST (JSON)

Simple Void Operation

Return to the Home Page

URL Fields

Order and Transaction IDs are required and used to calculate the URL along with the version and merchant ID. In your integration, you would calculate these fields within your code (process.php based on this example) and not expose these to the card holder on this page, or pass them as hidden fields.

ID of the existing Order to void against
ID of the void transaction that will be created

 Transaction Fields

method ** See Note 1 Below
ID of the existing transaction to void

Note 1: This field is used by this example to set the HTTP Method for sending the transaction. In your integration, you should determine the HTTP Method in your code (process.php based on this example) and never display it to the card holder or pass it as a hidden field.