Webhook Service
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.
<!-- theme: info --><!-- theme: warning -->📘 Note
For the current workflow, see the Register webhook URLs endpoint instead.
<div style="display:none;">⚠️ 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
post/webhook/v3/secret
Request body
Example request
{
"merchantId": "000999"
}Response
Success
Example response
{
"secret": "446946d5-bdd9-48c7-9504-0459d19c08e5"
}