Skip to main content
POST
/
stripe
/
connect
/
accounts
/
{accountId}
/
products
Create Product
curl --request POST \
  --url https://api.chat-dash.com/v1/public/stripe/connect/accounts/{accountId}/products \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "pricing_model": "base",
    "currency": "usd",
    "name": "Starter Plan",
    "description": "Up to 100 minutes included",
    "period": "month",
    "metrics": "minutes",
    "base_price": 2999,
    "usage_price": 10,
    "usage_limit": 100,
    "overage_price": 15,
    "tax_behavior": "exclusive"
  }
}
'
{
  "productId": "prod_ABC123XYZ",
  "productName": "Starter Plan",
  "description": "Up to 100 minutes included",
  "taxBehavior": "exclusive",
  "pricing": {
    "amount": "2999",
    "billingCycle": "month",
    "currency": "usd",
    "pricingModel": "base",
    "metrics": "minutes",
    "usageLimit": 100,
    "overage": "15"
  },
  "creationDate": 1700000000,
  "activeSubscriptionsCount": 0,
  "status": "active"
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

accountId
string
required

The Stripe connected account ID

Body

application/json
data
object

Response

OK

productId
string
Example:

"prod_ABC123XYZ"

productName
string
Example:

"Starter Plan"

description
string | null
Example:

"Up to 100 minutes included"

taxBehavior
string
Example:

"exclusive"

pricing
object
creationDate
integer
Example:

1700000000

activeSubscriptionsCount
integer
Example:

0

status
string
Example:

"active"