Skip to main content

Offer

Server-owned discount offer. start/end are unix seconds bounding the active window; planId is the Stripe price id; price is the display price; validTime is display hours.

planIdstringrequired
startinteger<int64>required
endinteger<int64>required
pricenumber<float>required
validTimeinteger<int16>required
Offer
{
"planId": "string",
"start": 0,
"end": 0,
"price": 0,
"validTime": 0
}