curl --request POST \
--url http://localhost/mogl/mogl-backend/api/paymentHistoryAll \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"athlete_id": 123,
"sort_order_req": "desc",
"status": "Success",
"search_keyword": "test",
"min_amount": 10,
"max_amount": 1000,
"job_id": 1,
"deliverable_id": 1,
"pay_type": "cash",
"payment_mode": "C",
"paymentDate": "2026-01-01",
"page": 1,
"limit": 10,
"page_limit": 10
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/paymentHistoryAll \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"athlete_id": 123,
"sort_order_req": "desc",
"status": "Success",
"search_keyword": "test",
"min_amount": 10,
"max_amount": 1000,
"job_id": 1,
"deliverable_id": 1,
"pay_type": "cash",
"payment_mode": "C",
"paymentDate": "2026-01-01",
"page": 1,
"limit": 10,
"page_limit": 10
}
'Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
For agent accessing athlete history
123
new_to_old, old_to_new, high_to_low, low_to_high "desc"
Payment status filter
Success, Pending "Success"
LIKE on sub_title, main_title, description, transaction_id
"test"
= filter on amount
10
<= filter on amount
1000
Filter by job
1
Filter by deliverable
1
Filter by type (skip if 'All')
"cash"
Filter by payment mode (skip if 'All')
"C"
Date filter on paid_on
"2026-01-01"
1
10
Alias for limit
10
All payment history