11
11
11

, paygateway

json- :

status,  transID,  finalamount,  [ ]

status :

OK ( ): ,   ; , .., , reversal

reversal ( ); , , ; ( , -)

authorise ( ); ; , 7 , , unblocked

unblocked ( ); ; (. III.8) (. authorise)

error ( ); , , , , , , , ()

wait ( ); (, , , , ), ,  

finalamount .

:

, : OK, reversal, authorise, unblocked:

            
time 2008-04-13T17:29:39+04:00
number 1234
PAN *) 400000******0000
cardholder *) CARDHOLDER NAME
paytoken , ( , )  
recurringID (, trtype = 3 4) 11311211312

(status = error):

            
errorcode **) 312
errortext

appinfo 1 , ( : OK, reversal, authorise, unblocked error) , . III.4. , error, , -.

, (status = wait):

            
number Invoice5412

. json- :

*) PAN cardholder ,


JSON

					 //    (OK):
{"status":"OK", "transID":"140000014", "finalamount":"418.20", "time": "2008-04-13T17:29:39+04:00", "number":"2217606", "PAN":"400000******0000", "cardholder":"CARDHOLDER NAME"}

//    (OK)    appinfo (=1): 
{"status":"OK", "transID":"140000014", "finalamount":"418.20", "time": "2008-04-13T17:29:39+04:00", "number":"2217606", "PAN":"400000******0000", "cardholder":"CARDHOLDER NAME", "binName":"MAX-BANK", "binCountry":"RU", "binPhone":"74950000000", "binPrepaid":"No", "ipCountry":"RU", "ipHighRisk":"No", "ipRiskScore":"0.0", "mailFree":"Yes", "riskScore":"1.12"}

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

// ,               (wait): 
{"status":"wait", "transID":"140000014", "number":"2217606"}