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
37
38
curl -X POST \
https://test-mobileapps.siroccotechnology.ru/merchant_api/InitPayment \
-H 'Accept: application/json' \
-H 'Accept-Language: ru' \
-H 'Authorization: MPS5S40WfkY2jLsTdSLA4w0scJA2H9Dn8Zg7oQSz6KBREZ8HUf' \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'Postman-Token: 4332a9c0-c1fd-47bd-8d2d-8bc1cc140b78' \
-H 'cache-control: no-cache' \
-d '{
"PaymentParams": {
"Cryptogram": "E//Mju/TFs1ptWRqBnOoTbL05QX1AIVQ+iWOvYEYUJGz4moZ6qEfHhMfmMTHJNLr5Dq5+SXGifftdzC6F5BurwGcp/sQE5Vctf7dWVNFI20SVbGGA5iX7ZoI8PEq0aJPCIYyc+l6Y+iZmLXKMNVEFiHoenbid0lrqY4tq8seLJ8sDzQWLvw2ZV75mAK0T1ymMO57+pgAQpjglFWMpluzzijaGjP1YMCVxW1nSk62javQB5eXpoXrZgBw5Wzz8rdT7YzmWfhAc43uwSsBmSCt+pP75mwoJHt3MieWB8qcKRYeg7MGw3x6LJwOuLpscGR59M1Y7O9GSI0Kekz29zLYfw==",
"Type": "bank"
},
"TicketParams": {
"ID": "170",
"PrintID": "0039458963",
"Sum": "1300"
}
}'
Server →nginx/1.10.3
Date →Mon, 11 Feb 2019 13:11:13 GMT
Content-Type →application/json
Content-Length →81
Connection →keep-alive
Cache-Control →no-cache
X-Request-Id →46a6cfeb-cee7-4f4e-8d19-f77aa97ff11d
X-Runtime →0.678279
{
"Error": {
"Code": 9,
"Message": "Внутренняя ошибка сервера"
}
}