Closed Ayobamidele closed 1 week ago
This focuses on the email when that is the least of the issues with cancelling a sub
Updated to not focus on the email
Are the other endpoints under subscription having same URI collection??
Yes, Sir.
@Shullyd7 please check the Uri or this and #168 which one makes more sense
@phurhard the one in #168 is cleaner and makes more sense
@Shullyd7 please what are some correction i should make?
id should be a path variable, not query parameter @Ayobamidele
@Shullyd7 Thanks Shully, I've made the changes.
Team DataFlow SlackID @is_oluwadara - nest_js @bami - Fast API
Team DataFlow SlackID @is_oluwadara - nest_js @bami - Fast API
Description
Implement a feature to send Subscription Cancellation Confirmation to users. This endpoint should immediately update users about the Subscription Cancellation Confirmation details in the system. Upon being successfully sent, it will return the message confirming it is being delivered with a '200' status. If an error occurs, an appropriate error status will be returned.
Acceptance Criteria
Purpose
Users get a record/notification of their subscription cancellation confirmation
Requirements
Endpoints
Requests
Successful Response
Error Response
401 Unauthorized
400 Bad Request
404 No subscription matches id.
500 Internal Server Error
Database design
schema
Table name: Subscription
id:
user_id:
plan:
is_active:
cancelled_at:
createdAt:
Tasks:
[POST] /api/v1/user/subscription/notification/cancellation/{id}
Testing: