Skip to main content
POST
End free trial

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Response

The outcome of the charge. Check status.

The outcome of ending a free trial.

status
enum<string>
required

ended_successfully: the trial is over and the first cycle is paid. payment_pending: the charge is still processing. payment_declined: the card was declined and the trial continues, so you can retry. payment_declined_not_retriable: declined, and retrying won't help until the payment method changes. unknown_status: Wix didn't report an outcome.

Available options:
ended_successfully,
payment_pending,
payment_declined,
payment_declined_not_retriable,
unknown_status
Example:

"ended_successfully"

invoice_id
string | null
required

ID of the invoice for the first cycle. null when none was issued.

Example:

"9a8b7c6d-1234-4f5e-8a9b-0c1d2e3f4a5b"