CheckAuthorisation

Provides a method to check if the specified amount was deducted from a card.

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

Profile number linked with this card.

cardIdentifier

string,  1-20 characters,  required

The card number, sequence number or tracking number of the specified card.

requestAmount

integer,  required

The requested amount to have been deducted from the card and loaded onto the profile, in cents.

referenceID

string,  1-255 characters,  required

Transaction ID number refering to the Authorisation to check.

referenceDate

date,  required

Transaction date refering to the Authorisation to check.

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>CheckAuthorisation</methodName>
   <params>
       <param>
           <value>
               <string>0020123425</string>
           </value>
       </param>
       <param>
           <value>
               <string>9012349072</string>
           </value>
       </param>
       <param>
           <value>
               <string>401234567800001</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>42801707830541bd6789abcfcd4bc18ae272611ca73d881f484d83a1d1f80bb3</string>
           </value>
       </param>
   </params>
</methodCall>

 

Response

STATUS200 OK

Schema

terminalID

string

Echo of the incoming value.

profileNumber

string

Echo of the incoming value.

cardNumber

string

Number of the card found using the cardIdentifier

clientTransactionID

string

Echo of the incoming value.

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>txn123456</string>
                        </value>
                    </member>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>1</int>
                        </value>
                    </member>
                    <member>
                        <name>terminalID</name>
                        <value>
                            <string>0020123425</string>
                        </value>
                    </member>
                    <member>
                        <name>profileNumber</name>
                        <value>
                            <string>9012349072</string>
                        </value>
                    </member>
                    <member>
                        <name>cardNumber</name>
                        <value>
                            <string>4119876547004528</string>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>OK</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.