curl --request POST \
--url http://localhost/mogl/mogl-backend/api/paymentHistoryAthleteReferral \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"athlete_id": 123,
"sort_order_req": "desc",
"athleteName": "test",
"minAmount": 10,
"maxAmount": 1000,
"paymentMode": "C",
"paymentDate": "2026-01-01",
"page": 1,
"limit": 10,
"page_limit": 10
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/paymentHistoryAthleteReferral \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"athlete_id": 123,
"sort_order_req": "desc",
"athleteName": "test",
"minAmount": 10,
"maxAmount": 1000,
"paymentMode": "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"
LIKE filter on referred user name
"test"
= filter on amount paid
10
<= filter on amount paid
1000
Exact match on payment mode
"C"
Date filter on created_at
"2026-01-01"
1
10
Alias for limit
10
Referral payment history