Switch Wix Payments test mode

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Switches the app's Wix Payments checkout between test mode and live.

<Warning>Turning test mode on stops real customers from paying until the app is switched back to live.</Warning>

While test mode is on, the checkout takes test payments and real cards aren't charged. Verify a test purchase, then send test_mode: false to start taking real payments. The mode is a Wix Payments setting, so the switch applies to the published app without a deploy.

Sending the mode the app is already in changes nothing and still returns it.

put/api/apps/{app_id}/payments/wix/test-mode

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/apps/{app_id}/payments/wix/test-mode
  • Auth: HTTP bearer

Path parameters

app_idstring required

ID of the Base44 app.

Request body

test_modeboolean required

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

Response

The app's Wix Payments mode after the call.

test_modeboolean required

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

Changes