br0k3n656

Untitled

Oct 22nd, 2021
1,438
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Создание заказа:
  2. {"signature":"ZTM5ODFjOWYwNmQ5NGRlZjYzYTMzYjc1ZTZjZjM1NTE=","amount":100,"currency":643,"reference":"607677db-6060-4fe4-8622-abb70e75a833","description":"test","sector":7964,"url":"https:\/\/api.mosgorpass.ru\/v8.2\/payment\/callback\/b2p\/success","fail_url":"https:\/\/api.mosgorpass.ru\/v8.2\/payment\/callback\/b2p\/failure","client_ref":"96f74d62-02ff-11eb-a411-0242afd3047f","email":"pavel.semenov111@gmail.com","fiscal_positions":"1;100;6;test"}
  3. Ответ:
  4. <?xml version="1.0" encoding="UTF-8"?><order>
  5. <id>339295221</id>
  6. <state>REGISTERED</state>
  7. <inprogress>0</inprogress>
  8. <date>2021.10.22 11:09:13</date>
  9. <amount>100</amount>
  10. <currency>643</currency>
  11. <email>pavel.semenov111@gmail.com</email>
  12. <reference>607677db-6060-4fe4-8622-abb70e75a833</reference>
  13. <description>test</description>
  14. <url>https://api.mosgorpass.ru/v8.2/payment/callback/b2p/success</url>
  15. <parameters number="5">
  16. <parameter>
  17. <name>amount_actual</name>
  18. <value>100</value>
  19. </parameter>
  20. <parameter>
  21. <name>client_ref</name>
  22. <value>96f74d62-02ff-11eb-a411-0242afd3047f</value>
  23. </parameter>
  24. <parameter>
  25. <name>fail_url</name>
  26. <value>https://api.mosgorpass.ru/v8.2/payment/callback/b2p/failure</value>
  27. </parameter>
  28. <parameter>
  29. <name>paypage_open_count</name>
  30. <value>0</value>
  31. </parameter>
  32. <parameter>
  33. <name>payments_executed</name>
  34. <value>0</value>
  35. </parameter>
  36. </parameters>
  37. <signature>OTUwNDkxMTIxZDRhY2VlYjRkNWNhM2IwNTQ4MDhmMjk=</signature>
  38. </order>
  39.  
  40. Холдирование:
  41. {"signature":"MGIwMzZhNzJiMTI4YTBiZmM1YTRjOWU2NmQxMGRhYWY=","id":"339295221","token":"1ec5421e-ff18-4cfa-acfa-c3bb0c11d058","sector":7964}
  42. Ответ:
  43. <?xml version="1.0" encoding="UTF-8"?><operation>
  44. <order_id>339295221</order_id>
  45. <order_state>REGISTERED</order_state>
  46. <reference>607677db-6060-4fe4-8622-abb70e75a833</reference>
  47. <id>473153422</id>
  48. <date>2021.10.22 11:09:14</date>
  49. <type>AUTHORIZE_BY_TOKEN</type>
  50. <state>REJECTED</state>
  51. <reason_code>4</reason_code>
  52. <message>Transaction declined by Issuer</message>
  53. <pan>426102******7732</pan>
  54. <email>pavel.semenov111@gmail.com</email>
  55. <amount>100</amount>
  56. <currency>643</currency>
  57. <approval_code>000000</approval_code>
  58. <signature>M2I5ZTZhMjE3NDVmZDczOGQ1MTBjN2ExZjFlODI0YjM=</signature>
  59. </operation>
  60.  
  61.  
RAW Paste Data