The v1 API will be sunset on August 21, 2026. Migrate to v2. Read the migration guide →
Paytrie Developer Documentation
API ReferenceWebhooks

Patch Webhooks

View as Markdown
PATCH
/webhooks

Update webhook configuration for the authenticated API key. All fields are optional - only include fields you want to update.

Authorization

ApiKeyAuth
x-api-key<token>

API key

In: header

Header Parameters

x-api-key*string

API key for authentication

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/webhooks" \  -H "x-api-key: string" \  -H "Content-Type: application/json" \  -d '{}'
{  "message": "string",  "status": "error"}