Devalue
Request
Path parameters
string, 10 characters, required
The Paymentology issued terminal ID of the terminal requesting the transaction
string, 1-20 characters, required
Customer reference linked with this card
string, 1-20 characters,, required
The tracking number of the card to devalue
string, 0-255 characters, required
UUID of the pocket to devalue if applicable. Else, leave empty.
integer, required
The requested amount to be deducted from the card and loaded onto the profile
string, 1-255 characters, required
A unique identifier generated by the client, which must not be duplicated over time.
date, required
Transaction date generated by the calling client
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>1000</int> </value> </param> <param> <value> <string>4857467</string> </value> </param> <param> <value> <dateTime.iso8601>20161024T17:54:10</dateTime.iso8601> </value> </param> <param> <value> <string>F6D28CEB84B350FF87F46A9E2169A810A017ABFA</string> </value> </param> </params> </methodCall>
Response
STATUS200 OK
Schema
string
Echo
string
Echo
string
Echo
string
Echo
integer
Echo
array
Balances of pockets linked to the card
string
Echo
string
Transaction ID number generated by Paymentology
string
Authorization ID number generated by Paymentology
integer
Status code indicating transaction result
string
Status text indicating transaction result
<methodResponse> <params> <param> <value> <struct> <member> <name>clientTransactionID</name> <value> <string>4857467</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>1000</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>3070985</string> </value> </member> <member> <name>serverTransactionID</name> <value> <string>AA030733-155D-00FA-4DBD67E427F4346D</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>4000</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?