Premium
Start a new topup session with stripe
Changed onpost/api/topup/stripe/{productSlug}
Request
- Base URLhttps://sky.coflnet.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or API key in header GoogleToken
Path parameters
productSlug, string required
Request body
Top Up Arguments required
Additional arguments for a topup
coinAmount, integer required
A specific amount of coins to topup
successUrl, string nullable
The url to redirect to after successful payment
cancelUrl, string nullable
The url to redirect to when user aborts payment
creatorCode, string nullable
An optional creator code to apply to the purchase
discountcode, string nullable
An optional discount code to apply to the purchase
Response
OK
Top Up Id Response required
id, string nullable
dirctLink, string nullable
directLink, string nullable
trialDays, integer nullable
Changes
- info
added the optional property
trialDaysto the response with the status (media type: text/plain) - info
added the optional property
trialDaysto the response with the status (media type: application/json) - info
added the optional property
trialDaysto the response with the status (media type: text/json)
- info