Deplo
API Reference

Create a Stripe SetupIntent to collect card details (no redirect)

POST
/billing/setup-intent
AuthorizationBearer <token>

Enter your JWT token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

workspaceId*string

Response Body

application/json

curl -X POST "https://loading/billing/setup-intent" \  -H "Content-Type: application/json" \  -d '{    "workspaceId": "ws_abc123"  }'
{
  "client_secret": "seti_...",
  "setup_intent_id": "seti_..."
}