End free trial
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Ends your workspace's free trial now and starts the paid plan. Only the workspace owner can end it. This works only for a workspace billed through Wix that's in a free trial. Otherwise it returns 400 with not_wix_billed or not_in_free_trial.
<Warning>This charges the saved payment method for the first billing cycle right away, with no confirmation step.</Warning>
<Warning>A declined card isn't an error. The response is 200 with status set to payment_declined or payment_declined_not_retriable, and the workspace stays in its free trial. Check status before you treat the trial as ended.</Warning>
To fix a declined card, update it with Create payment method update session, then call this again.
The base rate limit is 10 requests per hour per user. See Rate limits for the multiplier your plan gets.
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/billing/end-free-trial
- AuthHTTP bearer
Response
The outcome of the charge. Check status.
Example response
{
"status": "ended_successfully",
"invoice_id": "9a8b7c6d-1234-4f5e-8a9b-0c1d2e3f4a5b"
}Changes
- info
endpoint added
- info