List utility payment logs
GET {{baseUrl}}/{{version}}/utility-payment/log
Get a paged list of all utility payment logs. A log tracks a change in the payment entity according to its life cycle.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cursor | null | String used to get the next batch of results. | |
limit | null | Number of results per cursor. Max = 100. | |
fields | null | List of strings to filter response JSON keys. | |
after | null | Filter entities created after this date. | |
before | null | Filter entities created before this date. | |
types | null | Filter logs by log types. | |
paymentIds | null | Array of payment ids that are linked to the desired logs. |
RESPONSES
status: OK
{"cursor":null,"logs":[{"payment":{"status":"created","scheduled":"2020-09-25T15:00:00+00:00","updated":"2020-09-01T16:59:46.574991+00:00","description":"Electricity for the Long Night","tags":["energy","winterfell"],"line":"83660000001 9 98480138007 7 41190025511 7 00010601813 8","id":"5123150740193280","fee":0,"created":"2020-09-01T16:59:46.271363+00:00","barCode":"83660000001984801380074119002551100010601813","amount":19848,"type":"utility","transactionIds":[]},"errors":[],"type":"created","id":"6231023192899584","created":"2020-09-01T16:59:46.374476+00:00"}]}