post https://api-payment.inspireplatform.io/subscriptions//cancel
Overview
Cancel a subscription immediately or schedule a cancellation for a future date.
Pass the details for the cancellation in the body parameters:
Name | Type | Description | Required |
---|---|---|---|
cancelledDate | DateTime | This is the date when the subscription must be cancelled. | Yes |
refundAmount | Number | If the customer is due a refund, this is the ammount to be refunded. | No |