v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Stripe Payments

Configure Managed Stripe Webhook

Create or recreate the InsForge-managed Stripe webhook endpoint for one environment.

post/api/payments/stripe/{environment}/webhook

Path parameters

environment'test' | 'live' required

Payment provider environment.

Response

Managed webhook configuration result

Example response

{
  "connection": {
    "accountId": "acct_123",
    "accountEmail": "owner@example.com",
    "webhookEndpointId": "we_123",
    "webhookEndpointUrl": "https://api.example.com/api/webhooks/stripe/test",
    "maskedKey": "sk_test_...abcd"
  }
}