Post API v1 stripe product

Changed on
post/api/v1/stripe_product/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

$schemastring uri

A URL to the JSON Schema for this object.

descriptionstring required
namestring required

Example request

{
  "$schema": "https://example.com/schemas/CreateStripeProductRequest.json",
  "description": "Get premium content with this subscription",
  "name": "Premium Plan"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

activeboolean required
createdinteger required
descriptionstring required
idstring required
namestring required

Example response

{
  "$schema": "https://example.com/schemas/StripeProductResponse.json",
  "active": true,
  "created": 1700000000,
  "description": "Get premium content with this subscription",
  "id": "prod_12345",
  "name": "Premium Plan"
}

Changes