billing

Get a space subscriptions

Changed on
get/v1/billing/spaces/{spaceId}/subscriptions

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

spaceIdstring required
Example:123e4567-e89b-12d3-a456-426614174000

Space UUID

Query parameters

statusstring

Response

idstring required
customerIdstring required
upstreamCustomerIdstring required
status'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'paused' | 'trialing' | 'unpaid' required
createdAtnumber required
startAtnumber required
cancelledAtnumber nullable required
cancelAtnumber nullable required
currentPeriodStartnumber nullable
currentPeriodEndnumber nullable
metadataobject nullable
hasPaymentMethodboolean

Whether the subscription has a default payment method, or its customer does as a fallback

Changes

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status