We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current API does not have a way to create a new billing plan
POST - \api\v1\billing-plans
\api\v1\billing-plans
{ Authorization: "Bearer {auth-token}" }
Request Body:
{ "name": "Free", "description": "Free", "frequency": "monthly", "amount": 0, "is_active": true }
201- Successful billing plan creation
{ status: string, message: string, data: { "name": "Free", "description": "Free", "frequency": "monthly", "amount": 0, "is_active": true } }
403 - Billing plan already exists
{ status: "error", message: "This billing plan already exists", data: {} }
500 - Internal server error
{ status: "error", message: "Internal server error", data: {} }
There is an endpoint for creating billing plans
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The current API does not have a way to create a new billing plan
Acceptance Criteria
Request
POST -
\api\v1\billing-plans
Request Body:
Responses
201- Successful billing plan creation
403 - Billing plan already exists
500 - Internal server error
Expected Outcome
There is an endpoint for creating billing plans
The text was updated successfully, but these errors were encountered: