DevalueReverse

Reverse a devalue that was previously requested but had potentially failed.

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 this card

trackingNumber

string,  1-20 characters,  required

The tracking number of the card to reverse the devalue for

pocketUUID

string,   0-255 characters,  required

UUID of the pocket to reverse the devalue for if applicable. Else, leave empty.

requestAmount

integer,  required

The amount that was requested in original Devalue call

transactionID

string,  1-255 characters,  required

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

transactionDate

date,  required

Transaction date generated by the calling client

referenceID

string,  1-255 characters,  required

The value of transactionID that was used with original Devalue call

referenceDate

date,  required

The value of transactionDate that was used with the original Devalue call

checksum

string,  required

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

<methodCall>
    <methodName>Devalue</methodName>
    <params>
        <param>
            <value>
                <string>0042128722</string>
            </value>
        </param>
        <param>
            <value>
                <string>Tutuka Test</string>
            </value>
        </param>
        <param>
            <value>
                <string>687653400000962</string>
            </value>
        </param>
        <param>
            <value>
                <string/>
            </value>
        </param>
        <param>
            <value>
                <int>3000</int>
            </value>
        </param>
        <param>
            <value>
                <string>246812</string>
            </value>
        </param>
        <param>
            <value>
                <dateTime.iso8601>20171212T12:52:00</dateTime.iso8601>
            </value>
        </param>
        <param>
            <value>
                <string>58AC11B7B79F9D61797A0CD67A4822D197D5FF3C</string>
            </value>
        </param>
    </params>
</methodCall>

Response

STATUS200 OK

Schema

terminalID

string

Echo

customerReference

string

Echo

trackingNumber

string

Echo

pocketUUID

string

Echo

requestAmount

integer

Echo

referenceID

string

Echo

clientTransactionID

string

Echo

serverTransactionID

string

Transaction ID number generated by Paymentology

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>246812</string>
                        </value>
                    </member>
                    <member>
                        <name>resultCode</name>
                        <value>
                            <int>1</int>
                        </value>
                    </member>
                    <member>
                        <name>terminalID</name>
                        <value>
                            <string>0042128722</string>
                        </value>
                    </member>
                    <member>
                        <name>requestAmount</name>
                        <value>
                            <int>3000</int>
                        </value>
                    </member>
                    <member>
                        <name>customerReference</name>
                        <value>
                            <string>Tutuka Test</string>
                        </value>
                    </member>
                    <member>
                        <name>resultText</name>
                        <value>
                            <string>Approved</string>
                        </value>
                    </member>
                    <member>
                        <name>pocketUUID</name>
                        <value>
                            <string/>
                        </value>
                    </member>
                    <member>
                        <name>authorisationID</name>
                        <value>
                            <string>3094558</string>
                        </value>
                    </member>
                    <member>
                        <name>serverTransactionID</name>
                        <value>
                            <string>E78BA94C-155D-00FA-4DC1A564F051914B</string>
                        </value>
                    </member>
                    <member>
                        <name>trackingNumber</name>
                        <value>
                            <string>687653400000962</string>
                        </value>
                    </member>
                    <member>
                        <name>balance</name>
                        <value>
                            <array>
                                <data>
                                    <value>
                                        <struct>
                                            <member>
                                                <name>currency</name>
                                                <value>
                                                    <string>840</string>
                                                </value>
                                            </member>
                                            <member>
                                                <name>amount</name>
                                                <value>
                                                    <int>0</int>
                                                </value>
                                            </member>
                                            <member>
                                                <name>pocketUUID</name>
                                                <value>
                                                    <string>CABCCA6F-155D-0028-9D9D270F6F1C5369</string>
                                                </value>
                                            </member>
                                        </struct>
                                    </value>
                                </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.