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
curl -X POST \
https://test-mobileapps.siroccotechnology.ru/merchant_api/InitPayment \
-H 'Accept: application/json' \
-H 'Accept-Language: en-us' \
-H 'Authorization: 6giYaVOTLB3bNfwySRDLuIJoVWZMxMKvAWf6qmsupwasrEEMPc' \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'Postman-Token: 26393fd6-9f3b-4b2c-ae5e-68795c0c7413' \
-H 'cache-control: no-cache' \
-d '{
"AdditionalData": {
"FailUrl": "cott://fail",
"ReturnUrl": "cott://success"
},
"PaymentParams": {
"Type": "bank"
},
"TicketParams": {
"ID": "170",
"PrintID": "0039458963",
"Sum": "1100"
}
}'
Server →nginx/1.10.3
Date →Tue, 29 Jan 2019 13:17:43 GMT
Content-Type →application/json; charset=utf-8
Content-Length →48
Connection →keep-alive
X-Request-Id →03fc635b-427d-4f76-8365-4e320e5b0c41
X-Runtime →0.081532
{
"status": "500",
"error": "Internal Server Error"
}