Get a list of payments
GET
https://api.8pay.network/v1/:chain/one-time
Path Parameters
Query Parameters
{
"data": [
{
"id": "0xc91551c7ed9a3c93081b7e5951dba12bafbdba0f3857449affe582a7b0381619",
"description": "Ebook",
"sender": "0xe42fD8a58A82fDF624A8a94dA03a0e44F9934Dff",
"token": "8PAY",
"category": "Shop",
"tag": "ebook_859294",
"timestamp": 1574954504,
"transactionHash": "0x7797672488458a27fe022981558636e25d92302bd80a19a4e84008aaa63ace21",
"transactionStatus": "confirmed",
"receivers": [
{
"user": "0x38B70aC0BEf71A46Fc9E07f9c64913b9F533e54A",
"amount": "5",
"fee": "0.05"
}
]
}
],
"limit": 100,
"offset": 0,
"total": 1
}
Get a payment
GET
https://api.8pay.network/v1/:chain/one-time/:id
Path Parameters
{
"id": "0xc91551c7ed9a3c93081b7e5951dba12bafbdba0f3857449affe582a7b0381619",
"description": "Ebook",
"sender": "0xe42fD8a58A82fDF624A8a94dA03a0e44F9934Dff",
"token": "8PAY",
"category": "Shop",
"tag": "ebook_859294",
"timestamp": 1574954504,
"transactionHash": "0x7797672488458a27fe022981558636e25d92302bd80a19a4e84008aaa63ace21",
"transactionStatus": "confirmed",
"receivers": [
{
"user": "0x38B70aC0BEf71A46Fc9E07f9c64913b9F533e54A",
"amount": "5",
"fee": "0.05"
}
]
}