API

StripeWebhook

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/stripe/webhooks create Event stored; processing runs in a job

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.StripeWebhook(nil).Create(map[string]any{}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:StripeWebhook():create({  })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->StripeWebhook()->create([]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.StripeWebhook().create({  })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.StripeWebhook.create({  })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.StripeWebhook().create({  })

Fields

Field Type Required Description

create

POST /api/v1/stripe/webhooks

Operation ID: api_v1_stripe_webhooks.

Authentication: not required.

Responses

200: Event stored; processing runs in a job
400: Malformed body
401: Signature invalid or the secret is not configured