11
11
11

/

paygateway / POST- : 


:

            
opertype reversal reversal
amountreversal 50.20
account paygateway  
transID 15431522
signature *)  

json- :

status 

finalamount

[ ]

status :

OK ( )

error ( )

finalamount .

:

(status = OK):

            
PAN **) 400000******0000
cardholder **) CARDHOLDER NAME

(status = error):

            
errorcode 335
errortext

. json- .


*) : "" opertype, amountterminate, account, transID, __1 ( ), __2 ( ). : 1) md5; 2) HMAC sha256 (, : __1, __2).

**) PAN cardholder ,



JSON

					 //    (OK):
{"status":"OK", "finalamount":"418.20", "PAN":"400000******0000", "cardholder":"CARDHOLDER NAME"}

//    (error):
{"status":"error", "errorcode":"335", "errortext": "   ", "finalamount":"468.40", "transID":"140000014"}