billing

Create Billing Portal Session

Create a Stripe billing portal session for managing subscriptions and payment methods.

post/billing/create-portal-session

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/billing/create-portal-session
  • Auth: HTTP bearer

Request body

returnUrlstring uri

URL to return to after portal session

Example request

{
  "returnUrl": "https://aiapplyd.com/dashboard"
}

Response

Portal session created successfully

successtrue required

Example response

{
  "data": {
    "url": "https://billing.stripe.com/session/1234567890"
  },
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.