Vigilfield Docs
API referenceBilling

`POST /billing/setup-intent` — start adding a card. **Owner-only** (financial root-of-trust). Provisions the org's Stripe customer on first use, then returns a SetupIntent `client_secret` the browser confirms with Stripe Elements (the card is vaulted + attached client-side; raw card never touches us).

POST/billing/setup-intent

Response Body

application/json

curl -X POST "https://example.com/billing/setup-intent"
{  "client_secret": "string"}