P
P
Peterson_s2020-06-17 18:15:52
Python
Peterson_s, 2020-06-17 18:15:52

How to send a request for an account statement of a merchant - an individual through the API in python?

XML:

<?xml version="1.0" encoding="UTF-8"?>
            <request version="1.0">
                <merchant>
                    <id>75482</id>
                    <signature>5abf5c7524bc2a835acb3a9e24ce10bc5ba82a99</signature>
                </merchant>
                <data>
                    <oper>cmt</oper>
                    <wait>0</wait>
                    <test>0</test>
                    <payment id="">
                        <prop name="sd" value="11.08.2013" />
                        <prop name="ed" value="11.09.2013" />
                        <prop name="card" value="5168742060221193" />
                    </payment>
                </data>
            </request>

How to submit a request in Python?
Here is the API link

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
latush, 2020-06-17
@latush

use the requests library, send a GET or POST to the appropriate address

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question