Вы находитесь на странице: 1из 85

Merchant Manual (RU)

1
2
3
4

4.1 3d secure
4.2 3d secure
5
6 WebService-
6.1 ,
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5
6.1.6 3DS
6.2 ,
6.2.1
6.2.2
6.2.3
6.2.4
6.2.5
6.2.6
6.2.7 3DS
7 REST
7.1 ,
7.1.1
7.1.2
7.1.3
7.1.4
7.1.5
7.1.6 3DS
7.2 ,
7.2.1 c
7.2.2 o o
7.2.3
7.2.4
7.2.5
7.2.6
7.2.7 3DS
8 Callback-
9
9.1
9.2
9.2.1
9.2.2
9.2.3
9.2.3.1
9.3
9.3.1
9.3.2
9.3.3
10
11
12 1.
12.1
12.2 .
12.3
12.3.1 , WebService-
12.3.1.1
12.3.1.2
12.3.1.3
12.3.1.4
12.3.2 , REST

12.3.2.1
12.3.2.2
12.3.2.3
12.3.2.4
13 2. "- "
13.1
13.2
13.3 -
13.4 -
13.5
13.6
13.7 -
13.7.1 WebService
13.7.2 REST
14 3.
14.1
14.2
15 4. - actionCode ( )

- (), -.
- VISA MasterCard.
- , .
(, Visa MasterCard)
- () , ,
.
- , .
3D Secure Visa, -.
SecureCode MasterCard, -.
3D Secure. 3DSecure SecureCode.
Merchant Plugin Interface (MPI) 3D Secure SecureCode,

ACS Access Control Server, 3D Secure,
-.
HTML-, .
, . , , expiration date,
CVC.
- .
- ( , )
, - .
.
-- /, ,
.
/, ,
.
() ( ).
.
(Reversal) - .
, .
(Refund) -
() .
.

1. HTML-, CSS , .
" ".
:
1. . API.
2. . API

3d secure.

3d secure

:
1. .
2. , .
, , , URL
.
3. URL,
.
4. redirect URL, 3.
5. URL
6.

6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.

URL

3DSecure (SecureCode).
redirect ACS (
3DS)
ACS ( -)
ACS ,
ACS
ACS ( ) redirect URL
. URL
,
()
, URL (
)
.
( )

.

18 19 , .

3d secure

1. .
2. , .
, , , URL
.
3. URL,
.
4. redirect URL, 3.
5. URL
6. URL
7.
8. ( ..)
9. , URL (
)
10. .
11. ( )
12.
13.
20
( URL ), .

.
( 18-19).
.20 on-line .
( ), off-line .
(AF)

, :
2, 3 - ,
19, 20 -
11 12 - .
, .. ,
- .
, API 2 :
1.
2.
2 API:
WebService- (SOAP)
REST
: 20 .
.


1.
2.
3.
4.

.
.
.
:
REST \ web-

5. , . ,
.
6. .
7. .

8. ( 3DS-, SSL-).
9. .
10. -.

WebService-
(WSDL) , . . " "
.
,
, .
, WS-Security, userName token.
:
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-%20wssecurity-utility-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-87">
<wsse:Username>aa</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText
">123456</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>

( ) .
.
Error code ( ) = 0, ( error code
).
getOrderStatus getOrderStatusExtended.


registerOrder, WSDL . ,
.
:

merchantOrderNumber

AN..32

() ,

amount

N..20

currency

N3

ISO 4217. , 810 (


).

returnUrl

AN..512

params

description

AN..512

language

A2

ISO 639-1. , ,
(default language).

pageView

A..7

pageView - (pageView=MOBILE)
(pageView=DESKTOP).
.
, ,
pageView=DESKTOP.

clientId

AN..255

() .
. ,
.

sessionTimeoutSecs

N...9

. 1200 .
, (1200 - 20
).

* .
.**
. N ,
N Params, name , value :

name

AN..20

value

AN..1024

** orderNumber description ( 99 ,
%, +, \r \n)
:

orderId

AN..64

. . ,
, ErrorCode.

formUrl

AN..512

URL , . ,
, ErrorCode.

errorCode

N3

errorMessage

AN..512

, Language .

URL

''

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:registerOrder>
<order merchantOrderNumber="78ds901234567890" description=" " amount="15000" currency=" " language=" " pageView="MOBILE"
sessionTimeoutSecs=" ">
<!- Optional: ->
<returnUrl> http://example.ru?page=result </returnUrl>
<!- Zero or more repetitions: ->
<params name=" " value=" "/>
<!- Optional: ->
<clientId>666</clientId>
</order>
</mer:registerOrder>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:registerOrderResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return orderId="05fcbc62-7ee6-4f1a-b3d5-6ca41a982283" errorCode="0" errorMessage="">
<formUrl>
https://test.paymentgate.ru/testpayment/merchants/rbs/mobile_payment_ru.html?mdOrder=05fcbc62-7ee6-4f1a-b3d5-6ca41a982283
</formUrl>
</return>
</ns1:registerOrderResponse>
</soap:Body>
</soap:Envelope>


reverseOrder. , (
- ). .
, .
:

orderId

AN..64

. .

language

A2

ISO 639-1. , , .
.

errorCode

N3

errorMessage

AN..512

, Language .

( errorCode):

[orderId]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:reverseOrder>
<order language="ru" orderId="f88a2bbf-2021-4ccc-8783-8a13068a89f9">
<!- Zero or more repetitions: ->
<params name=" " value=" "/>
</order>
</mer:reverseOrder>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:reverseOrderResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="7" errorMessage=" "/>
</ns1:reverseOrderResponse>
</soap:Body>
</soap:Envelope>


refundOrder.

. , .
1 , .
, .
:

orderId

AN..64

. .

refundAmount

N..5

. .

language

A2

ISO 639-1. , , .
.

errorCode

N3

errorMessage

AN..512

, Language .

( errorCode):

[orderId]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:refundOrder>
<order language="ru" orderId="4302d369-a5e8-4432-a5e5-42acfab52c86" refundAmount="20000">
<!- Zero or more repetitions: ->
<params name=" " value=" "/>
</order>
</mer:refundOrder>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:refundOrderResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="7" errorMessage=" "/>
</ns1:refundOrderResponse>
</soap:Body>
</soap:Envelope>


getOrderStatus.
:

orderId

AN..64

. .

language

A2

ISO 639-1. , , .
.

orderStatus

N2

. ,
. , .

errorCode

N3

errorMessage

AN..512

, Language .

orderNumber

AN..32

()

pan

N..19

, .
.

expiration

N6

YYYYMM.
.

cardholderName

A..64

. .

amount

N..20

( )

currency

N3

ISO 4217. , 810 (


).

approvalCode

AN6

. (6 ),
.

authCode

N3

ip

NS..15

IP ,

date

ANS

orderDesctiption

AN..512

actionCodeDesctiption

AN..512

, Language .

clientId

AN..255

() ,
. .

bindingId

AN..255

.
.

bindingInfo:

OrderStatus :

( )

ACS -

( errorCode):

[orderId]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:getOrderStatus>
<order orderId="b1221b79-5703-42c9-a4b1-ed0d0f36493e" language="ru"/>
</mer:getOrderStatus>
</soapenv:Body>
</soapenv:Envelope>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getOrderStatusResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return orderStatus="2" errorCode="0" orderNumber="456789012345678" pan="411111**1111" expiration="201512"
cardholderName="Ivan" amount="15000" currency="810" approvalCode="123456" authCode="2" ip="212.5.125.194"
date="2013-09-03T16:48:52.459+04:00" orderDescription=" " actionCodeDescription=" " clientId="666"
bindingId="df0b1801-a754-4576-b174-c2485d98bc9b"/>
</ns1:getOrderStatusResponse>
</soap:Body>
</soap:Envelope>


getOrderStatusExtended.
:

orderId

AN..64

language

A2

ISO 639-1. , , .
.

merchantOrderNumber

AN..32

() .

* orderId, merchantOrderNumber. ,
orderId .
3 . , getOrderStatusExtended,
.
01, 02, 03:
getOrderStatusExtended.

orderNumber

AN..32

()

orderStatus

N2

.
,
. ,
.

actionCode

N3

actionCodeDescription

AN..512

,
Language
.

errorCode

N3

errorMessage

AN..512

,
Language .

amount

N..20

( )

currency

N3

ISO 4217.
, 810 (
).

date

ANS

orderDescription

AN..512

ip

AN..20

IP

maskedPan

N..19

,
.
.

expiration

N6


YYYYMM.
.

cardholderName

A..64

.
.

approvalCode

AN6

.
(6 ),

.
.

eci

N..4

.

.

cavv

ANS..200


.

.

xid

ANS..80


.

.

clientId

AN..255

()
,
.
.

bindingId

AN..255



.
.

cardAuthInfo ( ,
secureAuthInfo
maskedPan, expiration, cardholderName approvalCode):

secureAuthInfo ( eci
threeDSInfo, cavv xid):

bindingInfo ( clientId bindingId):

02, 03:
getOrderStatusExtended 02 , , ,
.

authDateTime

ANS

authRefNum

AN..24

Reference number

terminalId

AN..10

Id

03:
getOrderStatusExtended 03, , ,
.

approvedAmount

N..20

, (
)

depositedAmount

N..20

refundedAmount

N..20

paymentState

N2

bankName

AN..200

bankCountryCode

AN..4

bankCountryName

AN..160

- ,
language , ,
,

paymentAmountInfo (
approvedAmount, depositedAmount,
refundedAmount paymentState):

bankInfo ( bankName,
bankCountryCode bankCountryName):

OrderStatus :

( )

ACS -

( errorCode):

[orderId] [orderNumber]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:getOrderStatusExtended>
<order orderId="942e8534-ac73-4e3c-96c6-f6cc448018f7" language="en">
<!- Optional: ->
<merchantOrderNumber> </merchantOrderNumber>
</order>
</mer:getOrderStatusExtended>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getOrderStatusExtendedResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return orderNumber="0s7a84sPe49Hdsddd0134567a0" orderStatus="2" actionCode="0" actionCodeDescription="Request processed
successfully" amount="33000" currency="810" date="2013-11-13T16:51:02.785+04:00" orderDescription=" " errorCode="0"
errorMessage="Success">
<attributes name="mdOrder" value="942e8534-ac73-4e3c-96c6-f6cc448018f7"/>
<cardAuthInfo maskedPan="411111**1111" expiration="201512" cardholderName="Ivan" approvalCode="123456"/>
<authDateTime>2013-11-13T16:51:02.898+04:00</authDateTime>
<terminalId>111113</terminalId>
<authRefNum>111111111111</authRefNum>
<paymentAmountInfo paymentState="DEPOSITED" approvedAmount="33000" depositedAmount="33000" refundedAmount="0"/>
<bankInfo bankName="TEST CARD" bankCountryCode="RU" bankCountryName="Russian Federation"/>
</return>
</ns1:getOrderStatusExtendedResponse>
</soap:Body>
</soap:Envelope>

3DS
3DS verifyEnrollment.
:

pan

N12...19

errorCode

N3

errorMessage

AN..512

isEnrolled

A1

3DS. : Y, N, U.

emitterName

AN..160

-.

emitterCountryCode

AN..4

-.

( ErrorCode):

, 13 19

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:verifyEnrollment>
<pan>4111111111111111</pan>
</mer:verifyEnrollment>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:verifyEnrollmentResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return isEnrolled="Y" emitterName="TEST CARD" emitterCountryCode="RU" errorCode="0"/>
</ns1:verifyEnrollmentResponse>
</soap:Body>
</soap:Envelope>


registerOrderPreAuth. , c

.
:

merchantOrderNumber

AN..32

() ,

amount

N..20

( )

currency

N3

ISO 4217. , 810 (


).

returnUrl

AN..512


.*

params

description

AN..512

language

A2

ISO 639-1. , ,
(default language).

pageView

A..7

pageView - (pageView=MOBILE)
(pageView=DESKTOP).
.
, ,
pageView=DESKTOP.

clientId

AN..255

() .
. ,
.

sessionTimeoutSecs

N...9

. 1200 .
, (1200 - 20
).

* .
. **
. N ,
N Params, name , value :

name

AN..20

value

AN..1024

** orderNumber description ( 99 ,
%, +, \r \n)
:

orderId

AN..64

. . ,
, ErrorCode.

formUrl

AN..512

URL , . ,
, ErrorCode.

errorCode

N3

errorMessage

AN..512

, Language .

( errorCode):

URL

''

( )

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:registerOrderPreAuth>
<order merchantOrderNumber="asuaakdfadsfasdfasdd5" description=" " amount="10000" currency=" " language="ru"
pageView="DESKTOP" sessionTimeoutSecs=" ">
<!- Optional: ->
<returnUrl> http://ya.ru </returnUrl>
<!- Zero or more repetitions: ->
<params name=" " value=" "/>
<!- Optional: ->
<clientId>7777</clientId>
</order>
</mer:registerOrderPreAuth>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:registerOrderPreAuthResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return orderId="5e5dc6bd-dee3-4c96-849a-09f3f575f4b6" errorCode="0" errorMessage="">
<formUrl>
https://test.paymentgate.ru/testpayment/merchants/rbs/payment_ru.html?mdOrder=5e5dc6bd-dee3-4c96-849a-09f3f575f4b6 </formUrl>
</return>
</ns1:registerOrderPreAuthResponse>
</soap:Body>
</soap:Envelope>


depositOrder. ,
.
:

orderId

AN..64

. .

depositAmount

N..5

. .
1 .

language

A2

ISO 639-1. , , .
.

errorCode

N3

errorMessage

AN..512

, Language .

!!! "amount", .

( errorCode):

[orderId]

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="


http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:depositOrder>
<order language="ru" orderId="4302d369-a5e8-4432-a5e5-42acfab52c86" depositAmount="30000">
<!- Zero or more repetitions: ->
<params name="?" value="?"/>
</order>
</mer:depositOrder>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:depositOrderResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="6" errorMessage=" "/>
</ns1:depositOrderResponse>
</soap:Body>
</soap:Envelope>


reverseOrder. -,
. , ( - ).
.
.
:

orderId

AN..64

. .

language

A2

ISO 639-1. , , .
.

errorCode

N3

errorMessage

AN..512

, Language .

( errorCode):

[orderId]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:reverseOrder>
<order language="ru" orderId="f88a2bbf-2021-4ccc-8783-8a13068a89f9">
<!- Zero or more repetitions: ->
<params name=" " value=" "/>
</order>
</mer:reverseOrder>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:reverseOrderResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="7" errorMessage=" "/>
</ns1:reverseOrderResponse>
</soap:Body>
</soap:Envelope>


refundOrder.
. , .
1 , .
, .
:

orderId

AN..64

. .

refundAmount

N..5

. .

language

A2

ISO 639-1. , , .
.

errorCode

N3

errorMessage

AN..512

, Language .

( errorCode):

[orderId]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:refundOrder>
<order language="ru" orderId="4302d369-a5e8-4432-a5e5-42acfab52c86" refundAmount="20000">
<!- Zero or more repetitions: ->
<params name=" " value=" "/>
</order>
</mer:refundOrder>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:refundOrderResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="7" errorMessage=" "/>
</ns1:refundOrderResponse>
</soap:Body>
</soap:Envelope>


getOrderStatus.
:

orderId

AN..64

. .

language

A2

ISO 639-1. , , .
.

orderStatus

N2

. ,
. , .

errorCode

N3

errorMessage

AN..512

, Language .

orderNumber

AN..32

()

pan

N..19

, .
.

expiration

N6

YYYYMM.
.

cardholderName

A..64

. .

amount

N..20

( )

currency

N3

ISO 4217. , 810 (


).

approvalCode

AN6

. (6 ),
.

authCode

N3

ip

NS..15

IP ,

date

ANS

orderDesctiption

AN..512

actionCodeDesctiption

AN..512

, Language .

clientId

AN..255

() ,
. .

bindingId

AN..255

.
.

bindingInfo:

OrderStatus :

( )

ACS -

( errorCode):

[orderId]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:getOrderStatus>
<order orderId="b1221b79-5703-42c9-a4b1-ed0d0f36493e" language="ru"/>
</mer:getOrderStatus>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getOrderStatusResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return orderStatus="2" errorCode="0" orderNumber="456789012345678" pan="411111**1111" expiration="201512"
cardholderName="Ivan" amount="15000" currency="810" approvalCode="123456" authCode="2" ip="212.5.125.194"
date="2013-09-03T16:48:52.459+04:00" orderDescription=" " actionCodeDescription=" " clientId="666"
bindingId="df0b1801-a754-4576-b174-c2485d98bc9b"/>
</ns1:getOrderStatusResponse>
</soap:Body>
</soap:Envelope>


getOrderStatusExtended.

orderId

AN..64

language

A2

ISO 639-1. , , .
.

merchantOrderNumber

AN..32

() .

* orderId, merchantOrderNumber. ,
orderId .
3 . , getOrderStatusExtended,
.
01, 02, 03:
getOrderStatusExtended.

orderNumber

AN..32

()

orderStatus

N2

.
,
. ,
.

actionCode

N3

actionCodeDescription

AN..512

,
Language
.

errorCode

N3

errorMessage

AN..512

,
Language .

amount

N..20

( )

currency

N3

ISO 4217.
, 810 (
).

date

ANS

orderDescription

AN..512

ip

AN..20

IP

maskedPan

N..19

,
.
.

expiration

N6


YYYYMM.
.

cardholderName

A..64

.
.

cardAuthInfo ( ,
secureAuthInfo
maskedPan, expiration, cardholderName approvalCode):

approvalCode

AN6

.
(6 ),

.
.

eci

N..4

.

.

cavv

ANS..200


.

.

xid

ANS..80


.

.

clientId

AN..255

()
,
.
.

bindingId

AN..255



.
.

secureAuthInfo ( eci
threeDSInfo, cavv xid):

bindingInfo ( clientId bindingId):

02, 03:
getOrderStatusExtended 02 , , ,
.

authDateTime

ANS

authRefNum

AN..24

Reference number

terminalId

AN..10

Id

03:
getOrderStatusExtended 03, , ,
.

approvedAmount

N..20

, (
)

depositedAmount

N..20

refundedAmount

N..20

paymentAmountInfo (
approvedAmount, depositedAmount,
refundedAmount paymentState):

paymentState

N2

bankName

AN..200

bankCountryCode

AN..4

bankCountryName

AN..160

- ,
language , ,
,

bankInfo ( bankName,
bankCountryCode bankCountryName):

OrderStatus :

( )

ACS -

( errorCode):

[orderId] [orderNumber]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:getOrderStatusExtended>
<order orderId="942e8534-ac73-4e3c-96c6-f6cc448018f7" language="en">
<!- Optional: ->
<merchantOrderNumber> </merchantOrderNumber>
</order>
</mer:getOrderStatusExtended>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getOrderStatusExtendedResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return orderNumber="0s7a84sPe49Hdsddd0134567a0" orderStatus="2" actionCode="0" actionCodeDescription="Request processed
successfully" amount="33000" currency="810" date="2013-11-13T16:51:02.785+04:00" orderDescription=" " errorCode="0"
errorMessage="Success">
<attributes name="mdOrder" value="942e8534-ac73-4e3c-96c6-f6cc448018f7"/>
<cardAuthInfo maskedPan="411111**1111" expiration="201512" cardholderName="Ivan" approvalCode="123456"/>
<authDateTime>2013-11-13T16:51:02.898+04:00</authDateTime>
<terminalId>111113</terminalId>
<authRefNum>111111111111</authRefNum>
<paymentAmountInfo paymentState="DEPOSITED" approvedAmount="33000" depositedAmount="33000" refundedAmount="0"/>
<bankInfo bankName="TEST CARD" bankCountryCode="RU" bankCountryName="Russian Federation"/>
</return>
</ns1:getOrderStatusExtendedResponse>
</soap:Body>
</soap:Envelope>

3DS
3DS verifyEnrollment.

pan

N12...19

errorCode

N3

errorMessage

AN..512

isEnrolled

A1

3DS. : Y, N, U.

emitterName

AN..160

-.

emitterCountryCode

AN..4

-.

( ErrorCode):

, 13 19

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="
http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:verifyEnrollment>
<pan>4111111111111111</pan>
</mer:verifyEnrollment>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:verifyEnrollmentResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return isEnrolled="Y" emitterName="TEST CARD" emitterCountryCode="RU" errorCode="0"/>
</ns1:verifyEnrollmentResponse>
</soap:Body>
</soap:Envelope>

REST
HTTP GET POST URL, - (.
" "). GET POST , URL
(.. url encoded).
JSON . :
{"errorCode":"12","errorMessage":"Empty amount"}
,
, .
:

userName

AN..30

password

AN..30

( ) .
.
(UTF-8).
- REST URL-. :
http://web-developer.name/urlcode/. , "qwe?rt%y" "qwe%0Frt%25y".
error code ( ) = 0, ( error code
).

getOrderStatus getOrderStatusExtended.

,

register (. " ").
.
:

userName

AN..30

password

AN..30

orderNumber

AN..32

() ,

amount

N..20

( )

currency

N3

ISO 4217. , 810 (


).

returnUrl

AN..512

description

AN..1024

language

A2

ISO 639-1. , ,
(default language)

pageView

A..7

pageView - (pageView=MOBILE)
(pageView=DESKTOP).
.
, ,
pageView=DESKTOP.

clientId

AN..255

() .
. , .

jsonParams

AN..1024

,
{"param":value,"param2":value 2}.
.*
.

sessionTimeoutSecs

N...9

. 1200 .
, (1200 - 20
).

* orderNumber description ( 99 ,
%, +, \r \n)
:

orderId

AN..64

. .
, ErrorCode.

formUrl

AN..512

URL , .
, ErrorCode.

errorCode

N3

errorMessage

AN..512

, Language .

( errorCode):
:

()

URL

''

[jsonParams]

: 4 ( ) ,
: , , , , URL , .
GET:
https://test.paymentgate.ru/testpayment/rest/register.do?
amount=100&currency=810&language=ru&orderNumber=87654321&password=testPwd&
returnUrl=finish.html%3Flogin%3Dtest%26password%3DtestPwd&
userName=test&jsonParams={"orderNumber":1234567890}&pageView=DESKTOP
POST:

amount=100&currency=810&language=ru&orderNumber=87654321&password=testPwd&
returnUrl=finish.html%3Flogin%3Dtest%26password%3DtestPwd&
userName=test&jsonParams={"orderNumber":1234567890}&pageView=DESKTOP
:
{"orderId":"70906e55-7114-41d6-8332-4609dc6590f4","formUrl":
"https://test.paymentgate.ru/testpayment/merchants/test/payment_ru.html?
mdOrder=70906e55-7114-41d6-8332-4609dc6590f4"}


reverse.
, .
:

userName

AN..30

password

AN..30

orderId

AN..64

. .

errorCode

N3

errorMessage

AN..512

( errorCode):
:

OrderId

[orderId]

. : , ,

GET:
https://test.paymentgate.ru/testpayment/rest/reverse.do?
amount=100&currency=810&language=ru&orderId=e5b59d3d-746b-4828-9da4-06f126e01b68&
password=testPwd&userName=testtest
POST:
amount=100&currency=810&language=ru&orderId=e5b59d3d-746b-4828-9da4-06f126e01b68&
password=testPwd&userName=testtest
:
{"errorCode":0}


refund.
, .
:

userName

AN..30

password

AN..30

orderId

AN..64

. .

amount

N..20

( )

errorCode

N3

errorMessage

AN..512

( errorCode):
:

OrderId

[orderId]

( )

GET:
https://test.paymentgate.ru/testpayment/rest/refund.do?
amount=500&currency=810&language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208&
password=testPwd&userName=testtest
POST:
amount=500&currency=810&language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208&
password=testPwd&userName=testtest
:
{"errorCode":0}


getOrderStatus.
.
:

userName

AN..30

password

AN..30

orderId

AN..64

. .

language

A2

ISO 639-1. , , .
.

OrderStatus

N2

. , .
, .

ErrorCode

N3

ErrorMessage

AN..512

, Language .

OrderNumber

AN..32

()

Pan

N..19

, .
.

expiration

N6

YYYYMM. .

cardholderName

A..64

. .

Amount

N..20

( )

currency

N3

ISO 4217. , 810 ( ).

approvalCode

AN6

. (6 ),
.

authCode

N3

ip

AN..20

IP ,

clientId

AN..255

() , .
.

bindingId

AN..255

.
.

BindingInfo:

OrderStatus :

( )

ACS -

( ErrorCode):

[orderId]

OrderId

GET:
https://test.paymentgate.ru/testpayment/rest/getOrderStatus.do?
language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208&
password=testPwd&userName=testtest
POST:

language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208&
password=testPwd&userName=testtest
:
{"expiration":"201512","approvalCode":"000000","Pan":"123456**6740",
"Amount":1000,"cardholderName":"yrey rgre","OrderStatus":4,"authCode":2,
"OrderNumber":"132353464","depositAmount":500,"Ip":"127.0.0.1"}


getOrderStatusExtended.
:

userName

AN..30

password

AN..30

orderId

AN..64

. .

orderNumber

AN..32

() .

language

A2

ISO 639-1. , , .
.

* orderId, orderNumber. ,
orderId.

3 . , getOrderStatusExtended,
.

01, 02, 03:


getOrderStatusExtended.

orderNumber

AN..32

()

orderStatus

N2

.
,
. ,

actionCode

N3

actionCodeDescription

AN..512

,
Language

errorCode

N3

errorMessage

AN..512

,
Language

amount

N..20

( )

currency

N3

ISO 4217.
, 810 (
)

date

ANS

orderDescription

AN..512

ip

N..

IP

pan

N..19

,
.

expiration

N6


YYYYMM.

cardholderName

A..64

approvalCode

AN6

.
(6 ),
.
.

eci

N..4

cavv

ANS..200

xid

ANS..80

clientId

AN..255

()
,
.

bindingId

AN..255

cardAuthInfo ( ,
secureAuthInfo pan,
expiration, cardholderName approvalCode):

secureAuthInfo ( eci
threeDSInfo, cavv xid):

BindingInfo ( clientId bindingId):

02, 03:
getOrderStatusExtended 02 , , ,
.

authDateTime

ANS

authRefNum

AN..24

Reference number

terminalId

AN..10

Id

03:
getOrderStatusExtended 03, , ,
.

approvedAmount

N..20

, (
)

depositedAmount

N..20

refundedAmount

N..20

paymentState

N2

bankName

AN..200

bankCountryCode

AN..4

bankCountryName

AN..160

- ,
language , ,
,

paymentAmountInfo (
approvedAmount, depositedAmount,
refundedAmount paymentState):

bankInfo ( bankName,
bankCountryCode bankCountryName):

OrderStatus :

( )

ACS -

( errorCode):

[orderId] [orderNumber]

OrderId

GET:
https://test.paymentgate.ru/testpayment/rest/getOrderStatusExtended.do?
userName=login&password=password&orderId=b9054496-c65a-4975-9418-1051d101f1b9&language=ru&
merchantOrderNumber=0784sse49d0s134567890

POST:
userName=login&password=password&orderId=b9054496-c65a-4975-9418-1051d101f1b9&language=ru&
merchantOrderNumber=0784sse49d0s134567890

{"errorCode":"0","errorMessage":"","orderNumber":"0784sse49d0s134567890","orderStatus":6,
"actionCode":-2007,"actionCodeDescription":" ","amount":33000,"currency":"810",
"date":1383819429914,"orderDescription":" ",
"merchantOrderParams":[{"name":"email","value":"yap"}],
"attributes":[{"name":"mdOrder","value":"b9054496-c65a-4975-9418-1051d101f1b9"}],
"cardAuthInfo":{"expiration":"201912","cardholderName":"Ivan",
"secureAuthInfo":{"eci":6,"threeDSInfo":{"xid":"MDAwMDAwMDEzODM4MTk0MzAzMjM="}},
"pan":"411111**1111"},"terminalId":"333333"}

3DS
3DS verifyEnrollment.
:

userName

AN..30

(API)

password

AN..30

(API)

pan

N12...19

errorCode

N3

errorMessage

AN..512

isEnrolled

A1

3DS. : Y, N, U.

emitterName

AN..160

-.

emitterCountryCode

AN..4

-.

( errorCode):
:

, 13 19

GET:
https://test.paymentgate.ru/testpayment/rest/verifyEnrollment.do?
userName=api&password=***&pan=4111111111111111
POST:
userName=api&password=***&pan=4111111111111111
:
{"errorCode":"0","errorMessage":"","emitterName":"TEST CARD",
"emitterCountryCode":"RU","enrolled":"Y"}

,
c
registerPreAuth (. " ").
.
:

userName

AN..30

password

AN..30

orderNumber

AN..32

() ,

amount

N..20

( )

currency

N3

ISO 4217. , 810 (


).

returnUrl

AN..512

description

AN..1024

language

A2

ISO 639-1. , ,
(default language)

pageView

A..7

pageView - (pageView=MOBILE)
(pageView=DESKTOP).
.
, ,
pageView=DESKTOP.

clientId

AN..255

() .
. , .

jsonParams

AN..1024

,
{"param":value,"param2":value 2}.
.*
.

sessionTimeoutSecs

N...9

. 1200 .
, (1200 - 20
).

* orderNumber description ( 99 ,
%, +, \r \n)
:

orderId

AN..64

. .
, ErrorCode.

formUrl

AN..512

URL , .
, ErrorCode.

errorCode

N3

errorMessage

AN..512

, Language .

( errorCode):
:

()

URL

''

[jsonParams]

: 4 ( ) ,
: , , , , URL , .

GET:
https://test.paymentgate.ru/testpayment/rest/registerPreAuth.do?
amount=100&currency=810&language=ru&orderNumber=87654321&password=testPwd&
returnUrl=finish.html%3Flogin%3Dtest%26password%3DtestPwd&userName=test&pageView=MOBILE

POST:
amount=100&currency=810&language=ru&orderNumber=87654321&password=testPwd&
returnUrl=finish.html%3Flogin%3Dtest%26password%3DtestPwd&userName=test&pageView=MOBILE

:
{"orderId":"61351fbd-ac25-484f-b930-4d0ce4101ab7","formUrl":
"https://test.paymentgate.ru/testpayment/merchants/test/mobile_payment_ru.html?
mdOrder=61351fbd-ac25-484f-b930-4d0ce4101ab7"}

o o

deposit.do
, .

userName

AN..30

password

AN..30

orderId

AN..64

. .

amount

N..20

( )

!!! "amount" , .

errorCode

N3

errorMessage

AN..512

( ErrorCode):

OrderId

GET:
https://test.paymentgate.ru/testpayment/rest/deposit.do?
amount=100&currency=810&language=ru&orderId=e5b59d3d-746b-4828-9da4-06f126e01b68&
password=testPwd&userName=testtest

POST:
amount=100&currency=810&language=ru&orderId=e5b59d3d-746b-4828-9da4-06f126e01b68&
password=testPwd&userName=testtest

:
{"errorCode":0}


reverse.
, .

userName

AN..30

password

AN..30

orderId

AN..64

. .

errorCode

N3

errorMessage

AN..512

( ErrorCode):
:

OrderId

[orderId]

. : , ,

GET:
https://test.paymentgate.ru/testpayment/rest/reverse.do?
amount=100&currency=810&language=ru&orderId=e5b59d3d-746b-4828-9da4-06f126e01b68&
password=testPwd&userName=testtest

POST:
amount=100&currency=810&language=ru&orderId=e5b59d3d-746b-4828-9da4-06f126e01b68&
password=testPwd&userName=testtest

:
{"errorCode":0}


refund.
, .
:

userName

AN..30

password

AN..30

orderId

AN..64

. .

amount

N..20

( )

errorCode

N3

errorMessage

AN..512

( ErrorCode):
:

OrderId

[orderId]

( )

GET:
https://test.paymentgate.ru/testpayment/rest/refund.do?
amount=500&currency=810&language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208&
password=testPwd&userName=testtest }
POST:
{amount=500&currency=810&language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208&
password=testPwd&userName=testtest |
:
{"errorCode":0}


GetOrderStatus.
.
:

userName

AN..30

password

AN..30

orderId

AN..64

. .

language

A2

ISO 639-1. , , .
.

OrderStatus

N2

. , .
, .

ErrorCode

N3

ErrorMessage

AN..512

, Language .

OrderNumber

AN..32

()

Pan

N..19

, .
.

expiration

N6

YYYYMM. .

cardholderName

A..64

. .

Amount

N..20

( )

currency

N3

ISO 4217. , 810 ( ).

approvalCode

AN6

. (6 ),
.

authCode

N3

Ip

AN..20

IP ,

clientId

AN..255

() , .
.

bindingId

AN..255

.
.

BindingInfo:

OrderStatus :

( )

ACS -

( ErrorCode):

[orderId]

OrderId

GET:
https://test.paymentgate.ru/testpayment/rest/getOrderStatus.do?
language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208
&password=testPwd&userName=testtest
POST:
language=ru&orderId=5e97e3fd-1d20-4b4b-a542-f5995f5e8208
&password=testPwd&userName=testtest
:
{"expiration":"201512","approvalCode":"000000","Pan":"123456**6740",
"Amount":1000,"cardholderName":"yrey rgre","OrderStatus":4,"authCode":2,
"OrderNumber":"132353464","depositAmount":500,"Ip":"127.0.0.1"}


getOrderStatusExtended.
:

userName

AN..30

password

AN..30

orderId

AN..64

. .

orderNumber

AN..32

() .

language

A2

ISO 639-1. , , .
.

* orderId, orderNumber. ,
orderId.

3 . , getOrderStatusExtended,
.

01, 02, 03:


getOrderStatusExtended.

orderNumber

AN..32

()

orderStatus

N2

.
,
. ,

actionCode

N3

actionCodeDescription

AN..512

,
Language

errorCode

N3

errorMessage

AN..512

,
Language

amount

N..20

( )

currency

N3

ISO 4217.
, 810 (
)

date

ANS

orderDescription

AN..512

ip

N..

IP

pan

N..19

,
.

expiration

N6


YYYYMM.

cardholderName

A..64

approvalCode

AN6

.
(6 ),
.
.

eci

N..4

cavv

ANS..200

cardAuthInfo ( ,
secureAuthInfo pan,
expiration, cardholderName approvalCode):

secureAuthInfo ( eci
threeDSInfo, cavv xid):

xid

ANS..80

clientId

AN..255

()
,
.

bindingId

AN..255

BindingInfo ( clientId bindingId):

02, 03:
getOrderStatusExtended 02 , , ,
.

authDateTime

ANS

authRefNum

AN..24

Reference number

terminalId

AN..10

Id

03:
getOrderStatusExtended 03, , ,
.

approvedAmount

N..20

, (
)

depositedAmount

N..20

refundedAmount

N..20

paymentState

N2

bankName

AN..200

bankCountryCode

AN..4

bankCountryName

AN..160

- ,
language , ,
,

paymentAmountInfo (
approvedAmount, depositedAmount,
refundedAmount paymentState):

bankInfo ( bankName,
bankCountryCode bankCountryName):

OrderStatus :

( )

ACS -

( errorCode):

[orderId] [orderNumber]

OrderId

GET:
https://test.paymentgate.ru/testpayment/rest/getOrderStatusExtended.do?
userName=login&password=password&orderId=b9054496-c65a-4975-9418-1051d101f1b9&language=ru&
merchantOrderNumber=0784sse49d0s134567890

POST:
userName=login&password=password&orderId=b9054496-c65a-4975-9418-1051d101f1b9&language=ru&
merchantOrderNumber=0784sse49d0s134567890

{"errorCode":"0","errorMessage":"","orderNumber":"0784sse49d0s134567890","orderStatus":6,
"actionCode":-2007,"actionCodeDescription":" ","amount":33000,"currency":"810",
"date":1383819429914,"orderDescription":" ",
"merchantOrderParams":[{"name":"email","value":"yap"}],
"attributes":[{"name":"mdOrder","value":"b9054496-c65a-4975-9418-1051d101f1b9"}],
"cardAuthInfo":{"expiration":"201912","cardholderName":"Ivan",
"secureAuthInfo":{"eci":6,"threeDSInfo":{"xid":"MDAwMDAwMDEzODM4MTk0MzAzMjM="}},
"pan":"411111**1111"},"terminalId":"333333"}

3DS
3DS verifyEnrollment.
:

userName

AN..30

(API)

password

AN..30

(API)

pan

N12...19

errorCode

N3

errorMessage

AN..512

isEnrolled

A1

3DS. : Y, N, U.

emitterName

AN..160

-.

emitterCountryCode

AN..4

-.

( errorCode):

, 13 19

GET:
https://test.paymentgate.ru/testpayment/rest/verifyEnrollment.do?
userName=api&password=***&pan=4111111111111111

POST:
userName=api&password=***&pan=4111111111111111
:
{"errorCode":"0","errorMessage":"","emitterName":"TEST CARD",
"emitterCountryCode":"RU","enrolled":"Y"}

Callback-
, .

:
:
(DEPOSITED);
(REVERSED);
(REFUNDED).
:

(APPROVED);
(DEPOSITED);
(REVERSED);
(REFUNDED) .

URL, callback:

id

ANS36

. .

merchantOrder

AN..32

() ,

operation

N..9

:
approved - ;
deposited - ;
reversed - ;
refunded - .

status

N1

, operation (1 - , 0 )

URL:


zip-,
js-, css- . .

7-zip.


xhtml-, DTD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- (, , ).
, (http:host/images/test.jpg - ,
images/test.jpg - ).
*!!!!!!!!! * XHTML - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ,
.
:
payment_<locale>.html
errors_<locale>.html
locale - ISO 639-1, ru en .
, :
mobile_payment_<locale>.html ;
mobile_errors_<locale>.html .
locale - ISO 639-1, ru en .
, , , pageView
(. " " " ")
( , ) (UTF-8).


,
.


payment_<ln>.html,
- mobile_payment_<ln>.html,
<ln> - ISO 639-1 (, ru , en - ).


:
:
<script type="text/javascript" src="../../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery.timers-1.2.js"></script>
<script type="text/javascript" src="../../js/jquery.url.js"></script>
<script type="text/javascript" src="../../js/jquery.payment.js"></script>
<script>
$(document).payment({
});
</script>

:
<script type="text/javascript" src="../../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery.timers-1.2.js"></script>
<script type="text/javascript" src="../../js/jquery.url.js"></script>
<script type="text/javascript" src="../../js/jquery.payment.js"></script>
<script>
$(document).payment({
language: "ru",
messageAjaxError: " . .",
messageTimeRemaining: " #MIN#:#SEC#",
visualValidationEnabled: true
});
</script>
:
language ,
messageAjaxError Ajax ( )
messageTimeRemaining . #MIN#
#SEC#, , .
visualValidationEnabled - / . true -
, - . false (
), - .


, , ,
.

<div id="orderNumber"></div>
,

<div id="amount"></div>
,

<div id="description"></div>
,


:
<form name="PaymentForm" action="#" method="post" id="formPayment">
<input type="hidden"
<input type="hidden"
<input type="hidden"
<input type="hidden"
</form>

id="expiry" >
id="mdOrder" >
id="location" value="/../" >
id="language" value="<ln>" >

hidden- . language .
:

<input name="$PAN" id="iPAN" maxlength="19" type="text" autocomplete="off" />


<select name="MM" id="month">


<option value="01" selected> 1 - </option>
<option value="02"> 2 - </option>
<option value="03"> 3 - </option>
<option value="04"> 4 - </option>
<option value="05"> 5 - </option>
<option value="06"> 6 - </option>
<option value="07"> 7 - </option>
<option value="08"> 8 - </option>
<option value="09"> 9 - </option>
<option value="10">10 - </option>
<option value="11">11 - </option>
<option value="12">12 - </option>
</select> /
<select name="YYYY" id="year">
<option value='2012' selected>2012</option>
<option value='2013'>2013</option>
<option value='2014'>2014</option>
<option value='2015'>2015</option>
<option value='2016'>2016</option>
<option value='2017'>2017</option>
<option value='2018'>2018</option>
<option value='2019'>2019</option>
<option value='2020'>2020</option>
<option value='2021'>2021</option>
<option value='2022'>2022</option>
</select>
( )

<input name="TEXT" id="iTEXT" maxlength="90" type="text" autocomplete="off" />


(Cardholder name)

<input name="$CVC" id="iCVC" maxlength="3" type="password" autocomplete="off" />


cvc/cvv/cid -

<input value="" type="button" id="buttonPayment">


.

, :
<form id="acs" method="post" action="">
<input type="hidden" id="MD" name="MD"/>
<input type="hidden" id="PaReq" name="PaReq"/>
<input type="hidden" id="TermUrl" name="TermUrl"/>
</form>

<div id="errorBlock" style="color:red;"></div>


, (, )

<div id="numberCountdown"></div>
, , .

<div id="infoBlock"></div>
, .

<div id="indicator" style="display:none;"><img src="../../img/ajax-loader.gif" height="19" width="220" alt="indicator"></div>


, (
)

:
-
-
- ( description)


errors_<ln>.html,
mobile_errors_<ln>.html,
<ln> - (, ru , en - , ISO 639-1).


:
<script type="text/javascript" src="../../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery.timers-1.2.js"></script>
<script type="text/javascript" src="../../js/jquery.url.js"></script>
<script type="text/javascript" src="../../js/error_page.js"></script>
<script type="text/javascript">
var lang = "<ln>";
</script>

<ln> - (, ru , en - , ISO 639-1).


, , .
:
<form name="errorForm" action="#" method="post" id="errorForm">
<input type="hidden" id="language" value="<ln>" type="hidden">
</form>
<ln> - (, ru , en - , ISO 639-1).
, (, ,
).
<div id="errorBlock" style="color:red;"></div>


, , ,
.
(WSDL) https://test.paymentgate.ru/testpayment/webservices/merchant-ws?wsdl.
URL REST:

URL

https://test.paymentgate.ru/testpayment/rest/register.do

https://test.paymentgate.ru/testpayment/rest/registerPreAuth.do

https://test.paymentgate.ru/testpayment/rest/deposit.do

https://test.paymentgate.ru/testpayment/rest/reverse.do

https://test.paymentgate.ru/testpayment/rest/refund.do

https://test.paymentgate.ru/testpayment/rest/getOrderStatus.do

https://test.paymentgate.ru/testpayment/rest/getOrderStatusExtended.do

3DS

https://test.paymentgate.ru/testpayment/rest/verifyEnrollment.do

https://test.paymentgate.ru/testpayment/rest/paymentOrderBinding.do

https://test.paymentgate.ru/testpayment/rest/unBindCard.do

https://test.paymentgate.ru/testpayment/rest/bindCard.do

https://test.paymentgate.ru/testpayment/rest/getBindings.do


Cardholder name 2 . , 3d Secure (veres=y, pares=y a
) ACS 12345678. /
Use two or more words in Roman letters as the name of the cardholder. For cards involeved into 3d Secure ( veres=y, pares=y or a) ACS code is
12345678:

pan: 4111 1111 1111 1111


exp date: 2015/12
cvv2: 123
3dsecure: veres=y, pares=y
pan: 5100 0000 0000 0008
exp date: 2015/08
cvv2: 123
3dsecure: veres=y, pares=y
pan: 6011 0000 0000 0004
exp date: 2015/12
cvv2: 123
3dsecure: veres=y, pares=y
pan: 6390 0200 0000 000003
exp date: 2015/12
cvv2: 123( )
3dsecure: veres=y, pares=a
pan: 5555 5555 5555 5599
exp date: 2015/12
cvv2: 123
3dsecure: veres=n
pan: 4444 0000 0000 1111
exp date: 2015/12
cvv2: 123
3dsecure: veres=n

, /
Cards returning errors:

pan: 5555 5555 5555 5557


exp date: 2015/12
cvv2: 123
3dsecure: veres=y, pares=u

pan: 4444 3333 2222 1111


exp date: 2015/12
cvv2: 123
3dsecure: veres=y, pares=u
Declined. PaRes status is U (-2011)

pan: 4000 0000 0000 0002


exp date: 2015/12
cvv2: 123
3dsecure: veres=u

pan: 5555 5555 4444 4442


exp date: 2015/12
cvv2: 123
3dsecure: veres=u
Declined. VeRes status is U (-2016)

pan: 4444 4444 4444 4422


exp date: 2015/12
cvv2: 123
Invalid message format (913)

pan: 4444 4444 4444 4455


exp date: 2015/12
cvv2: 123
Card limitations exceeded (902)

pan: 4444 4444 4444 3333


exp date: 2015/12
cvv2: 123
Limit exceeded (123)

pan: 4444 4444 4444 6666


exp date: 2015/12
cvv2: 123
BLOCKED_BY_LIMIT (-20010)

pan: 4444 4444 1111 1111


exp date: 2015/12
cvv2: 123
Network refused transaction (5)

pan: 4444 4444 9999 9999


exp date: 2015/12
cvv2: 123
TDSEC_COMM_ERROR (151017)

pan: 5432 5432 5432 5430


exp date: 2018/08
cvv2: 521
INSUFFICIENT_FUNDS (116)

1.
1
2 .
3
3.1 , WebService-
3.1.1
3.1.2
3.1.3
3.1.4
3.2 , REST
3.2.1
3.2.2
3.2.3
3.2.4


id (, ). 2
: .
, ,
id,
, CVC/ CVV.
( ) , , id .
.

.
,
.
:
id="formBinding".
- CSS "display: none;".
name="bindingId".
: <option value="" selected="selected"></option>,
, .
VC/CVV name="cvc".
"": <input value="" type="button" id="buttonBindingPayment">
id="buttonBindingPayment".
CVC/CVV "" class="rbs_hidden".
, CSS "display:
none;".
:

<form action="" id="formBinding" style="display: none;">


<table cellpadding="10">
<tbody>
<tr valign="TOP">
<td valign="top" width="50%" align="right">
<span> :</span>
</td>
<td valign="top">
<select name="bindingId">
<option value="" selected="selected"></option>
</select>
</td>
</tr>
<tr class="rbs_hidden">
<td align="right">
<span> CVC2/CVV2/CID :</span><br>( )
</td>
<td>
<input name="cvc" maxlength="4" type="password" autocomplete="off" />
</td>
</tr>
<tr class="rbs_hidden">
<td> </td>
<td valign="top" >
<input value="" type="button" id="buttonBindingPayment">
</td>
</tr>
</tbody>
</table>
</form>


, WebService-

paymentOrderBinding.
:

mdOrder

ANS36

. .

bindingId

ANS36

.
.

.*

params
language

A2

ISO 639-1. , ,
(default language)

ip

NS..15

ip

cvc

N4

CVC.
, "
CVC".

email

ANS..*

Email

* .
.**
. N ,

N Params, name , value :

name

AN..20

value

AN..1024

** orderNumber description ( 99 ,
%, +, \r \n)
:

redirect

ANS..*

URL ( SSL)/URL ACS ( 3DS)

info

ANS..*

errorCode

N1

errorMessage

ANS..*

( )

acsUrl

ANS..*

( 3DS )

URL ACS

paReq

ANS..*

( 3DS )

Payment Authentication Request

( errorCode):

CVC2/CVV2 , CVC

CVC

[mdOrder]

[bindingId]

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="


http://engine.paymentgate.ru/webservices/merchanthttp://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:paymentOrderBinding>
<order mdOrder="9213bc5f-5d5b-43d6-a408-b6b93cdde992" bindingId="ca91a4ab-b6d4-495d-b606-8fb0114e679e" language="ru"
ip="127.0.0.1" cvc="123" email=" ">
<!-Zero or more repetitions:->
<params name=" " value=" "/>
</order>
</mer:paymentOrderBinding>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:paymentOrderBindingResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant
http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="0" info=" , ..." redirect="
http://example.ru?orderId=9213bc5f-5d5b-43d6-a408-b6b93cdde992"/http://example.ru?orderId=9213bc5f-5d5b-43d6-a408-b6b93cdde992"/
>
</ns1:paymentOrderBindingResponse>
</soap:Body>
</soap:Envelope>


, , unBindCard.
:

bindingId

ANS36

errorCode

N1

errorMessage

ANS..*

( )

( errorCode):

( )

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:mer="http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:unBindCard>
<bindingId>fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc</bindingId>
</mer:unBindCard>
</soapenv:Body>
</soapenv:Envelope>
:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:unBindCardResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant
http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="0" errorMessage=""/>
</ns1:unBindCardResponse>
</soap:Body>
</soap:Envelope>


bindCard.
:

bindingId

ANS36

errorCode

N1

errorMessage

ANS..*

( )

( errorCode):

( )

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:mer="http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:bindCard>
<bindingId>fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc</bindingId>
</mer:bindCard>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:bindCardResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="5" errorMessage=" "/>
</ns1:bindCardResponse>
</soap:Body>
</soap:Envelope>


getBindings.
:

clientId

AN..255

() , .
.

errorCode

N1

errorMessage

ANS..*

(
)

bindingId

AN..255


.
.

maskedPan

N..19

, .
.

expiryDate

N6

YYYYMM.
.

binding (
bindingId, maskedPan
expiryDate):

( errorCode):

[clientId]

:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:mer="http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:getBindings>
<request clientId="client"/>
</mer:getBindings>
</soapenv:Body>
</soapenv:Envelope>

:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getBindingsResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="0" errorMessage="">
<bindings>
<binding bindingId="fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc" maskedPan="4000 00** **** **02" expiryDate="201512"/>
</bindings>
</return>
</ns1:getBindingsResponse>
</soap:Body>
</soap:Envelope>

, REST

paymentOrderBinding (. " ").
:

userName

AN..30

password

AN..30

mdOrder

AN..64

. .

bindingId

AN..255

.
.

cvc

N..3

CVC .
, "
CVC".

language

A2

ISO 639-1. , ,
(default language)

redirect

ANS..*

( SSL )

URL,

info

ANS..*

success

N1

error

AN..*

( )

acsUrl

ANS..*

( 3DS )

URL ACS

paReq

ANS..*

( 3DS )

Payment Authentication Request

termUrl

ANS..*

( 3DS )

URL ACS

( success):

CVC2/CVV2, CVC

CVC

, ,

POST:
userName=username&mdOrder=65401edc-3fa1-4112-87fd-a569ca69fb6a&
bindingId=41954212-70a7-4eae-8430-90c1a87beda7&password=testPwd
:
{"info":" , ...","redirect":"finish.html?login=username&
password=testPwd&orderId=65401edc-3fa1-4112-87fd-a569ca69fb6a","success":0}


, , unBindCard (. " ").
:

userName

AN..30

, .

password

AN..30

, .

bindingId

AN..255

.
.

errorCode

N3

errorMessage

AN..512

( errorCode):

GET:
https://test.paymentgate.ru/testpayment/rest/unBindCard.do?
userName=binding_api&password=testPwd&bindingId=fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc

POST:
userName=binding_api&password=testPwd&bindingId=fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc
:
{"errorCode":"2","errorMessage":"Binging isn't active"}


bindCard (. " ").
:

userName

AN..30

, .

password

AN..30

, .

bindingId

AN..255

.
.

errorCode

N3

errorMessage

AN..512

( errorCode):

( )

GET:
https://test.paymentgate.ru/testpayment/rest/bindCard.do?
userName=binding_api&password=testPwd&bindingId=fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc

POST:
userName=binding_api&password=testPwd&bindingId=fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc
:
{"errorCode":"2","errorMessage":"Binding is active"}


getBindings (. " ").
:

clientId

AN..255

() , .
.

errorCode

N1

errorMessage

ANS..*

(
)

bindingId

AN..255


.
.

maskedPan

N..19

, .
.

binding (
bindingId, maskedPan
expiryDate):

expiryDate

N6

YYYYMM.
.

( errorCode):

[clientId]

GET:
https://test.paymentgate.ru/testpayment/rest/getBindings.do?
userName=binding_api&password=testPwd&clientId=client

POST:
userName=binding_api&password=testPwd&clientId=client
:
{"bindings":[{"bindingId":"fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc",
"maskedPan":"4000 00** **** **02","expiryDate":"201512"}],"errorCode":"0",
"errorMessage":""}

2. "- "
1
2
3
4
5
6
7



-
-


-
7.1 WebService
7.2 REST


PayByClick .
- .
2 -:
.
PayByClick - -.

.
.
.
.
( ).
, (reversal refund).
e-invoicing.

-
( -)
( -)
( - )
PayByClick ( - PayByClick)
Back-end: Gemini, E-Invoicing, .

-
:
( ),
( ).

1. .
2. , .
3. ID URL .
, 4-5. , URL
7.
4. redirect URL, 3.
5. URL, .

6. : ,
PayByClick.
7. : ID , URL
(BackURL).
8. PayByClick ID ( WS ).
9. .
10-29. .
30. PayByClick ( WSInvoiceConfirm).
31. e-invoicing (. ).
32. WSInvoiceConfirm .
33. PayByClick URL , 6 .
34. BackURL .
35. java- ( DEPOSITED , APPROVED
DECLINED)
36. ,
37.

1. . REST/ SOAP,
https://test.paymentgate.ru/testpayment/merchants/alfa-test/test.html
2 :

: , , .
: , http://bpc.ru
2. "" "" (
- )
https://test.paymentgate.ru/testpayment/merchants/alfa-test/payment_ru.html?mdOrder= :

3. , " "

https://testjmb.alfabank.ru/PayByClick/login.jsp :

4. / : 1821363/000000 , :

5. 00000000:

: , 987.
, ,
( returnUrl ( REST/ SOAP),
( ))
. ,
(getOrderStatus) , APPROVED ( )
DEPOSITED ( ) - .

, " ",
- <input type="button" class="alfaclick" id="buttonPaymentAlfa" value="
" />"
.

-
WebService
paymentOrderOtherWay .
, .
:

orderId

ANS36

paymentWay

ANS..*

ip

AS..15

IP

language

A2

ISO 639-1. , ,
(default language)

errorCode

N1

errorMessage

ANS..*

info

ANS..*

redirect

ANS..*

( errorCode):

[orderId]

[paymentWay]

paymentWay

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="


http://engine.paymentgate.ru/webservices/merchant">
<soapenv:Header/>
<soapenv:Body>
<mer:paymentOrderOtherWay>
<order language="ru" orderId="8232a33f-c44f-48ec-b52f-0d63a88c50ae" paymentWay="ALFA_ALFACLICK" ip=" "/>
</mer:paymentOrderOtherWay>
</soapenv:Body>
</soapenv:Envelope>
:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:paymentOrderOtherWayResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant">
<return errorCode="0" errorMessage="" info=" , ..." redirect="
https://testjmb.alfabank.ru/ALFAIBSR_FT4/?orderId=8232a33f-c44f-48ec-b52f-0d63a88c50ae&backUrl=http%3A%2F%2Fya.ru"/>
</ns1:paymentOrderOtherWayResponse>
</soap:Body>
</soap:Envelope>

REST
paymentotherway.do .
POST.
URL :
https://test.paymentgate.ru/testpayment/rest/paymentotherway.do
, .
:

userName

AN..30

password

AN..30

MDORDER

ANS36

paymentWay

ANS..*

.
ALFA_ALFACLICK

language

A2

ISO 639-1. , ,
(default language)

errorCode

N1

errorMessage

ANS..*

info

ANS..*

redirect

ANS..*

( errorCode):

[orderId]

[paymentWay]

paymentWay

POST:
password=111111&userName=987&language=ru&MDORDER=c96a734c-e2c9-429c-8fda-aaa0030c8a92&paymentWay=ALFA_ALFACLICK
:

{"redirect":"http://testjmb.alfabank.ru/PayByClick/login.jsp?orderId=b37da970-e2b8-4729-a196-b4c2ab5bb401&backUrl=+","info":"Your order
is proceeded, redirecting...","errorCode":0}

3.



,
.
, , .

TICKET

LANGUAGE

USER_FIRST_NAME

USER_LAST_NAME

USER_MOBILE_PHONE

USER_HOME_PHONE

USER_EMAIL

S {N}-BDATE

S {N}-EDATE

10

S
{N}-BLOCATIONCOUN

N,

11

S
{N}-ELOCATIONCOUN

N,

12

S
{N}-BLOCATIONCODE

N,

13

S
{N}-ELOCATIONCODE

N,

14

S
{N}-BLOCATIONCITY

N,

15

S
{N}-ELOCATIONCITY

N,

16

S {N}-FLIGHTNUMBER

17

P {M}-FIRSTNAME

18

P {M}-LASTNAME

:
S{N}- .
. {N} 1 99,
.. S1 S99.
P{N}- . {N} 1 99, ..
P1 P99

TICKET

5WY8FZ

LANGUAGE

RU

USER_FIRST_NAME

Maxim

USER_LAST_NAME

Zhukoveckiy

USER_MOBILE_PHONE

+7 9055457319

USER_HOME_PHONE

null

USER_EMAIL

11@11.ru

S {N}-BDATE

Tuesday , January 22, 2013 6:40:00 AM

S {N}-EDATE

Tuesday , January 22, 2013 7:25:00 AM

10

S {N}-BLOCATIONCOUN

11

S {N}-ELOCATIONCOUN

12

S {N}-BLOCATIONCODE

PEE

13

S {N}-ELOCATIONCODE

LED

14

S {N}-BLOCATIONCITY

15

S {N}-ELOCATIONCITY

16

S {N}-FLIGHTNUMBER

712

17

P {M}-FIRSTNAME

Maxim

18

P {M}-LASTNAME

Zhukoveckiy

4. - actionCode (
)
, .
:
Action code - digital code of a result received after a client addressed to the system. The following codes exist in the system:
Action
code

error_id

error_message

/ Description

-20010

-20010

BLOCKED_BY_LIMIT

,
- /
Transaction is rejected since the amount exceeds limits specified by the Issuing bank

-9000

-9000

Started

/ State of transaction start

-3003

-3003

/ Unkown

-2102

-2102

/ Regect by a passanger name

-2101

-2101

e-mail

e-mail / Reject by email

-2019

-2019

Decline by iReq in PARes

PARes iReq, /
PARes from the issuing bank contains iReq, which caused the payment rejection

-2018

-2018

Declined. DS connection
timeout

Directory server Visa MasterCard ,


(VeReq) .

. /
There is no access to Directory server Visa or MaterCard or a connection error occured after
card involvement request (VeReq). This is an error of interacion between payment gate and IPS
servers due to technical problems on the side of IPS servers.

-2017

-2017

.
VERes- "Y"

. VERes- "Y"/ Rejected. VERes status is not "Y"

-2016

-2016

Declined. VeRes status is


unknown

- , 3dsecure. / Issuing bank could not


determine if the card is 3dsecure.

-2015

-2015

Decline by iReq in VERes

VERes DS iReq, . / VERes from DS


contains iReq, which caused the payment rejection.

-2013

-2013

. / All payment attempts were used.

-2012

-2012

Operation not supported

. / This operation is not supported.

-2011

-2011

Declined. PaRes status is


unknown

- 3dsecure- / Issuing bank was not able to


perform 3dsecure card authorization.

-2010

-2010

XID

XID. / Mismatching of XID.

-2008

-2008

. / Wrong purse.

-2007

2007

Decline. Payment time


limit

, (
- 20 ;
; "
", , ). /
The period allotted for card details entering has expired (by default timeout is 20 minutes;
session duration may be specified while order registering; if the merchant has "Alternative
session timeout" permission, then timeout duration is specified in merchant settings).

-2006

2006

Decline. 3DSec decline

, (3DS ) / Means
that issuing bank rejected authentication (3DS authorization has not been performed).

-2005

2005

Decline. 3DSec sign error

, , PARes ,
. / Means that RBS could not check issuing bank sign, i.e. PARes was
readable, but the sign was wrong.

-2003

-2003

. / Blocking by port.

-2002

2002

Decline. Payment over


limit

,
.
: - ,
,
.
/
Transaction was rejected because payment amount exceeded established limits. Note: it could
be limit of day withdrawal established by Bank-acquirer, or limit of transaction by one card
established by a merchant, or limit for one transaction established by a merchant.

-2001

2001

Decline. IP blacklisted

, IP- . /
Transaction is rejected since Client's IP-address is in the black list.

-2000

2000

Decline. PAN blacklisted

, . / Transaction
is rejected since card number in in the black list.

-102

-102

. / The payment was cancelled by the payment agent.

-100

-100

no_payments_yet

. / There were not payment attempts.

-1

-1

sv_unavailable

. / The timer of waiting of


processing response has expired.

Approved.

. / Payment has been performed successfully.

Declined. Honor with id

.
- (- ) , declined. /
Proof of identity is necessary for successful completion of the transaction. In case of internet
transaction (our case) it is impossible, so transaction is considered as declined.

Decline. Unable to
process

. / Refuse of network to process transaction.

100

100

Decline. Card declined

( e). / Card limits


(Issuing bank forbade internet transactions by the card).

101

101

Decline. Expired card

. / Card is expired.

103

103

Decline. Call issuer

-.
-. / There is no connection with the Issuing bank. Sales oulet need to contact
Issuing bank.

104

104

Decline. Card declined

,
. / This is an attempt to perform a transaction by an account that has restrictions
for use.

106

106

.
. / The maximum number of attempts to enter PIN is exceeded. It is possible
that the card is blocked temporary.

107

107

Decline. Call issuer

-. / Please, contact Issuing bank.

109

109

Decline. Invalidnj
merchant

/
.
/
Merchant/terminal identifier is incorrect or ACC is blocked on the processing level.

110

110

Decline. Invalid amount

. / Transaction amount is incorrect.

111

111

Decline. No card record

. / Card number is incorrect.

116

116

Decline. Not enough


money

. /
Transaction amount exceeds the available balance of the selected account.

119

119

Decline.
SECURITY_VIOLATION
SV

. / Illegal transaction.

120

120

Decline. Not allowed

- .
- 57. .
/
Refusal to perform the operation - the transaction is not allowed by Issuing bank. Response
code of the IPS - 57. Reasons for rejection should be specified an the issuing bank.

121

121

Decline. Excds wdrwl


limt

, ,
-. / This is an attempt to perform transaction of amount exceeding
the day limit established by the issuing bank.

123

123

Decline. Excds wdrwl


ltmt

:
. / The client has
performed the maximum number of transactions during the limit cycle and tries to perform
another one.

125

125

Decline. Card declined

. :
, , . AmEx -
.
/
Card number is incorrect. This error may have several meanings: Attempt to perform a refund
of amount exceeding the hold amount; Attempt to refund zero amount; for AmEx - expiry date
is specified incorrectly.

208

208

Decline. Card is lost

. / Card is lost.

209

209

Decline. Card limitations


exceeded

. / Card limitations exceeded.

400

400

. / Reversal is processed.

902

902

Decline. Invalid trans

( ,
). / Card limitations (Cardholder tries to perform a transaction that is
forbidden for him).

903

903

Decline. Re-enter trans.

, ,
-. / Attempt to perform a transaction of amount exceeding Issuing bank limit.

904

904

Decline. Format error

. / The message format is


incorrect in terms of the issuing bank.

907

907

Decline. Host not avail.

, .
stand-in ( ,

, ).
/
There is no connection with the Issuing bank. Authorization in stand-in mode is not allowed for
this card number (this mode means that the Issuing bank is unable to connect to the IPS, and
therefore the transaction can be either offline with further unloading to back office, or it can be
declined).

909

909

Decline. Call issuer

( ,
. -). / Operation is impossible
(General error of the system functioning. May be detected by IPS or the Issuing bank).

910

910

Decline. Host not avail.

- . / Issuing bank is not available.

913

913

Decline. Invalid trans

( ). /
The message format is incorrect in terms of IPS.

914

914

Decline. Orig trans not


found

( reversal refund). /
Transaction is not found (when sending a completion, reversal or refund request).

999

999

Declined by fraud

. 3dsec. /
The beginning of the transaction authorization is missed. Declined by fraud.

1001

1001

Decline. Data input


timeout

( , ..
). / Empty (is specified at the moment of transaction authorization,
when card details are not entered yet).

1004

1004

1. / Authorization phase 1.

1005

1005

2. / Authorization phase 2.

2001

2001

Decline. Fraud

( ). / Fraud (in terms of


IPS).

2002

2002

. / Incorrect operation.

2003

2003

Decline. SSL restricted

SSL ( 3d-Secure/SecureCode) . / SSL (not


3D-Secure/SecureCode) transactions are forbidden for the Merchant.

2004

2004

SSL without CVC


forbidden

SSL CV2 . / Payment through SSL without CVC2 is


forbidden.

2005

2005

3DS rule failed

3ds. / Payment does not meet terms


of the rule of 3ds validation.

2006

2006

. / One-phase payments are forbidden.

2007

2007

. / The order is payed.

2008

2008

. / The transaction is not completed.

2009

2009

. / Refund amount exceeds deposited amount.

9001

9001

RBS internal error

. / RBS internal error.

71015

1015

Decline. Input error

. / Entered card details are incorrect.

151017

1017

Decline. 3DSec comm


error

3-D Secure - . / 3-D Secure - communication error.

151018

018

Decline. Processing
timeout

. . / Processing timeout. Sending is failed.

151019

1019

Decline. Processing
timeout

. , . / Processing
timeout. Sending is success, response from the bank was not received.

341014

1014

Decline. General Error

. / RBS general error.