Get Coupon
Get Coupon
Get a coupon by id
GET
Get Coupon
Authorizations
Use a Bearer token to access this API.
Path Parameters
Example:
"obj_01EXAMPLE00000000000000000"
Response
Success
A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to subscriptions and checkout sessions.
Example:
{
"coupon_id": "fcoup_1234567890",
"amount_off": 0,
"applies_to": { "products": ["string"] },
"duration": "once",
"duration_in_months": 0,
"metadata": {},
"name": "Example",
"percent_off": 0,
"max_redemptions": 0,
"times_redeemed": 0,
"valid": false,
"created_at": "2024-01-01T00:00:00Z",
"test_mode": false
}