N
N
Nikolai Neizvestny2020-05-06 11:16:46
Python
Nikolai Neizvestny, 2020-05-06 11:16:46

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)

Displays all this for me:

VPS "Financial World".
(Adopted by the NBU No. 2 dated July 16, 2009).
TOV FC "Kontraktoviy dіm" on the basis of NBU licenses for the transfer of coins from the national currency without voucher No. 19 dated 10/17/2014.
RECEIPT No. *********************
----------------------- -------
Terminal №: 1052 Address :
easypay.ua
Date: 05/06/20 00:46 Withdrawal
: 185.00 UAH
Commission: 5.00 UAH Payment amount:
180.00 UAH : Universal Bank, AT EDRPOU: 21133352 Otrimuvacha Bank: PJSC "UNIVERSAL BANK" MFO: 322001


r/r UA893220010000029096998000140 Assigned to
payment: Monobank **************,380631154484
Payer card:
Acquirer:
Signature of financial statement:
(ID transaction): 817149232
Phone number: 0-800-60-30 -03
Nocturnal call at the borders of Ukraine
------------------------------------
Damn, they robbed us!
And from this text, I need to check the amount of the payment, the Payer (aka the recipient's wallet) and the transaction ID that the user will enter for verification for replenishment
Please help Please direct or somehow something)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question