Deactivate a coupon
Coupons
Deactivate a coupon
Alias for PATCH { active: false }. Coupons are never hard-deleted (redemption history is preserved).
DELETE
Deactivate a coupon
Authorizations
Your PayBridgeNP API key. Obtain one from the dashboard under Settings → API Keys. Prefix: sk_test_ for testing, sk_live_ for production.
Path Parameters
Response
Coupon deactivated.
Example:
"cpn_01j9x2k3m4n5p6q7r8s9t0u1v2"
Available options:
coupon Example:
"WELCOME10"
Example:
"Welcome 10%"
Available options:
percent, amount Percent discount (1–100), when discount_type is percent.
Example:
10
Fixed discount in paisa, when discount_type is amount.
Example:
"NPR"
Available options:
once, repeating, forever Billing cycles the discount applies, when duration is repeating.
Example:
0
Restrict to specific plan IDs, or null for all plans.
true when created with a live key, false for sandbox.