List credit packages

creditPackages: CreditPackageList!

Requires account.billing.read.

Arguments

This operation takes no arguments.

Response

Returns CreditPackageList!. Open the type for its fields and nested types.

FieldTypeDescription
data[CreditPackage!]!Credit top-up packages available to the authenticated user. Empty under external billing.
pageInfoCreditPageInfo!

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query CreditPackages {
  creditPackages {
    data {
      id
      available
      credits
      priceEur
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      prev
      startCursor
    }
  }
}
json
{}