Get payment URLs
GET/company/payment/urls
Returns the URLs to process payments and access the Stripe customer portal.
Operation Flow:
- Authentication via valid JWT with admin permissions
- Verification of configured Stripe account
- Generation of payment session and portal URLs
- Return of URLs with limited validity
Use Cases:
- Display payment button in UI
- Allow customer to manage subscriptions
Response Example:
{
paymentUrl: https://pay.stripe.com/checkout/acct_1Jm...,
customerPortalUrl: https://billing.stripe.com/session/...
}
Responses
- 200
- 401
- 404
Payment URLs obtained
Unauthorized
Not found