delete https://api.sandbox.deuna.io/api/v1/merchants/subscriptions/
This endpoints finishes a subscription by its subscription id. The subscription passes to a expired
status. This allows you to make refunds or final charges by the time a subscription was active.
Business rules:
- The subscription must have its last entry as "paid." That is, the invoice status must be paid; otherwise, the API will return a validation error.
- The subscription must be active.
- Once the subscription ends, the merchant will have the option of providing a partial or full refund to the customer.