Get Payments History
Returns a list of your order payments that match the specified reference. Results are returned in reverse chronological order, with the most recent payments shown first.
POST
/payment/historyAuthentication
Authorization: Bearer <YOUR_API_key>
Request Parameters
| Field | Type | Description | Required |
|---|---|---|---|
start_date | string (ISO8601) | Start of the date range filter. Records created on or after this date will be included. | ✅ |
end_date | string (ISO8601) | End of the date range filter. Records created before or on this date will be included. | ✅ |
Response Fields
| Field | Type | Description | Required |
|---|---|---|---|
amount | Number | The total sum of all returned order amounts in the result set. | ✅ |
data | Array of objects | A list of order objects returned by the query. | ✅ |
- 200
- 400
- 401
{
"amount": 0,
"data": [
{
"id": 0,
"Amount": 0,
"currency": "string",
"customer": "string",
"product": "string",
"hook_url": "string",
"status": "PENDING"
}
]
}
{
"detail": "Bad Request"
}
{
"detail": "Unauthorized Bearer token"
}
Request Samples
curl -X POST https://luxfin.org/payment/history \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z"
}'