Skip to main content
POST
Get all 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"

status
enum<string>

Payment status filter

Available options:
Success,
Pending
Example:

"Success"

search_keyword
string

LIKE on sub_title, main_title, description, transaction_id

Example:

"test"

min_amount
number

= filter on amount

Example:

10

max_amount
number

<= filter on amount

Example:

1000

job_id
integer

Filter by job

Example:

1

deliverable_id
integer

Filter by deliverable

Example:

1

pay_type
string

Filter by type (skip if 'All')

Example:

"cash"

payment_mode
string

Filter by payment mode (skip if 'All')

Example:

"C"

paymentDate
string

Date filter on paid_on

Example:

"2026-01-01"

page
integer
Example:

1

limit
integer
Example:

10

page_limit
integer

Alias for limit

Example:

10

Response

200

All payment history