ListCards

Return a list of all cards that are linked to the 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 return cards for

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 type="xs:string">ListCards</methodName>
    <params>
        <param>
            <value>
                <string>1121866376</string>
            </value>
        </param>
        <param>
            <value>
                <string>TEST_CUSTOMER</string>
            </value>
        </param>
        <param>
            <value>
                <string>d11d1df3-4e14-45a5-a32c-111c7111dfdb</string>
            </value>
        </param>
        <param>
            <value>
                <dateTime.iso8601>20160525T00:00:00</dateTime.iso8601>
            </value>
        </param>
        <param>
            <value>
                <string>111111A93795270DDEE9D8D3398F28E88830BDE8</string>
            </value>
        </param>
    </params>
</methodCall>

Response

STATUS200 OK

Schema

terminalID

string

Echo

customerReference

string

Echo

Cards

array

The cards linked to this customer

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>clientTransactionID</name>
                        <value>
                            <string>d11d1df3-4e14-45a5-a32c-111c7111dfdb</string>
                        </value>
                    </member>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>1</int>
                        </value>
                    </member>
                    <member>
                        <name>terminalID</name>
                        <value>
                            <string>1121866376</string>
                        </value>
                    </member>
                    <member>
                        <name>customerReference</name>
                        <value>
                            <string>TEST_CUSTOMER</string>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>Approved</string>
                        </value>
                    </member>
                    <member>
                        <name>serverTransactionID</name>
                        <value>
                            <string>10101B98-155D-0018-9DC234950FC04E01</string>
                        </value>
                    </member>
                    <member>
                        <name>cards</name>
                        <value>
                            <array>
                                <data>
                                    <value>
                                        <struct>
                                            <member>
                                                <name>cvv2</name>
                                                <value>
                                                    <string>111</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>currency</name>
                                                <value>
                                                    <string>840</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>cardNumber</name>
                                                <value>
                                                    <string>1111114373665138</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>balanceAmount</name>
                                                <value>
                                                    <int>185</int>
                                                </value>
                                            </member>
                                            <member>
                                                <name>stopped</name>
                                                <value>
                                                    <string>
                                                    </string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>expiryDate</name>
                                                <value>
                                                    <dateTime.iso8601>20161125T00:00:00</dateTime.iso8601>
                                                </value>
                                            </member>
                                            <member>
                                                <name>campaignUUID</name>
                                                <value>
                                                    <string>1010F2C8-155D-0028-
                                                        9DEA0D29AD914DA0</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>trackingNumber</name>
                                                <value>
                                                    <string>111110700000007</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>cardLabel</name>
                                                <value>
                                                    <string>TestCard</string>
                                                </value>
                                            </member>
                                        </struct>
                                    </value>
                                    <value>
                                        <struct>
                                            <member>
                                                <name>cvv2</name>
                                                <value>
                                                    <string>111</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>currency</name>
                                                <value>
                                                    <string>840</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>cardNumber</name>
                                                <value>
                                                    <string>1111111674688710</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>balanceAmount</name>
                                                <value>
                                                    <int>0</int>
                                                </value>
                                            </member>
                                            <member>
                                                <name>stopped</name>
                                                <value>
                                                    <string>
                                                    </string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>expiryDate</name>
                                                <value>
                                                    <dateTime.iso8601>20161125T00:00:00</dateTime.iso8601>
                                                </value>
                                            </member>
                                            <member>
                                                <name>campaignUUID</name>
                                                <value>
                                                    <string>1011F2C8-155D-0028-
                                                        9DEA0D29AD114DA0</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>trackingNumber</name>
                                                <value>
                                                    <string>101011700000008</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>cardLabel</name>
                                                <value>
                                                    <string>TestCard</string>
                                                </value>
                                            </member>
                                        </struct>
                                    </value>
                                </data>
                            </array>
                        </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.