Enhanced password security for webhook endpoint

In general it is not necessary to secure the webhook endpoint because you will be able to verify the origin of the request using the Payrexx API.


  1. Create a .htaccess file in the folder where your webhook script is located:
    AuthType Basic
    AuthName "Webhook Security"
    AuthUserFile /absolute-path-to-the-webhook-directory/.htpasswd
    Require valid-user
  2. Create a .htpasswd file in the folder where your webhook script is located:
    You can generate the content for the file on http://www.htaccesstools.com/htpasswd-generator/

  3. Now you have to tell Payrexx the username and password in the webhook url setting:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.