メインコンテンツへスキップ
PATCH
/
webhooks
/
{webhook_id}
/
headers
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});

await client.webhooks.headers.update('whk_YdWqVEGKmSYKbsIyDxEab', { headers: { foo: 'string' } });

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

webhook_id
string
必須

Webhook ID

ボディ

application/json
headers
object
必須

Object of header-value pair to update or add

レスポンス

Webhook headers patched successfully

最終更新日 2026年4月1日