Dashboard
APIGet Coupon API - View Discount Code Details | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Mock
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Get Coupon - View Discount Code Details via API

Fetch complete details for a single discount coupon by its ID. The response includes the coupon type, discount amount or percentage, applicable plans, usage restrictions, and redemption statistics—everything you need to audit or display coupon information.

GET/v2/projects/{project_id}/coupons/{coupon_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

coupon_idstringrequired

The unique identifier of the coupon.

Last updated: