API ReferenceWebhook
Remove the webhook configuration
Removes the webhook configuration entirely. No v2 webhook envelopes will be delivered until the configuration is recreated.
Authorization
ApiKeyAuth x-api-key<token>
API key for integrator authentication
In: header
Header Parameters
x-api-key*string
API key for authentication
Response Body
application/json
import { PaytrieAPI, configure } from '@paytrie/sdk'configure({ headers: { 'x-api-key': process.env.PAYTRIE_API_KEY! } })const { data } = await PaytrieAPI.deleteWebhookConfiguration()Empty
{ "success": false, "errors": [ { "field": "string", "message": "string" } ]}