Billing

List Transactions

Changed on

Get paginated list of credit transactions (ledger entries).

Authenticate with either a Cognito JWT or an sk-… API key.

Parameters:

  • limit: Maximum number of items to return (1-∞)
  • offset: Number of items to skip
  • type: Filter by entry type (purchase, usage_charge, refund, etc.)
  • from: Filter entries created after this datetime
  • to: Filter entries created before this datetime

Returns newest entries first.

get/api/v1/billing/transactions

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Authorization codehttps://auth.mor.org/oauth2/authorize
      Token URLhttps://auth.mor.org/oauth2/token
      Scopesaws.cognito.signin.user.admin, openid, email, profile
    • or HTTP bearer

Query parameters

limitinteger
offsetinteger
entry_type'purchase' | 'staking_refresh' | 'usage_hold' | 'usage_charge' | 'refund' | 'adjustment'

Ledger entry type.

fromstring date-time
tostring date-time

Response

Successful Response

totalinteger required
limitinteger required
offsetinteger required
has_moreboolean required

Changes