post https://api.reepay.com/v1/subscription//discount
Add a subscription discount using discount as template. Only discount argument is mandatory the rest of the arguments can be used to override the settings on the discount.
Errors
The operation can generate the following errors beside the generic HTTP error codes described here.
Error code | HTTP code | Description |
---|---|---|
12 | 404 | Subscription not found |
83 | 404 | Discount not found |
11 | 400 | Duplicate subscription discount handle given |
85 | 400 | Multiple discounts not allowed. Can be changed in discount settings |