Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Check discount can apply to plan, Only check rules about plan,the actual usage is subject to the subscription interface
The discount's unique code, customize by merchant
The externalId of plan which code to apply, either planId or externalPlanId is needed
IsChangeToLongPlan
IsChangeToSameIntervalPlan
IsUpgrade
The id of plan which code to apply, either planId or externalPlanId is needed

