PocketTransferReverse

Reverse an PocketTransfer transaction that was timed out using the details of the failed transaction.

Request

Path parameters

terminalID

string,  10 characters,  required

The Paymentology issued terminal ID of the terminal requesting the transaction

customerReference

string,  1-20 characters,  required

Customer reference linked with card indicated in trackingNumberFrom field

trackingNumber

string,  1-20 characters,  required

The tracking number of the card that the pockets are linked to

pocketTypeUUIDFrom

string,  1-255 characters,  required

The UUID of the pocket to transfer funds from

pocketTypeUUIDTo

string,  1-255 characters,  required

The UUID of the pocket to transfer funds to

requestAmount

integer,  required

The requested amount to be loaded on the card and deducted from the profile

transactionID

string,  1-255 characters,  required

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

transactionDate

string,  required

Transaction date generated by the calling client

referenceID

string,  1-255 characters,  required

Value of transactionID that was used for original PocketTransfer call

referenceDate

date,  required

Value of transactionDate that was used for original PocketTransfer call

checksum

string,  1-255 characters,  required

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

<methodCall>
    <methodName>PocketTransferReverse</methodName>
    <params>
        <param>
            <value>
                <string>0070499260</string>
            </value>
        </param>
        <param>
            <value>
                <string>1233</string>
            </value>
        </param>
        <param>
            <value>
                <string>01211631</string>
            </value>
        </param>
        <param>
            <value>
                <string>5784B0EF-155D-0028-9DE2D22646AD35D0</string>
            </value>
        </param>
        <param>
            <value>
                <string>5756DA04-155D-0028-9D1E345F63AD8680</string>
            </value>
        </param>
        <param>
            <value>
                <int>10</int>
            </value>
        </param>
        <param>
            <value>
                <string>006001007020700#31180000#PP0914799521</string>
            </value>
        </param>
        <param>
            <value>
                <dateTime.iso8601>20170828T12:56:00</dateTime.iso8601>
            </value>
        </param>
        <param>
            <value>
                <string>006001007020700#31180000#PP0914799520</string>
            </value>
        </param>
        <param>
            <value>
                <dateTime.iso8601>20170828T12:56:00</dateTime.iso8601>
            </value>
        </param>
        <param>
            <value>
                <string>39205E153EDC01C9605172E2D376889DBB8D94EF</string>
            </value>
        </param>
    </params>
</methodCall>

Response

STATUS200 OK

Schema

terminalID

string

Echo

customerReference

string

Echo

trackingNumber

string

Echo

pocketTypeUUIDFrom

string

Echo

pocketTypeUUIDTo

string

Echo

requestAmount

integer

Echo

clientTransactionID

string

Echo

resultCode

integer

Status code indicating transaction result

resultText

string

Status text indicating transaction result

<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>clientTransactionID</name>
                        <value>
                            <string>006001007020700#31180000#PP0914799521</string>
                        </value>
                    </member>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>0</int>
                        </value>
                    </member>
                    <member>
                        <name>terminalID</name>
                        <value>
                            <string>0070499260</string>
                        </value>
                    </member>
                    <member>
                        <name>pocketCampaignUUIDTo</name>
                        <value>
                            <string>5756DA04-155D-0028-9D1E345F63AD8680</string>
                        </value>
                    </member>
                    <member>
                        <name>requestAmount</name>
                        <value>
                            <int>10</int>
                        </value>
                    </member>
                    <member>
                        <name>customerReference</name>
                        <value>
                            <string>1233</string>
                        </value>
                    </member>
                    <member>
                        <name>pocketCampaignUUIDFrom</name>
                        <value>
                            <string>5784B0EF-155D-0028-9DE2D22646AD35D0</string>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>Approved - No Action</string>
                        </value>
                    </member>
                    <member>
                        <name>trackingNumber</name>
                        <value>
                            <string>01211631</string>
                        </value>
                    </member>
                    <member>
                        <name>balance</name>
                        <value>
                            <array>
                                <data/>
                            </array>
                        </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.