# activateSubscription

Activates a subscription by attaching a payment method and initiating the billing cycle. Transitions a `PENDING` subscription to `ACTIVE` and creates the initial payment to validate the payment method. If the subscription is already active, this can be used to update the payment method.

```
activateSubscription(

  input: ActivateSubscriptionInput!

): Payment
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`activateSubscription.input`](#input) ● [`ActivateSubscriptionInput!`](https://docs.monei.com/apis/graphql/types/inputs/activate-subscription-input/.md) non-null input[​](#input "Direct link to input")

### Type[​](#type "Direct link to Type")

#### [`Payment`](https://docs.monei.com/apis/graphql/types/objects/payment/.md) object[​](#payment- "Direct link to payment-")

Payment returned from create/refund/capture/cancel and the send-link/receipt mutations.
