Reference / Billing

Add/update Identra's own payment method (dashboard Payment Element via a platform SetupIntent).

POST /v1/billing/setup-intent
Secret API key operationId: platform_setup_intent

Authorization

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

Responses

200 SetupIntent client secret
{
  "data": {
    "client_secret": "string",
    "customer_session_client_secret": "string",
    "publishable_key": "string"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
422 Stripe not configured

Request

curl -X POST "https://api.identrahq.com/v1/billing/setup-intent" \

Try it

live request
POST https://api.identrahq.com/v1/billing/setup-intent