---
title: "Create a Subscription"
method: POST
path: "/v1/subscriptions"
---

# Create a Subscription

`POST /v1/subscriptions`

Use secret API key to create a Subscription.

## Request body

- object
  - `data` object
    - `attributes` object
      - `customer_id` string, required — ID of the customer who will subscribe to a Plan.
      - `plan_id` string, required — ID of the selected Plan of the customer.

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/versions/c18f9a027b2c/schema)
