Skip to main content
POST
Open Billing Portal

Authorizations

Authorization
string
header
required

Authenticate with a customer token, minted server-to-server with POST /v1/shops/{shopId}/customers/{customerId}/token and sent as a Bearer token. Reseller API keys are rejected with a 403 here.

Path Parameters

subscriptionId
integer
required

The subscription ID.

Response

success
boolean
Example:

true

url
string
Example:

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