cURL
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 }'
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Plan created
The response is of type object.
object