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: en-us' \
-H 'Authorization: RK49B7Gmp9y0f9TJK7u93GuiAxTAGbNrH6qGprgKkg6zqabNh5' \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'Postman-Token: d904c41c-4a4b-4cda-9775-b312f09597a1' \
-H 'cache-control: no-cache' \
-d '{
"AdditionalData": {
"FailUrl": "cott://fail",
"ReturnUrl": "cott://success"
},
"PaymentParams": {
"Cryptogram": "RicHuRyzUklQyejVD+YVBT+Vx8jCO42bkXc72n8xX+zoO75iRjwgHuSPHsLDpxlgwww9i046TxWJvl6cHF7czXoyWJdDUZOIY3iwT1Yg0QjESMyLmycN/gvlaaEtdteosW/Kg0vjrreWxKdwnfhd+sAE4dy+fvND/Z5DU4kH1zkcbm7/QmkWVmXsmYyz2PmdHF2NTVK/DhJ93hhfavYexLcFUsswzfxZBQffWcDpMiEj06Zi6FJUU2SR2elXIq+A0UMWKH0dJmtxptzxWUy/98A30NOqT8ImGI9bo+SQlFunE3BzQ19IfomV47WD6XfulJ7xgrBf/ouQvAnJ8Ci1Mw==",
"Type": "bank"
},
"TicketParams": {
"ID": "2",
"PrintID": "0039458963",
"Sum": "1000"
}
}'
Server →nginx/1.10.3
Date →Mon, 11 Feb 2019 10:04:13 GMT
Content-Type →application/json; charset=utf-8
Content-Length →48
Connection →keep-alive
X-Request-Id →72e01b98-ea2e-49cb-a0de-a42d2b4a9727
X-Runtime →0.056354
{
"status": "500",
"error": "Internal Server Error"
}