> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createPaymentSubscriptionGroup

> Create a Payment Subscription Group in the current Network. Members can switch
between the distinct Payment Plans it contains on the same platform.

**Required scope:** `host:write:network_plans`



**mutation** `createPaymentSubscriptionGroup(input: CreatePaymentSubscriptionGroupInput!): CreatePaymentSubscriptionGroupPayload`

## Arguments

**`input`**: `CreatePaymentSubscriptionGroupInput!` (required)

Parameters for CreatePaymentSubscriptionGroup

## Returns

`CreatePaymentSubscriptionGroupPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`paymentSubscriptionGroup`**: `PaymentSubscriptionGroup`

## Examples

```graphql Mutation
mutation CreatePaymentSubscriptionGroup($input: CreatePaymentSubscriptionGroupInput!) {
  createPaymentSubscriptionGroup(input: $input) {
    clientMutationId
    errors
    paymentSubscriptionGroup {
      bundles {
        approvalEnabled
        benefits
        createdAt
        description
        external
        id
      }
      id
      name
      platform
    }
  }
}
```

```json Variables
{
  "input": {
    "name": "string",
    "platform": "IOS"
  }
}
```

```json Response
{
  "data": {
    "createPaymentSubscriptionGroup": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "paymentSubscriptionGroup": {
        "bundles": [
          {
            "approvalEnabled": true,
            "benefits": [
              "string"
            ],
            "createdAt": "value",
            "description": "string",
            "external": true,
            "id": "id"
          }
        ],
        "id": "id",
        "name": "string",
        "platform": "IOS"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.