GraphQL API
Organization API
Organization / Types/ object

BillingSubscriptionEdge

An edge that contains a node of type BillingSubscription and a cursor.

Fields

2 fields
cursor•String!

A unique cursor that can be used for pagination.

canceledAt•DateTime

When the subscription was canceled.

createdAt•DateTimeTz!

When the subscription was created.

currentCycleEndsAt•DateTimeTz

Current billing cycle ends at

currentCycleStartedAt•DateTimeTz

Current billing cycle started at

expiredAt•DateTime

When the subscription was expired.

id•ID!

Unique primary key.

isTrial•Boolean!

Is Trial

code•String!

Code of the plan

description•String!

Description of the plan

id•ID!

Unique primary key.

isActive•Boolean!

Active

name•String!

Name of the plan

Tiers

unitType•String!

Billing unit type

Status of the subscription

ACTIVECANCELEDEXPIREDPENDINGSCHEDULEDSUSPENDED
extraUnitPrice•Money!

Over usage charge per unit

id•ID!

Unique primary key.

price•Money!

Price of the tier

upTo•Int!

Quantity included

updatedAt•DateTimeTz!

When the subscription was last updated.