internal
Read live terms for the configured save-offer coupon
Changed onReturns the coupon's percent_off and duration_in_months so the cancel modal's Discount panel can render the offer dynamically. The payload is null when STRIPE_SAVE_OFFER_COUPON_ID is unset — the modal hides the panel in that case.
get/api/billing/save-offer-coupon
Request
- Base URLhttps://app.scanopy.net
- URLhttps://app.scanopy.net/api/billing/save-offer-coupon
- Auth
- API key in header Authorization
- or API key in cookie session_id
Response
Save-offer coupon terms, or null when not configured
Example response
{
"meta": {
"api_version": 1,
"server_version": "0.19.4"
}
}Changes
- info
api tag
billingremoved
- info
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info