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

Webhooks Management

Webhook configuration and management

GET
/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

Response Body

application/json

application/json

curl -X GET "https://example.com/public/2025-04-01/webhooks"
{  "success": true,  "data": [    {      "id": "string",      "event": "string",      "url": "string"    }  ]}
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"}
DELETE
/public/2025-04-01/webhooks/{id}
x-api-key<token>

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

In: header

Path Parameters

id*string

The Webhook id to delete

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/public/2025-04-01/webhooks/123e4567-e89b-12d3-a456-426614174000"
{  "success": true}
Was this page helpful?