Cancel Plan
Cancel a specific existing subscription plan.
POST
https://api.spotflow.co/api/v1/plans/:plan-id/cancel
Headers
authorization |
|
---|
Path Parameters
plan-id int32
This is the unique ID
of the subscription plan you want to cancel.
Sample Response
200 OK
{
"id": "11aa6bc6-52e6-4821-900c-f33f9bf0c060",
"title": "Dstv Sub",
"frequency": "MONTHLY",
"internalReference": "test-1212",
"amount": 1000.00,
"currency": "USD",
"status": "cancelled",
"createdAt": "2024-06-06T19:43:55Z"
}