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
Refactor our current API endpoint for creating a new billing plan to have the following route, request body, and response body.
POST: /api/v1/billing-plans
{ "name": "string", "frequency": "Monthly", "is_active": true, "amount": 0, "description": "string" }
Status Code: 201 Created
{ "data": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "string", "frequency": "Monthly", "is_active": true, "amount": 0, "description": "string", "created_at": "2024-08-24T14:53:25.025Z", "updated_at": "2024-08-24T14:53:25.025Z" }, "message": "string", "status_code": 0 }
400 Bad Request
{ "data": "string", "error": "string", "message": "string", "status_code": 0 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Refactor our current API endpoint for creating a new billing plan to have the following route, request body, and response body.
Route
Request Body:
Response Body:
Status Code: 201 Created
Status Code:
400 Bad Request
The text was updated successfully, but these errors were encountered: