# How to verify Webhook Signature with PHP script

**URL:** https://community.rapyd.net/t/how-to-verify-webhook-signature-with-php-script/1382
**Category:** ⚙️ API
**Tags:** disburse-api, collect-api
**Created:** [January 14, 2022, 10:45am UTC](https://community.rapyd.net/t/how-to-verify-webhook-signature-with-php-script/1382 "2022-01-14T10:45:41Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![CharlesDorsett](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/charlesdorsett/32/47_2.png) [@CharlesDorsett](https://community.rapyd.net/u/CharlesDorsett)
#### Post date: [February 1, 2022, 4:58pm UTC](https://community.rapyd.net/t/how-to-verify-webhook-signature-with-php-script/1382/5 "2022-02-01T16:58:04Z")

</div>

Just an update here - after asking around a lot, I discovered that there are 2 issues that can mess up the string that is hashed:

- All spaces and other whitespace outside of strings must be removed.
- Numbers should be sent in strings, not as numbers.

---

_[View the full topic](https://community.rapyd.net/t/how-to-verify-webhook-signature-with-php-script/1382)._
