Update the headers for a specific webhook.
JavaScript
import DodoPayments from 'dodopayments'; const client = new DodoPayments({ bearerToken: 'My Bearer Token', }); await client.webhooks.headers.update('webhook_id', { headers: { foo: 'string' } });
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Object of header-value pair to update or add
Show child attributes
Webhook headers patched successfully
Was this page helpful?