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

Portal

Prod Env
https://backend.clara.crazi.co/api/v1
Prod Env
https://backend.clara.crazi.co/api/v1
POST
https://backend.clara.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
Body

🟠400Bad Request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://backend.clara.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