Appearance
포털 이동 Default
POST/workspaces/{id}/subscription.portalCopied!
워크스페이스 구독을 관리할 Billing Portal URL을 생성해요.
접근 가능한 사용자
사용자
접근 권한
워크스페이스
Request
Body
returnUristringrequired 포털에서 돌아올 URI
Path
idstringrequired 워크스페이스 ID
Response
Returns 201 Created.
urlstringStripe Billing Portal URL
Example
bash
curl -X POST 'https://api.youvico.com/workspaces/6ba7b810-9dad-11d1-80b4-00c04fd430c8/subscription.portal' \
-H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...' \
-H 'Content-Type: application/json' \
-d '{
"returnUri": "https://app.youvico.com/settings/billing"
}'json
{
"url": "https://billing.stripe.com/p/session/..."
}