curl --location --request GET '/payment/store/6/credit-history?offset=0&limit=10&only_status=success&start_date=2025-03-01 00:00:00&end_date=2025-03-02 00:00:00' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"pagination": {
"total": 9,
"offset": 0,
"limit": 10
},
"stat": [
{
"status": "draft",
"ps": "uzcard",
"payment_amount": "300000"
},
{
"status": "success",
"ps": "uzcard",
"payment_amount": "50000"
},
{
"status": "error",
"ps": "uzcard",
"payment_amount": "100000"
}
],
"list": [
{
"id": 25788622,
"uuid": "fc207b3d-79b8-11ef-bfaa-00505680eaf6",
"status": "draft",
"ps": "uzcard",
"store_invoice_id": "909903929",
"billing_id": null,
"payment_time": null,
"payment_amount": 50000,
"commission_amount": 1250,
"total_amount": 50000,
"card_token": "65b81d37b53977001c14391a",
"card_pan": "860006******2278",
"added_on": "2024-09-23 19:34:48"
}
]
}
}