ReverseDevalueProfile

Reverse a previous DevalueProfile request.

Request

Path parameters

terminalID

string,  10 characters,  required

The Paymentology issued terminal ID of the terminal requesting the transaction.

profileNumber

string,  1-20 characters,  required

The profile which was devalued, funds will be returned to this profile.

requestAmount

integer,  required

The requested amount which was deducted from the profile, in cents.

referenceID

string,  1-255 characters,  required

The Transaction ID of the original transaction to be reversed.

referenceDate

date,  required

The Transaction date of the original transaction to be reversed.

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,  required

HMAC-SHA1 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>ReverseDevalueProfile</methodName>
   <params>
       <param>
           <value>
               <string>0054321925</string>
           </value>
       </param>
       <param>
           <value>
               <string>9123459072</string>
           </value>
       </param>
       <param>
           <value>
               <int>20</int>
           </value>
       </param>
        <param>
           <value>
               <string>txn123456</string>
           </value>
       </param>
       <param>
           <value>
               <dateTime.iso8601>20240531T12:00:00</dateTime.iso8601>
           </value>
       </param>
       <param>
           <value>
               <string>txn123456789</string>
           </value>
       </param>
       <param>
           <value>
               <dateTime.iso8601>20240931T12:00:00</dateTime.iso8601>
           </value>
       </param>
       <param>
           <value>
               <string>4e2333a4ec3eaf3ad97206f2ce98f07634bf9fd5hjklgh6d6785713014d482af</string>
           </value>
       </param>
   </params>
</methodCall>

Response

STATUS200 OK

Schema

terminalID

string

Echo of the incoming value.

profileNumber

string

Echo of the incoming value.

requestAmount

integer

Echo of the incoming value.

referenceID

string

Echo of the incoming value.

clientTransactionID

string

Echo of the incoming value.

serverTransactionID

string

Transaction ID generated by Paymentology.

balanceAmount

integer

Balance amount in cents.

resultCode

integer

Status code indicating the transaction result.

resultText

string

Text indicating the transaction result.

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>clientTransactionID</name>
                        <value>
                            <string>txn123456789</string>
                        </value>
                    </member>
                    <member>
                        <name>terminalID</name>
                        <value>
                            <string>0054321925</string>
                        </value>
                    </member>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>1</int>
                        </value>
                    </member>
                    <member>
                        <name>requestAmount</name>
                        <value>
                            <string>20</string>
                        </value>
                    </member>
                    <member>
                        <name>profileNumber</name>
                        <value>
                            <string>9123459072</string>
                        </value>
                    </member>
                    <member>
                        <name>balanceAmount</name>
                        <value>
                            <int>0</int>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>OK</string>
                        </value>
                    </member>
                    <member>
                        <name>referenceID</name>
                        <value>
                            <string>txn123456</string>
                        </value>
                    </member>
                    <member>
                        <name>serverTransactionID</name>
                        <value>
                            <string>9123459072-a6f543cd0eaf1c0926e4e3baf7b2ff9281b634ea7b6600128815dce11f457517</string>
                        </value>
                    </member>
                </struct>
            </value>
        </param>
    </params>
</methodResponse>

Are you ready to use our APIs

If you are not yet registered with us.

Still have questions? Contact us.