This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Connects a Wix Payments account to the site.
The call fails if:
{"tosAccepted": true}.account.country that isn't currently supported. Supported
countries: US, CA, GB, ES, AT, BE, FI, DE, IT, NL, PT,
CH, LT. If you don't specify a country, it defaults to US.The connected Wix Payments account has the following limitations, which site owners can manage in their dashboard:
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.