Skip to main content
POST
/
v1
/
billing
/
subscriptions
Create Subscription
curl --request POST \
  --url https://api.example.com/v1/billing/subscriptions \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "user_id": "<string>",
  "plan_type": "monthly",
  "price_usd": 9.99
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.charmos.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
agent_id
string
required
user_id
string
required
plan_type
string
default:monthly
price_usd
number
default:9.99

Response

Successful Response

The response is of type Response Create Subscription V1 Billing Subscriptions Post · object.