Lists the payments received from clients, newest first.
Every payment, whatever recorded it - Gorelo web, POST /v1/payments, or a connected
accounting system - the same payments GET /v1/invoices/{invoiceId} lists under
Payments. Every filter is optional and combining two narrows to the payments that
satisfy both. A well-formed id that matches nothing is an empty page, not a 404.
Amount is the whole payment; Invoices lists each invoice it was applied to with
that invoice’s share. PaymentDate is a calendar date in the service provider’s time
zone, and paymentDateSince/paymentDateBefore bound it on that same calendar:
the lower bound includes the day it names and the upper bound excludes it.
授权
Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.
查询参数
Opaque pagination cursor from a previous page; omit for the first page. Only valid against the same filters and sort that produced it.
Number of items per page, 1-200 (default 50). Out of range is rejected, not clamped.
Comma-separated client ids; keeps only payments received from any of them.
Comma-separated invoice ids; keeps only payments applied to any of them.
Keeps only payments received on or after this date.
Keeps only payments received strictly before this date.
Sort direction on the payment date: asc or desc (default). Any other value is a 400.
响应
OK
100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511 The DataContext of a cursor-paginated success response: carries the paging metadata
for the returned page.