---
title: "This API will subscribe user to stripe payment."
method: POST
path: "/api/stripe/subscription"
tags: ["api/stripe"]
---

# This API will subscribe user to stripe payment.

`POST /api/stripe/subscription`

## Request

- Base URL: `http://localhost:5002`
- URL: `http://localhost:5002/api/stripe/subscription`
- Auth: none declared. Required headers: `userid`, `authorization`

## Headers

- `userid` string, required
- `authorization` string, required

## Request body `application/x-www-form-urlencoded`

- object
  - `card_token` string, required

## Response `default`

Successful

---

[API](https://skmtc.dev/breshna/apis/breshna-backend-apis.md) - [All operations](https://skmtc.dev/breshna/apis/breshna-backend-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/breshna/apis/breshna-backend-apis/revisions/c1038f1781fe?raw)
