POST
/
v1
/
plans
Create Subscription Plan
curl --request POST \
  --url https://sandbox.api.withgale.com/v1/v1/plans \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "interval": "monthly",
  "price_cents": 123,
  "currency": "<string>",
  "trial_days": 123
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Plan created

The response is of type object.