Billing
Start checkout
POST
Returns a Checkout Session client secret for Stripe Elements. With a trial, the trial is on Standard and plan applies after it.
bearerheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
application/json- body
plan*stringValue in
"lite""standard""pro"Checkout
application/json- response
clientSecret*stringplan*trialPlan*|nulltrialEnd*|Format
date-timefirstChargeAt*stringFormat
date-timefirstChargeCents*integercurl -X POST 'https://fastwater.app/v1/billing/checkout' \ -H 'Content-Type: application/json' \ -d '{ "plan": "lite"}'Example Response
{ "clientSecret": "string", "plan": { "key": "lite", "name": "string", "priceCents": 0, "storageQuotaBytes": 0, "maxActiveTransfers": 0, "maxScreens": 0, "fileRetentionDays": 0, "webdav": true, "priorityDownloads": true, "maxPeople": 0 }, "trialPlan": { "key": "lite", "name": "string", "priceCents": 0, "storageQuotaBytes": 0, "maxActiveTransfers": 0, "maxScreens": 0, "fileRetentionDays": 0, "webdav": true, "priorityDownloads": true, "maxPeople": 0 }, "trialEnd": "2019-08-24T14:15:22Z", "firstChargeAt": "2019-08-24T14:15:22Z", "firstChargeCents": 0}