Create a webhook endpoint
Register a StableOps Webhook endpoint, choose its events, and save the signing secret returned only at creation for verified payment and subscription delivery.
/v1/webhook-endpointsAuthorization
bearerAuth Paste your API key from the dashboard.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/webhook-endpoints" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com" }'{
"id": "string",
"url": "http://example.com",
"description": "string",
"enabled_events": [
"payment_order.created"
],
"redact_metadata": true,
"disabled_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"secret": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}How is this guide?
Last updated
Update an address PATCH
Update a StableOps receiving address label, allocation mode, or status, and review restrictions on changing addresses allocated to an open payment order.
List webhook endpoints GET
List StableOps Webhook endpoints for your organization and environment to inspect destinations and event subscriptions before changing delivery setup.