New Chargeflow docs. Everything for merchants, platforms, and the API in one place.
Log in
Current (2025-04-01)Merchants APIWebhooks Management

Create Webhook

The Create Webhook API allows you to register a webhook for a specific event type and URL target.

POST
/public/2025-04-01/webhooks
x-api-key<token>

Your Chargeflow API key, sent on every request. Generate one in the Chargeflow App, or see API keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/public/2025-04-01/webhooks" \  -H "Content-Type: application/json" \  -d '{    "event": "webhook.test",    "url": "http://example.com"  }'
{  "success": true,  "id": "string"}
Was this page helpful?
llms.txt