cURL
curl --request GET \ --url https://api.bunship.com/api/v1/organizations/{orgId}/billing/portal \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "url": "https://billing.stripe.com/p/session/bps_abc123..." } }
Get a Stripe Customer Portal URL for self-service billing management
true
Show data properties
curl "https://api.bunship.com/api/v1/organizations/org_cld2abc123def456/billing/portal?return_url=https://app.bunship.com/billing" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."