11
11
11

paygateway POST- : 


:

            
opertype terminate terminate
amountterminate 150.20
account paygateway  
transID 15431522
signature *)  

json- :

status

 [ ]

status :

OK ( )

error ( )

:

(status = OK):


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

(status = error):

            
errorcode 331
errortext

. json- .

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

JSON

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

//    (error):
{"status":"error", "errorcode":"120", "errortext": "    ", "transID":"140000014"}