List all Invoice Payments
GET/api/invoice-payments
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| invoice_id | Number | optional Optional filter by invoice ID |
curl -X GET "https://yoursite.com/api/invoice-payments" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
[
{
"id": "1",
"invoice_id": "1",
"amount": "100.00",
"payment_date": "2024-01-15",
"payment_method_id": "1"
}
]