ChangePin

Change the specified card’s PIN.

IMPORTANT:

This API method contains PCI sensitive information.

  • Session-Id=Encrypted AES Key e-g (AB521456236KHU52) is required 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

newPIN

string,  special - see description,  required

The new PIN number for the card, the length is defined by the PIN length set up in your campaign.

(Encrypted).

IV

string,  required

The key with which encrypted data in response is encrypted.

(Key used for encryption).

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

The calculated HMAC-SHA256 signature of the call as specified in the IMPORTANT section at the top

<methodCall>
    <methodName>ChangePin</methodName>
    <params>
        <param>
            <value>
                <string>0014682067</string>
            </value>
        </param>
        <param>
            <value>
                <string>TESTTTK</string>
            </value>
        </param>
        <param>
            <value>
                <string>4987057272502351</string>
            </value>
        </param>
        <param>
            <value>
                <string>GB65YU</string>
            </value>
        </param>
        <param>
            <value>
                <string> GHT67KMJ983UJGB678TGEW</string>
            </value>
        </param>
        <param>
            <value>
                <string>123456</string>
            </value>
        </param>
        <param>
            <value>
                <dateTime.iso8601>20200327T00:00:00</dateTime.iso8601>
            </value>
        </param>
        <param>
            <value>
                <string>07B15A4A5D7E9DCB1F96094C2F011AD51CD6364A</string>
            </value>
        </param>
    </params>
</methodCall>

Response

STATUS200 OK

Schema

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>
                </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.