GET/v1/billing/ledger/lines

Ledger lines

The ledger as Billing shows it, newest first with a cursor. The entries of the cards of one Postflow or Postbatch are one line (kind `group`) per production run and type for charges and refunds, and per day and type for reservations and releases, with the number of entries and their sums; every other entry is a line of its own (kind `entry`). List the entries of a group with `GET /v1/billing/ledger?groupId=`. Filter on type (comma separated).

Scope billing.read

Query parameters

typeany
limitintegermin 1max 100default 25
cursorstringmax length 200

Returns

2 fields of the 200 answer
dataarray of one ofrequired
nextCursorstring or nullrequired

Responses

200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)