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

KeyDatatypeRequiredDescription
cursornullString used to get the next batch of results.
limitnullNumber of results per cursor. Max = 100.
fieldsnullList of strings to filter response JSON keys.
afternullFilter entities created after this date.
beforenullFilter entities created before this date.
typesnullFilter logs by log types.
paymentIdsnullArray 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"}]}