Cancels a subscription.
cURL
curl --request DELETE \ --url https://api.getreditus.com/api/v1/subscriptions/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "<string>", "type": "<string>", "attributes": { "interval": "<string>", "interval_count": 123, "status": "<string>", "original_amount": 123, "original_currency": "<string>", "mrr": 123, "amount": 123, "currency": "<string>", "created_at": 123, "updated_at": 123 } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Subscription ID
Subscription canceled successfully
The response is of type object.
object