{ "opencollection": "1.0.0", "info": { "name": "Stripe Accounts Account Coupon API", "version": "2023-10-16" }, "items": [ { "info": { "name": "Coupon", "type": "folder" }, "items": [ { "info": { "name": "Stripe Get Coupons Coupon", "type": "http" }, "http": { "method": "GET", "url": "https://api.stripe.com/v1/coupons/:coupon", "params": [ { "name": "coupon", "value": "", "type": "path" }, { "name": "expand", "value": "", "type": "query", "description": "Specifies which fields in the response should be expanded." } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "
Retrieves the coupon with the given ID.
" }, { "info": { "name": "Stripe Post Coupons Coupon", "type": "http" }, "http": { "method": "POST", "url": "https://api.stripe.com/v1/coupons/:coupon", "params": [ { "name": "coupon", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.
" }, { "info": { "name": "Stripe Delete Coupons Coupon", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.stripe.com/v1/coupons/:coupon", "params": [ { "name": "coupon", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "You can delete coupons via the coupon management page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can’t redeem the coupon. You can also delete coupons via the API.
" } ] } ], "bundled": true }