Purchase a service
Changed onRequest
- 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
Slug of the subscription plan
Query parameters
Optional creator code
Optional discount code
Return to the slot management page after checkout
stripe, paypal or lemonsqueezy; defaults to lemonsqueezy
Optional ISO country the buyer selected; defaults to the request country
Request body
The user's early performance declaration for a subscription checkout. Same fields as the declaration of Coflnet.Sky.Api.Models.PurchaseArgs; the legal texts are filled in by the server.
Whether the user expressly requested early performance for this order.
Whether the user acknowledged the consequence of complete performance.
Hash-verified declaration version shown to the user.
Locale in which the declaration was shown.
Idempotency identifier (a GUID) for this declaration and order.
Response
OK
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