LinkCard

Link an existing card to a given customer reference.

Request

Path parameters

terminalID

string,  10 characters,  required

The Paymentology issued terminal ID of the terminal requesting the transaction

customerReference

string,  1-20 characters,  required

Customer reference to link the card to

cardIdentifier

string,  1-20 characters,  required

Card number or Tracking number of the card to link

transactionID

string,  1-255 characters,  required

A unique identifier generated by the client, which must not be duplicated over time.

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

<methodCall>
    <methodName>LinkCard</methodName>
    <params>
        <param>
            <value>
                <string>0008866376</string>
            </value>
        </param>
        <param>
            <value>
                <string>TEST_Tutuka</string>
            </value>
        </param>
        <param>
            <value>
                <string>156554700000004</string>
            </value>
        </param>
        <param>
            <value>
                <string>4857467</string>
            </value>
        </param>
        <param>
            <value>
                <dateTime.iso8601>20161017T00:00:00</dateTime.iso8601>
            </value>
        </param>
        <param>
            <value>
                <string>4252E91C4890A9BDB7ED04C2673A89ED53F4C6D5</string>
            </value>
        </param>
    </params>
</methodCall>

Response

STATUS200 OK

Schema

terminalID

string

Echo

customerReference

string

Echo

cardIdentifier

string

Echo

trackingNumber

string

Tracking number of the linked card

clientTransactionID

string

Echo

serverTransactionID

string

Transaction ID number generated by Paymentology

resultCode

integer

Status code indicating transaction result

resultText

string

Status text indicating transaction result

<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>cardIdentifier</name>
                        <value>
                            <string>156554700000004</string>
                        </value>
                    </member>
                    <member>
                        <name>clientTransactionID</name>
                        <value>
                            <string>4857467</string>
                        </value>
                    </member>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>1</int>
                        </value>
                    </member>
                    <member>
                        <name>terminalID</name>
                        <value>
                            <string>0008866376</string>
                        </value>
                    </member>
                    <member>
                        <name>customerReference</name>
                        <value>
                            <string>TEST_Tutuka</string>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>Approved</string>
                        </value>
                    </member>
                    <member>
                        <name>serverTransactionID</name>
                        <value>
                            <string>3BA29CB1-155D-00FA-4D593D3723D997C4</string>
                        </value>
                    </member>
                    <member>
                        <name>trackingNumber</name>
                        <value>
                            <string>156554700000004</string>
                        </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.