Clara-Backend
  1. Stripe
Clara-Backend
  • Clara-Backend
    • Get Started
    • Quickstart (Rest API)
    • Quickstart (MCP Server)
    • Auth
      • Register
      • Google OAuth
      • Login
      • Logout
      • Change Password
      • Send OTP
      • Activate
      • Enable 2FA
      • Disable 2FA
    • User
      • View
      • Update
    • API Key
      • View
      • Reset
    • Transaction
      • View All
      • View
    • Task
      • View All
      • View
    • Agent
      • Supported Attachments
      • Analysis
    • Stripe
      • Rate
        GET
      • Portal
        POST
      • Buy
        POST
    • Misc
      • Health
      • Version
  • Flask Backend Boilerplate
    • Get Started
    • Quickstart
    • Auth
      • Register
      • Google OAuth
      • Login
      • Logout
      • Change Password
      • Send OTP
      • Activate
      • Enable 2FA
      • Disable 2FA
    • User
      • View
      • Update
    • Transaction
      • View All
      • View
    • Stripe
      • Rate
      • Portal
      • Buy
    • Misc
      • Health
      • Version
  1. Stripe

Portal

Prod Env
https://backend.crazi.co/api/v1
Prod Env
https://backend.crazi.co/api/v1
POST
https://backend.crazi.co/api/v1
/stripe/portal
This endpoint lets a user manage his billing using Stripe customer portal.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or

Responses

🟢201Success
text/plain
🟠400Bad Request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://backend.crazi.co/api/v1/stripe/portal' \
--header 'Authorization: Bearer <token>'
Response Response Example
201 - Success
{
  "data": {
    "url": "https://billing.stripe.com/p/session/test_YWNjdF8xU0ZyMm1Ld1luNXJKcDlOLF9UVXQ4T1BaZ0x3THpPWUxZT3l2RXh3U2NGekxFOTB60100YSmzbPRw"
  },
  "message": "Customer portal session created successfully.",
  "status": "success"
}
Modified at 2025-11-27 01:56:03
Previous
Rate
Next
Buy
Built with