Express statistics on links
curl -L \
--request POST \
--url 'http://api.client.nbcgate.tech//api/pay/pay-link/statistics' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"amount": {
"coin_id": 1,
"currency_id": 1,
"exclude": true,
"max": 1,
"min": 1,
"token_id": 1
},
"date": {
"date_from": "text",
"date_to": "text",
"exclude": true
},
"m_pos": {
"exclude": true,
"id": [
1
]
},
"minute": {
"count": 1,
"exclude": true
},
"operation_type": {
"exclude": true,
"id": [
1
]
},
"owner_id": 1,
"pay_form": {
"exclude": true,
"id": [
1
]
},
"pay_link": {
"exclude": true,
"id": [
1
]
},
"product": {
"exclude": true,
"id": [
1
]
},
"types": {
"pay_link_type_id": 1
},
"user_id": 1
}
}'
[
{
"amount": 1,
"author": "text",
"chain": "text",
"coin": "text",
"coinID": 1,
"commission": 1,
"currency": "text",
"dateComplete": "text",
"id": 1,
"opType": "text",
"opTypeID": 1,
"ownerID": 1,
"payLinkID": 1,
"payerWalletAddress": "text",
"paymentAmount": 1,
"plName": "text",
"plTypeID": 1,
"product": "text",
"standart": "text"
}
]
OK