Activate

Activate a card.

Request

Path parameters

terminalID

string,  10 characters,  required

The Paymentology issued terminal ID of the terminal requesting the transaction

profileNumber

string,  1-20 characters,  required

Profile number linked with this card

cardIdentifier

string,  1-20 characters,  required

The card number, sequence number or tracking number of the specified card

dateActivates

date,  1-20 characters,  required

The date from which the activation should be processed.

activationKey

string,  1-255 characters

A key to validate a client activation.

activationData

string,  1-255 characters

Custom data to associate with the activation.

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

<?xml version="1.0"?>
<methodCall>
  <methodName>Activate</methodName>
  <params>
    <param>
      <value>
        <string>0007654321</string>
      </value>
    </param>
    <param>
      <value>
        <string>8123456789</string>
      </value>
    </param>
    <param>
      <value>
        <string>765432100051234</string>
      </value>
    </param>
    <param>
      <value>
        <dateTime.iso8601>20220823T08:08:37</dateTime.iso8601>
      </value>
    </param>
    <param>
      <value>
        <string>activationKey</string>
      </value>
    </param>
    <param>
      <value>
        <string>activationData</string>
      </value>
    </param>
    <param>
      <value>
        <string>4123456</string>
      </value>
    </param>
    <param>
      <value>
        <dateTime.iso8601>20220823T08:08:37</dateTime.iso8601>
      </value>
    </param>
    <param>
      <value>
        <string>1ab2ca3def456e789add876cc5b0d4f03c2f6cba</string>
      </value>
    </param>
  </params>
</methodCall>

 

Response

STATUS200 OK

Schema

terminalID

string

Echo of incoming value.

cardNumber

string

Number of the card found using the cardIdentifier.

clientTransactionID

string

Echo of incoming value.

serverTransactionID

date

Transaction ID generated by Paymentology.

resultCode

integer

Status code indicating transaction result.

resultText

string

Text indicating transaction result.

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>clientTransactionID</name>
            <value>
              <string>4123456</string>
            </value>
          </member>
          <member>
            <name>resultCode</name>
            <value>
              <int>1</int>
            </value>
          </member>
          <member>
            <name>terminalID</name>
            <value>
              <string>0007654321</string>
            </value>
          </member>
          <member>
            <name>cardNumber</name>
            <value>
              <string>5231234512123458</string>
            </value>
          </member>
          <member>
            <name>resultText</name>
            <value>
              <string>OK</string>
            </value>
          </member>
          <member>
            <name>serverTransactionID</name>
            <value>
              <string>3269587452-0456F8BE412A455F0JKI52369236540E4EF86E1A</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.