Lists subscription groups for the site. The response is paginated and will return a meta key with pagination information.
Account balance information for the subscription groups is not returned by default. If this information is desired, the include[]=account_balances parameter must be provided with the request.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
Result records are organized in pages. By default, the first page of results is displayed. The page parameter specifies a page number of results to fetch. You can start navigating through the pages to consume the results. You do this by passing in a page parameter. Retrieve the next page by adding ?page=2 to the query string. If there are no results to return, then an empty result set will be returned.
Use in query page=1.
1 <= value1This parameter indicates how many records to fetch in each request. Default value is 20. The maximum allowed values is 200; any per_page value over 200 will be changed to 200.
Use in query per_page=200.
value <= 20020A list of additional information to include in the response. The following values are supported:
account_balances: Account balance information for the subscription groups. Use in query: include[]=account_balancesapplication/json
curl -X GET -G \ --url 'https://subdomain.chargify.com/subscription_groups.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'