curl -X POST https test-mobileapps siroccotechnology ru merchant_api I

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
curl -X POST \
https://test-mobileapps.siroccotechnology.ru/merchant_api/InitPayment \
-H 'Accept: application/json' \
-H 'Accept-Language: ru' \
-H 'Authorization: L6TjKHk203R1rw1RX0G2gMrj4ktYD8kzRFGmYjSEcq4VMUmHjL' \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'Postman-Token: 2f2da4d1-e83e-48bb-9f71-2d2efd51bb08' \
-H 'cache-control: no-cache' \
-d '{
"PaymentParams": {
"Cryptogram": "ppu2IEhIYG0Q3nS+uNBMBA3WNZaiUFQorxHTNQQeeAxl7Wh3UB3nERSyMuGY7wh5Kn2IpdMS0yodTvXj3zdqss9A3g2uwppfSqV/ndwxcc8rLDddrqS6E4ZHBBtbkgNSXP3Ckk8V2xIjeEtZpB5uL/8FrTibr2RkhDHdSK1/P+34YahAGN0xEUs/Y4NONHe0L0Yggi81wh0GTvP0ydcilTCoj8U9LRMzwnjvq0cEKEqBIvj2UBU8dLeSOIWs0tmxYMmK1ITDY1ZOleAYgesfR5JpSH3sx/lqnmQPusrUs3TW47jTc50ifnw5Qzx0zAk5FMDFVJtJeT3toXWsoDYDpQ==",
"Type": "bank"
},
"TicketParams": {
"ID": "170",
"PrintID": "0039458963",
"Sum": "1300"
}
}'
Server →nginx/1.10.3
Date →Mon, 11 Feb 2019 10:18:19 GMT
Content-Type →application/json
Content-Length →59
Connection →keep-alive
Cache-Control →no-cache
X-Request-Id →05052c5c-208b-4675-aebc-5bc8692ce6d5
X-Runtime →1.431019
{
"Error": {
"Code": 23,
"Message": "Ошибка оплаты"
}
}