Configuration:
$ pip install -r requirements.txt
Run
$ python app.py
POST <ip>:4001/payment
Content-Type: application/json
Body:
{
"transaction_id": <internal id transaction as integer>,
"amount": <value as integer>
}
GET <ip>:4001/check/<transaction_id>
Return: Based on content property of TransactionData class.
See example in @sale_init