Skip to main content
POST
Get athlete referral payment history

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
athlete_id
integer

For agent accessing athlete history

Example:

123

sort_order_req
enum<string>
Available options:
new_to_old,
old_to_new,
high_to_low,
low_to_high
Example:

"desc"

athleteName
string

LIKE filter on referred user name

Example:

"test"

minAmount
number

= filter on amount paid

Example:

10

maxAmount
number

<= filter on amount paid

Example:

1000

paymentMode
string

Exact match on payment mode

Example:

"C"

paymentDate
string

Date filter on created_at

Example:

"2026-01-01"

page
integer
Example:

1

limit
integer
Example:

10

page_limit
integer

Alias for limit

Example:

10

Response

200

Referral payment history