authed

List balance transactions

The prepaid balance's history, newest first: top-ups, usage, credits, refunds and adjustments, each a signed amount in microusd (millionths of a US dollar). A full page means more may exist; page with the last row's created_at and id.

get/api/v1/billing/transactions

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/billing/transactions
  • Auth
    none declared

Query parameters

before_created_atstring date-time nullable

For the next page: the created_at of the last transaction already read. Pass it with before_id, or omit both for the newest page.

before_idinteger nullable

For the next page: the id of the last transaction already read. Pass it with before_created_at.

limitinteger

How many transactions to return.

Response

Successful Response

idinteger required

The transaction's id; page with it as before_id.

labelstring required

What kind of movement: Top-up, Usage, Credit, Refund or Adjustment.

amount_microusdinteger required

How much the balance moved: positive adds, negative takes away. In microusd: millionths of a US dollar (1,000,000 = $1.00).

notestring nullable required

A note on the movement, if any.

receipt_urlstring nullable required

The card receipt; only card top-ups carry one.

created_atstring date-time required

When it happened; page with it as before_created_at.

Changes

No recorded changes to this operation across all 1 revision of this API.