# 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 "Enlace directo al Arguments")

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

### Type[​](#type "Enlace directo al Type")

#### [`Payment`](https://docs.monei.com/es/es/apis/graphql/types/objects/payment/.md) object[​](#payment- "Enlace directo al payment-")

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