Answer the question
In order to leave comments, you need to log in
Retrieve information and value entered by user EasyPay?
It is necessary that the user enters "transaction id" and "amount" to form data
import requests
import json
base_url = 'https://api.easypay.ua/api/payment/getReceipt'
data = {'receiptId': 'Ид транзакции', 'amount': 'Сумма'}
headers = {'accept': 'text/html'}
response = requests.get(base_url, data, headers=headers)
response.encoding='utf-8'
print(response.text)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question