Get Store Payments
Get a paginated list of all payment records for the authenticated store.
Endpoint
Authentication
Required (Store role)
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page |
integer | Yes | Page number (starts at 1) |
count |
integer | Yes | Items per page (max 100) |
Response
Success (200 OK)
{
"count": 50,
"data": [
{
"id": 1,
"user_id": 5,
"order_id": "ORDER123456",
"amount": 150.00,
"currency_name": "AZN",
"status": "2",
"transaction_id": "TRANS123",
"card_number": "4111******1111",
"json_request": "...",
"json_response": "...",
"user": {...},
"created": "2025-01-15T10:30:00Z"
}
]
}
Error Responses
Unauthorized (401)
Pagination Error (400)
Example Request
curl -X GET "https://api.luxmart.site/v1/products/payment/store/?page=1&count=20" \
-H "Authorization: Token your_access_token"
Notes
- Only returns payments for orders belonging to the authenticated store
- Only returns payments with successful status (
status: "2") - Only returns payments for orders that are not cancelled (
status != "7") - Results are ordered by payment ID descending (newest first)
- Includes user information for each payment