UpdateAllocatedCard

Updates the cellphone or ID number linked to an allocated card.

IMPORTANT: Validation is performed on the cellPhone parameter value of the request message.

cellPhone input format allows:

  • 10 digits and starts with 0 (example: 0123456789) or
  • 11 digits and starts with 27 (example: 27123456789)

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

The profile to which the card belongs.

cardIdentifier

string,  1-20 characters,  required

The card number, tracking number or sequence number of the card to update.

idOrPassport

string,  1-50 characters,  required

The ID or passport number of the card bearer.

cellphoneNumber

string,  10-11 digits,  required

The cellphone number of the card bearer.

Valid formats:

10 digits and starts with 0 (example: 0123456789) or
11 digits and starts with 27 (example: 27123456789)

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>UpdateAllocatedCard</methodName>
  <params>
    <param>
      <value>
        <string>0076543212</string>
      </value>
    </param>
    <param>
      <value>
        <string>8987654321</string>
      </value>
    </param>
    <param>
      <value>
        <string>876543200212345</string>
      </value>
    </param>
    <param>
      <value>
        <string>9876545345088</string>
      </value>
    </param>
    <param>
      <value>
        <string>0712345678</string>
      </value>
    </param>
    <param>
      <value>
        <string>654321a0-7df8-1234-a1a2-12f34de6c7fa</string>
      </value>
    </param>
    <param>
      <value>
        <dateTime.iso8601>20220823T12:38:56</dateTime.iso8601>
      </value>
    </param>
    <param>
      <value>
        <string>123E69D76543C8D3F827E7F12AC94D1F0E7C125B</string>
      </value>
    </param>
  </params>
</methodCall>

 

Response

STATUS200 OK

Schema

terminalID

string

Echo of incoming value.

profileNumber

string

Echo of incoming value.

cardNumber

string

Number of the card found using the cardIdentifier.

cardSequenceNumber

string

Sequence of the card found using the cardIdentifier.

cellphoneNumber

string

Echo of incoming value.

clientTransactionID

string

Echo of incoming value.

serverTransactionID

string

Transaction ID generated by Paymentology.

resultCode

integer

Status code indicating the transaction result.

resultText

string

Text indicating the transaction result.

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>clientTransactionID</name>
            <value>
              <string>654321a0-7df8-1234-a1a2-12f34de6c7fa</string>
            </value>
          </member>
          <member>
            <name>resultCode</name>
            <value>
              <int>1</int>
            </value>
          </member>
          <member>
            <name>terminalID</name>
            <value>
              <string>0076543212</string>
            </value>
          </member>
          <member>
            <name>profileNumber</name>
            <value>
              <string>8987654321</string>
            </value>
          </member>
          <member>
            <name>cardNumber</name>
            <value>
              <string>5337123456781234</string>
            </value>
          </member>
          <member>
            <name>cardSequenceNumber</name>
            <value>
              <double>212345</double>
            </value>
          </member>
          <member>
            <name>resultText</name>
            <value>
              <string>OK</string>
            </value>
          </member>
          <member>
            <name>serverTransactionID</name>
            <value>
              <string>8987654321-789D12E12345C8D3F827E7F51AC94E2F0E7C005B</string>
            </value>
          </member>
          <member>
            <name>cellPhoneNumber</name>
            <value>
              <string>0712345678</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.