CardDetail

Returns details regarding the created virtual card.

Request

Path parameters

terminalID

string,  10 characters,  required

The Paymentology issued terminal ID of the terminal requesting the transaction

voucherNumber

string,  16 characters,  required

The Paymentology issued virtual card we want to get additional details for

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-SHA256 hashed signature of the concatenated method name with all argument values using the terminal password as private key

<?xml version="1.0"?>
<methodCall>
    <methodName>CardDetail</methodName>
    <params>
        <param>
            <value>
                <string>1234567890</string>
            </value>
        </param>
        <param>
            <value>
                <string>1234567890123456</string>
            </value>
        </param>
        <param>
            <value>
                <string>T987654321</string>
            </value>
        </param>
        <param>
            <value>
                <dateTime.iso8601>2023-11-08T12:34:56</dateTime.iso8601>
            </value>
        </param>
        <param>
            <value>
                <string>f3a4cbe5d66e77ec1c9d8888a99e11f23a1c</string>
            </value>
        </param>
    </params>
</methodCall>

 

Response

STATUS200 OK

Schema

CVV2

string

The CVV2 code created for this virtual card

ExpiryDate

string

The expiration date for this virtual card, ie ‘2013-11-30 00:00:00’

IsActivated

boolean

Indicates if the card is activated or not

IsRetired

boolean

Indicates if the card if retired or not

IsStopped

boolean

Indicates if the card is stopped or not

BalanceAmount

integer

The balance the card has left in cents

clientTransactionID

string

Echo

serverTransactionID

string

Transaction ID generated by Paymentology

resultCode

integer

Status code indicating the method call result

resultText

string

Status text indicating the method call result

<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>CVV2</name>
                        <value>
                            <string>123</string>
                        </value>
                    </member>
                    <member>
                        <name>ExpiryDate</name>
                        <value>
                            <string>2013-11-30 00:00:00</string>
                        </value>
                    </member>
                    <member>
                        <name>IsActivated</name>
                        <value>
                            <boolean>1</boolean>
                        </value>
                    </member>
                    <member>
                        <name>IsRetired</name>
                        <value>
                            <boolean>0</boolean>
                        </value>
                    </member>
                    <member>
                        <name>IsStopped</name>
                        <value>
                            <boolean>0</boolean>
                        </value>
                    </member>
                    <member>
                        <name>BalanceAmount</name>
                        <value>
                            <int>104444</int>
                        </value>
                    </member>
                    <member>
                        <name>clientTransactionID</name>
                        <value>
                            <string>T987654321</string>
                        </value>
                    </member>
                    <member>
                        <name>serverTransactionID</name>
                        <value>
                            <string>ST123456789</string>
                        </value>
                    </member>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>200</int>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>Card details retrieved successfully</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.