Resources

GET
/api/v2/invoices/:invoice_id/payments
List payments

Examples

GET /api/v2/invoices/5/payments
200
{
  "data": [
    {
      "id": 2,
      "paid_at": "2021-01-25",
      "amount": "100.0",
      "invoice_id": 5
    },
    {
      "id": 3,
      "paid_at": "2021-01-25",
      "amount": "200.0",
      "invoice_id": 5
    }
  ],
  "paging": {
    "total_pages": 1,
    "current_page": 1,
    "next": null,
    "previous": null
  }
}