Skip to main content
POST
/
api
/
user
/
stripe
/
customer-portal
Get customer portal URL
curl --request POST \
  --url http://localhost:3000/api/user/stripe/customer-portal \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "url": "<string>"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Response

Customer portal URL retrieved successfully

success
boolean
Example:

true

url
string<uri>

Stripe customer portal URL