AllocateCard

Allocate a card to a bearer.

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

firstName

string,  1-50 characters,  required

The first name of the bearer

lastName

string,  1-50 characters,  required

The last name of the bearer

idOrPassport

string,  1-50 characters,  required

The identification number or passport number for the bearer

cellphoneNumber

string,  1-10 characters,  required

The Mobile Phone Number of the bearer

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>AllocateCard</methodName>
    <params>
        <param>
            <value>
                <string>123456890</string>
            </value>
        </param>
        <param>
            <value>
                <string>P55555</string>
            </value>
        </param>
        <param>
            <value>
                <string>C44444</string>
            </value>
        </param>
        <param>
            <value>
                <string>Lando</string>
            </value>
        </param>
        <param>
            <value>
                <string>Norris</string>
            </value>
        </param>
        <param>
            <value>
                <string>123456789</string>
            </value>
        </param>
        <param>
            <value>
                <string>555-5555</string>
            </value>
        </param>
        <param>
            <value>
                <string>T987654321</string>
            </value>
        </param>
        <param>
            <value>
                <string>2023-11-08</string>
            </value>
        </param>
        <param>
            <value>
                <string>f9a7ggg3d88e91ec1c9d1234a22e49f98a1c</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

firstName

string

Echo of incoming value

lastName

string

Echo of incoming value

idOrPassport

string

Echo of incoming value

cellphoneNumber

string

Echo of incoming value

clientTransactionID

string

Echo of incoming value

serverTransactionID

string

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>terminalID</name>
                        <value>
                            <string>1234567890</string>
                        </value>
                    </member>
                    <member>
                        <name>profileNumber</name>
                        <value>
                            <string>P12345</string>
                        </value>
                    </member>
                    <member>
                        <name>cardNumber</name>
                        <value>
                            <string>1234 4444 9012 4444</string>
                        </value>
                    </member>
                    <member>
                        <name>cardSequenceNumber</name>
                        <value>
                            <string>1</string>
                        </value>
                    </member>
                    <member>
                        <name>firstName</name>
                        <value>
                            <string>Lando</string>
                        </value>
                    </member>
                    <member>
                        <name>lastName</name>
                        <value>
                            <string>Norris</string>
                        </value>
                    </member>
                    <member>
                        <name>idOrPassport</name>
                        <value>
                            <string>123456789</string>
                        </value>
                    </member>
                    <member>
                        <name>cellphoneNumber</name>
                        <value>
                            <string>555-5555</string>
                        </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 allocated 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.