ToggleVoucherFeature

Toggles a voucher feature on or off

Request

Path parameters

terminalID

string,  10 characters,  required

The Paymentology issued terminal ID of the terminal requesting the transaction

customerReference

string,  1-255 characters,  required

Customer reference linked with this card

trackingNumber

string,  1-20 characters,  required

Tracking number that identifies the card to be returned

featureName

string,  1-255 characters,  required

Name of the feature to be enabled/disabled

featureStatus

boolean,  required

Status to be applied. (True/False)

transactionID

string,  1-255 characters ,  required

Transaction ID number generated by the calling client

transactionDate

date,  required

Transaction date generated by the calling client

checksum

string,  1-255 characters,  required

HMAC-SHA256 hashed signature of the concatenated method name with all argument values using the terminal password as private key

<?xml version="1.0" encoding="UTF-8"?><methodCall>
<methodName>ToggleVoucherFeature</methodName>
  <params>
    <param>
      <value>
        <string>TID</string>
      </value>
    </param>
    <param>
      <value>
        <string>b12b3a45-f678-4f98-b076-a54c1a32ccd1</string>
      </value>
    </param>
    <param>
      <value>
        <string>443218987654321</string>
      </value>
    </param>
    <param>
      <value>
        <string>PHYSICAL_CARD_DISABLED</string>
      </value>
    </param>
    <param>
      <value>
        <int>0</int>
      </value>
    </param>
    <param>
      <value>
        <string>4f012b3a3d456d2ba789b8dcadf2ccf9</string>
      </value>
    </param>
    <param>
      <value>
        <dateTime.iso8601>20230721T23:54:28</dateTime.iso8601>
      </value>
    </param>
    <param>
      <value>
        <string>CHECKSUM</string>
      </value>
    </param>
  </params>
</methodCall>

 

Response

STATUS200 OK

Schema

resultCode

integer

Status code indicating transaction result

<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>1</int>
                        </value>
                    </member>
                </struct>
            </value>
        </param>
    </params>
</methodResponse>

 

Was this page helpful?

Are you ready to use our APIs

If you are not yet registered with us.

Still have questions? Contact us.