3.32. /api/3ds/v1/upload-pares-result

Upload PaRes Result

After receiving paRes value to TermUrl, upload the results using HTTP POST request to URLs and the parameters specified below.

API URLs

Integration

Production

https://sandbox.denumtech.ru/paynet/api/3ds/v1/upload-pares-result/ENDPOINTID

https://gate.denumtech.ru/paynet/api/3ds/v1/upload-pares-result/ENDPOINTID

https://sandbox.denumtech.ru/paynet/api/3ds/v1/upload-pares-result/ENDPOINTGROUPID

https://gate.denumtech.ru/paynet/api/3ds/v1/upload-pares-result/ENDPOINTGROUPID

Request Parameters

Parameter Name

Max Length

Description

paRes

10240

Payer Authentication Response message is returned by the ACS with the result of cardholder payment authentication.

orderid

128

Order id assigned to the order by Denumtech.

login

20

Merchant login name.

client-order-id

128

Merchant order identifier.

control

40

Checksum generated by SHA-1. Control string is represented as concatenation of the following parameters:
1. login
2. client_orderid
3. orderid
4. merchant_control (Control key assigned to Merchant account in the Denumtech gateway system)

Response Parameters

Parameter Name

Description

type

The type of response. May be async-response, validation-error, error. If type equals validation-error or error, error-message and error-code parameters contain error details

paynet-order-id

Order id assigned to the order by Denumtech

merchant-order-id

Merchant order id

serial-number

Unique number assigned by Denumtech server to particular request from the Merchant

error-message

If status is error this parameter contains the reason for decline or error details

error-code

The error code is case of error status

Request Example

POST /paynet/api/3ds/v1/upload-pares-result/39529 HTTP/1.1
User-Agent: curl/7.83.0
Accept: */*
Content-Length: 2631
Content-Type: application/x-www-form-urlencoded
Connection: close

orderid=6684127
&md=BB4A517A42736975764E3453302B303144794D754B7A4F697A7953765930784259503870546A79416F6542646F4E4A69534F3243317431726A6352702B68565271
&paRes=eJydlluTokgThu/nVxhOxN4YPZwV5rPdKI6CgHIQxTsaEDnIWUB//aL09Ngdc7HfcgFFkvnwZmVWRc3/7s7JqPHLKszS1zHyAx6P/NTNvDANXsdbk38hx6OqdlLPSbLUfx2n2fjvxdw8lb7PGr57Kf3Ft9FoNFf8qnICfxR6r2P4/Xr5dUM+Rv01JY6edxw/wu6RG6D71f8fdw99173oZf9A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d7a769cadbe
&login=test_merchant
&client-order-id=e690bf9f-0c90-4073-a30a-604d13ae9fb9

Success Response Example

HTTP/1.1 200
Server: server
Date: Wed, 17 Nov 2021 11:03:17 GMT
Content-Type: text/html;charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=60
Vary: Accept-Encoding
X-XSS-Protection: 1
Strict-Transport-Security: max-age=31536000
Content-Language: ru-RU
P3P: CP="NOI ADM DEV COM NAV OUR STP"
Content-Encoding: gzip

type=async-response
&serial-number=00000000-0000-0000-0000-000002d62036
&merchant-order-id=e690bf9f-0c90-4073-a30a-604d13ae9fb9
&paynet-order-id=6684127

Fail Response Example

HTTP/1.1 200
Server: server
Date: Wed, 17 Nov 2021 11:03:17 GMT
Content-Type: text/html;charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=60
Vary: Accept-Encoding
X-XSS-Protection: 1
Strict-Transport-Security: max-age=31536000
Content-Language: ru-RU
P3P: CP="NOI ADM DEV COM NAV OUR STP"
Content-Encoding: gzip

type=validation-error
&serial-number=00000000-0000-0000-0000-000002b36f64
&merchant-order-id=inv4097763
&error-message=End+point+with+id+22903+not+found
&error-code=3

Postman Collection

Request Builder

URL
pares

Input Payer Authentication Response message

login

input Login

client_orderid

input Invoice Number

orderid

input sandbox.denumtech.ru Transaction Number

merchant_control

input Control Key

String to sign
Signature