Skip to main content
POST
Create payment method update session

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.

Query Parameters

open_other_payment_methods_tab
boolean
default:false

true opens the page on adding a new payment method instead of editing the current one. Defaults to false.

Response

A link to the Wix payment method page.

A hosted billing page for a person to open.

url
string
required

Link to a hosted page. Open it in a browser for a person to finish there. Some links work only once or expire, so open it right away and don't store it.

Example:

"https://billing.stripe.com/p/session/live_YWNjdF8xTjNYcm1EcjU2TDg5ZGtL"