---
title: "Subscribe Handler"
method: POST
path: "/payments/subscribe"
---

# Subscribe Handler

`POST /payments/subscribe`

## Headers

- `x-api-key` string

## Cookies

- `lmnt-auth0` string, nullable

## Request body

- SubscribeRequest
  - `price_id` string, required

## Response `200`

Successful Response

- SubscribeResponse
  - `subscription_id` string, required
  - `client_secret` string, required
  - `amount` integer, required
  - `currency` string, required
  - `applied_discount` AppliedDiscount
    - `name` string, required
    - `description` string, required

## Other responses

- `422` — Validation Error

---

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