GetCardDetails

Get card details of a specific card.

IMPORTANT:

This API method contains PCI sensitive information.

  • Session-Id=Encrypted AES Key e-g (AB521456236KHU52) is required if encryption is needed and the campaign is configured for encryption of sensitive data.
  • This is optional if encryption is not needed and the campaign is not configured for encryption of sensitive data.

You can read more on how our Secure API’s work here .

Request

Path parameters

terminalID

string,  10 characters,  required

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

reference

string,  1-255 characters,  required

The user defined reference to the card. For example: a member id or wallet number.

cardIdentifier

string,  1-20 characters,  required

The card number, sequence number or tracking number of the specified card. Field is required if the customer has more than one card linked to their wallet.

transactionID

string,  1.255 characters,  required

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

transactionDate

date,  required

Client generated / local Transaction Date to assist in identifying transactions on the client side.

checksum

string,  required

HMAC-SHA256 hashed signature of the concatenated method name with all argument values using the terminal password as private key.

<methodCall>
  <methodName> GetCardDetails</methodName>
  <params>
    <param>
      <value>
        <string>0084711380</string>
      </value>
    </param>
    <param>
      <value>
        <string>PPDEC07201</string>
      </value>
    </param>
    <param>
      <value>
        <string>4987057272502351</string>
      </value>
    </param>
    <param>
      <value>
        <string>1234567</string>
      </value>
    </param>
    <param>
      <value>
        <dateTime.iso8601>20201207T09:06:40</dateTime.iso8601>
      </value>
    </param>
    <param>
      <value>
        <string>7a6ab8939b9585f49e397fd143de38bd454472e1</string>
      </value>
    </param>
  </params>
</methodCall>

Response

STATUS200 OK

Schema

cvv2

string

New CVV2 of the specified card.

(Encrypted depending on configuration).

cardNumber

string

Card number.

(Encrypted depending on configuration).

validDate

string

String representation of the valid date as MM/YY as expected by web forms when doing online payments.

expiryDate

date

The expiry date of the created card.

(Encrypted depending on configuration).

trackingNumber

string

Tracking number of the card.

retired

boolean

If card is retired.

stopped

boolean

If card is stopped.

activated

boolean

If card is activated.

expired

boolean

If card is expired.

IV

string

The key with which encrypted data in response is encrypted.

(Key used for encryption).

resultCode

integer

Status code indicating transaction result.

resultText

string

Text indicating transaction result.

<methodresponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>1</int>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>Approved</string>
                        </value>
                    </member>
                    <member>
                        <name>cvv2</name>
                        <value>
                            <string>H524IK</string>
                        </value>
                    </member>
                    <member>
                        <name>cardNumber</name>
                        <value>
                            <string>GHT52789BNHP52F</string>
                        </value>
                    </member>
                    <member>
                        <name>validDate</name>
                        <value>
                            <string>10/22</string>
                        </value>
                    </member>
                    <member>
                        <name>expiryDate</name>
                        <value>
                            <string>HY98PMDEFR63254NMHA:GT5:6PLX</string> //expiry date
                        </value>
                    </member>
                    <member>
                        <name>trackingNumber</name>
                        <value>
                            <string>189469100000008</string>
                        </value>
                    </member>
                    <member>
                      <name>retired</name>
                      <value>
                        <boolean>0</boolean>
                      </value>
                    <member>
                    <member>
                      <name>stopped</name>
                      <value>
                        <boolean>0</boolean>
                      </value>
                    </member>
                    <member>
                      <name>activated</name>
                      <value>
                       <boolean>1</boolean>
                      </value>
                    </member>
                    <member>
                      <name>expired</name>
                      <value>
                        <boolean>0</boolean>
                      </value>
                    </member>
                    <member>
                        <name>IV</name>
                        <value>
                            <string>GTYM521PL98THB72156HTBD5H</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.