Reference / Billing

Move Identra's own paid plan to a Stripe `pro` subscription; returns the client secret to confirm.

POST /v1/billing/subscription/stripe
Secret API key operationId: platform_subscribe_pro

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Responses

200 Subscription created
{
  "data": {
    "client_secret": "string",
    "customer_session_client_secret": "string",
    "publishable_key": "string"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
422 Stripe / pro price not configured

Request

curl -X POST "https://api.identrahq.com/v1/billing/subscription/stripe" \

Try it

live request
POST https://api.identrahq.com/v1/billing/subscription/stripe