Create billing portal session

createBillingPortalSession: BillingPortalSession!

Requires account.billing.manage.

Arguments

This operation takes no arguments.

Response

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

FieldTypeDescription
urlString!Short-lived Stripe billing portal URL

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

Example

graphql
mutation CreateBillingPortalSession {
  createBillingPortalSession {
    url
  }
}
json
{}