Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
6.1 kB
3
Indexable
Never
2023/06/16 10:19:20.316879 DEBUG [req] HTTP/1.1 POST https://uecard-transport.korona.net/api/card-replenisher/1.0/invoices/one-click
POST /api/card-replenisher/1.0/invoices/one-click HTTP/1.1
Host: uecard-transport.korona.net
User-Agent: req/v3 (https://github.com/imroc/req)
Content-Length: 203
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJUanVhWmtZeVZBZlE2ZVR0U3FvdU5ibEtQRnpGVWliUE56ZFF0WkxBOTFFIn0.eyJleHAiOjE2ODY5MTQ3NjMsImlhdCI6MTY4NjkwNzU2MywianRpIjoiNTM2ZmUwNzctZGJiZC00YTE4LTkyMDYtZjk4YzBhYTQ4MWJkIiwiaXNzIjoiaHR0cHM6Ly91ZWNhcmQtdHJhbnNwb3J0Lmtvcm9uYS5uZXQvYXV0aC9yZWFsbXMvcHVibGljIiwiYXVkIjpbImlubm92YXRNUCIsInRyY2FyZFNob3AiLCJ0cmFuc3BvcnQtY2FyZC1tYW5hZ2VyIiwiY2xudEFsbWF0eSIsInRlcm1pbmF0b3IiLCJhY2NvdW50IiwiY2FyZC1yZXBsZW5pc2hlcjMwIl0sInN1YiI6IjZhNWM2MjM3LTI3NWEtNDgyOS1iODFkLTgzMzRhM2MxMjc3NiIsInR5cCI6IkJlYXJlciIsImF6cCI6IkFQSV9hdnRvLXBhc3Nfc3ZjIiwic2Vzc2lvbl9zdGF0ZSI6IjQ5MmUxMmYzLWQzYTQtNDA4YS05Yzk2LWMzY2I2NmQ1OWI3MyIsImFjciI6IjEiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtcHVibGljIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiaW5ub3ZhdE1QIjp7InJvbGVzIjpbImN1c3Rv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qVr-9rFK41tCm93vVVWe5ZJHylC3w6RSoOgpLFCKfmaIfg
Content-Type: application/json; charset=utf-8
Cookie: JSESSIONID=192640EA85DF5831C7D6170CC09A5898
Accept-Encoding: gzip

{"agentTransactionId":"41c25446-0c2f-11ee-b05a-267a18d93f45","order":{"orderCards":[{"replenishment":{"amount":25000,"type":"VALUE"},"purchaseItems":null,"transportCard":{"pan":"9643103003354262402"}}]}}
HTTP/1.1 201 
Date: Fri, 16 Jun 2023 10:19:20 GMT
Server: Apache/2.4.39 (Unix) OpenSSL/1.0.2k
Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers
Location: /invoices/140729
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json;charset=UTF-8
Content-Length: 397

{"invoiceId":140729,"invoiceStatus":"CREATED","invoiceAmount":25000,"agentTransactionId":"41c25446-0c2f-11ee-b05a-267a18d93f45","order":{"orderId":140749,"orderStatus":"INVOICED","orderCards":[{"transportCard":{"pan":"9643103003354262402"},"ticketId":"0711","replenishmentItems":[{"itemType":"MAIN","description":"Пополнение счетчика карты","replenishmentAmount":25000}]}]}}
{"level":"info","ts":"2023-06-16T10:19:20.452Z","msg":"Request","headers":{"Accept":["application/json"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9"],"Content-Length":["16"],"Content-Type":["application/json"],"User-Agent":["%D0%AF%D1%80%D0%BE%D1%81%D0%BB%D0%B0%D0%B2%D1%81%D0%BA%D0%B0%D1%8F%20%D0%BE%D0%B1%D0%BB%D0%B0%D1%81%D1%82%D1%8C%20%D1%82%D1%80%D0%B0%D0%BD%D1%81%D0%BF%D0%BE%D1%80%D1%82/28 CFNetwork/1408.0.4 Darwin/22.5.0"],"X-App-Version":["iOS_1.6"],"X-Device-Id":["1CE66FC3-0164-4CBC-8409-95F7B6A758FA"],"X-Forwarded-For":["46.154.5.187"],"X-Forwarded-Host":["cards-dev.yarobl.dtpax.ru"],"X-Forwarded-Port":["443"],"X-Forwarded-Proto":["https"],"X-Forwarded-Scheme":["https"],"X-Passenger":["25"],"X-Real-Ip":["46.154.5.187"],"X-Region-Id":["19"],"X-Request-Id":["ecc537f22c00ff3d17adb71e9118a3d4"],"X-Scheme":["https"],"X-Sign":["1ac3cdf59ee6645aec75fcb858bc21f4d4d70a90bcac34c77156789dfc498db4"]},"body":"{\"amount\":25000}","status":200,"request_id":"ecc537f22c00ff3d17adb71e9118a3d4","response_body":"{\"url\":\"https://cards-dev.yarobl.dtpax.ru/api/stub/form?InvoiceId=140729\\u0026OrderId=41c25446-0c2f-11ee-b05a-267a18d93f45\"}","duration":0.385782065,"uri":"/api/cards/628567b6-119b-4ce0-8f48-597f1720beca/replenish","method":"PUT"}
{"level":"info","ts":"2023-06-16T10:19:20.717Z","msg":"Request","response_body":"<html>\n<body>\n<form method=\"post\" action=\"/api/stub/process\">\n    our_order_id: 41c25446-0c2f-11ee-b05a-267a18d93f45<br>\n    invoiceId: 140729<br>\n    <input type=\"hidden\" name=\"OrderId\" value=\"41c25446-0c2f-11ee-b05a-267a18d93f45\">\n    <input type=\"hidden\" name=\"InvoiceId\" value=\"140729\">\n    <input type=\"submit\" name=\"act\" value=\"success\"><br>\n    <input type=\"submit\" name=\"act\" value=\"fail\"><br>\n</form>\n</body>\n</html>","duration":0.000125591,"uri":"/api/stub/form?InvoiceId=140729&OrderId=41c25446-0c2f-11ee-b05a-267a18d93f45","method":"GET","headers":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9"],"Sec-Fetch-Dest":["document"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Site":["none"],"User-Agent":["Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"],"X-Forwarded-For":["46.154.5.187"],"X-Forwarded-Host":["cards-dev.yarobl.dtpax.ru"],"X-Forwarded-Port":["443"],"X-Forwarded-Proto":["https"],"X-Forwarded-Scheme":["https"],"X-Real-Ip":["46.154.5.187"],"X-Request-Id":["35f7119865bdbb9f54a2b14994b08b2c"],"X-Scheme":["https"]},"body":"","status":200,"request_id":"35f7119865bdbb9f54a2b14994b08b2c"}