Create a webhook secret

Creates a secret to be used in legacy webhooks for a merchant account or payout account.

Set up a webhook secret for additional security. After you create a secret, each webhook includes a header containing a signature. You can use the signature to verify that all data received is authentic.

For a tutorial about configuring and using webhooks, see Configuring legacy webhooks in Guides.



For the current workflow, see the Register webhook URLs endpoint instead.


Try It

To use the Try It feature for this endpoint, you must use the credentials for your Sandbox API user.

Request parameters

  • merchantId
  • payoutAccountId

Response parameters

  • secret
Click Try It! to start a request and see the response here!