Skip to main content
POST
/
pp
/
create
Create a price point
curl --request POST \
  --url https://billing.funnelfox.com/{org_id}/v1/pp/create \
  --header 'Content-Type: application/json' \
  --data '{
  "ident": "<string>",
  "intro_type": "no_intro",
  "currency_code": "<string>",
  "lifetime_price": 123,
  "intro_free_trial_period": 1,
  "intro_free_trial_period_duration": "minutes",
  "intro_paid_trial_price": 123,
  "intro_paid_trial_period": 1,
  "intro_paid_trial_period_duration": "minutes",
  "next_price": 123,
  "next_period": 1,
  "next_period_duration": "minutes",
  "descriptor": "<string>",
  "features": [
    "<string>"
  ]
}'
{}

Path Parameters

org_id
string
required

Organization ID

Body

application/json
ident
string
required

Unique identifier for this price point

Maximum length: 256
intro_type
enum<string>
required
Available options:
no_intro,
free_trial,
paid_trial
currency_code
string
required
features
required

Feature list (array of strings or CSV string)

lifetime_price
intro_free_trial_period
integer | null
Required range: x > 0
intro_free_trial_period_duration
enum<string>
Available options:
minutes,
days,
weeks,
months,
years
intro_paid_trial_price
intro_paid_trial_period
integer | null
Required range: x > 0
intro_paid_trial_period_duration
enum<string>
Available options:
minutes,
days,
weeks,
months,
years
next_price
next_period
integer | null
Required range: x > 0
next_period_duration
enum<string>
Available options:
minutes,
days,
weeks,
months,
years
descriptor
string | null
Maximum length: 22

Response

200 - application/json

The response is of type object.

I