Create a webhook
POST
/v2/webhooksRequest
Use this request to create a new webhook for a givenwebhookEventTypeName or webhookEventTypeId.
Request body schema
When provided, we use this to generate a hash-based message authentication code (HMAC) using the SHA-256 algorithm. We Base64 encode this signature. Every event notification you receive for this webhook will include an
x-em-signature header, if a shared secret has been provided. You can use this to verify the integrity and authenticity of the message.Allowable values: ≤ 36 charactersWhether or not the webhook should be enabled.Allowable values:
true, falseThe ID of the account.Allowable values: A valid
accountIdThe name of the webhook event type that you want to create a webhook for.Allowable values:
AccountCreated, AccountActivated, RecipientCreated, RecipientDeleted, BoxCredited, BoxDebited, OrderCreated, OrderCompleted, OrderCancelled, FeeCreated, 3DSAuthRequest, CardTransaction, DigitalWalletTokenTransitionThe ID of the webhook event type that you want to create a webhook for.Allowable values: ≤ 36 characters
The URL of your webhook endpoint.Allowable values: ≤ 512 characters
The authorisation header content for the webhook.Allowable values: ≤ 512 characters