Skip to main content
PUT
Switch Wix Payments test mode

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.

Path Parameters

app_id
string
required

ID of the Base44 app.

Body

application/json
test_mode
boolean
required

Whether to switch the checkout to test mode (true) or live (false).

Example:

false

Response

The app's Wix Payments mode after the call.

The app's Wix Payments mode.

test_mode
boolean
required

Whether the checkout is in test mode (true) or live (false).

Example:

false