Examples

GET /api/v2/invoices/2/payments
200
{
  "data": [
    {
      "id": 1,
      "paid_at": "2018-12-11",
      "amount": "100.0",
      "invoice_id": 2
    },
    {
      "id": 2,
      "paid_at": "2018-12-11",
      "amount": "200.0",
      "invoice_id": 2
    }
  ],
  "paging": {
    "total_pages": 1,
    "current_page": 1,
    "next": null,
    "previous": null
  }
}