Business accounts and API
Webhooks Explained for Non-Developers
What a webhook is, how it differs from checking manually, and what test and live addresses and signatures mean, so you can brief your developer well.
By Hollyway Editorial Team5 min read
In this guide
Your developer says, "We should use webhooks." You nod, and later wonder what you agreed to. The idea is simple, and once you understand it you can ask better questions and spot a poor setup before it costs you orders.
A webhook is a message that Hollyway sends to your system the moment something happens, instead of your system having to keep asking.
The doorbell and the window
Imagine waiting for a delivery. One way is to walk to the gate every five minutes and look. That is how a system works when it keeps asking, again and again, "Has anything changed?" It wastes effort, and you still might miss the rider for a few minutes.
The other way is a doorbell. When the rider arrives, he rings and you respond. A webhook is the doorbell. Hollyway rings an address you have given it, and your system reacts straight away.
Developers call the address a webhook URL or endpoint. It is simply a web address on your own server that is ready to receive these messages.
What a message contains
Each message describes one event: a thing that happened. It names the event type and carries the details your system needs, such as which record changed and what its new state is. Your developer's code reads the message and does something, for example updating an order in your stock system, notifying your team or creating a task.
On Hollyway, a business with a verified account can set up webhooks for events from any feature. The public documentation at /developers lists the event types, so your developer should pick only the ones your business needs. Subscribing to everything is tempting and usually creates noise.
A simple way to choose is to start from a question your staff ask repeatedly. "Has the buyer confirmed?" "Has a new order come in?" Each of those points to an event.
Test and live addresses
You can register two addresses: one for test and one for live. They exist for the same reason a rehearsal exists.
- The test address receives test events. Your developer can build and break things safely, and nobody's real order is affected.
- The live address receives real events from real customers.
Keep them separate. A very common mistake is pointing the live address at a half-finished system and then wondering why real orders disappear. Another is leaving the test address pointed at a developer's laptop that is switched off. Ask your developer to confirm, in writing, which address is attached to which environment.
Do the full run in test first. Only add the live address once the test events have been received, read and acted on correctly.
Signatures, in plain words
Here is the awkward part. Your webhook address is just a web address. If someone discovered it, they could send fake messages saying, "Payment received, release the goods." Your system needs a way to tell real messages from forged ones.
That is what a signature is for. Hollyway signs each message using a secret that only you and Hollyway know. The signature is a short code attached to the message. Your system recalculates the code with the same secret. If the two match, the message is genuine and unchanged on the way. If they do not, your system ignores it.
You do not need to understand the mathematics. You need to understand three consequences:
- The signing secret is as sensitive as a password. Do not paste it in chats, emails or shared documents.
- Your developer must actually check the signature. Receiving it and ignoring it protects nothing.
- A message that fails the check should be rejected and logged, not acted upon.
Things that go wrong
Even a good webhook setup meets ordinary problems, and a competent developer plans for them.
- Your server is down. If a message arrives while your system is offline, it may be missed. Ask how the system recovers, for instance by checking for recent changes after an outage.
- Duplicates. The same message can arrive more than once. The code should notice and not, say, dispatch two parcels.
- Slow handling. The receiving address should answer quickly and do the heavy work afterwards.
- Order of arrival. Messages do not always arrive in the order events occurred, so the code should not assume it.
In Nigeria there is one more practical point: power and data. If your receiving server is an office computer on a generator, expect gaps. Hosting the receiving address on a proper cloud server is better than a machine in the back room.
What your developer needs from you
Before the first meeting, gather these so nothing stalls.
- Confirmation that your business account is verified.
- Access to the business area for the person who will create the webhooks, with the right permission level. Give "manage" only where needed.
- A list of the events you care about, written as plain questions.
- A decision on who receives alerts if the webhook fails.
- The registration number your business uses, since every API call needs it alongside the key.
How Hollyway can help
The full event list and technical notes are published at /developers, and verified businesses can set up test and live webhook addresses from their business area. If you are not verified yet, create an account and start the verification. For questions the documentation does not settle, the team can be reached through live chat Monday to Saturday, 8am to 6pm Lagos time. Describe what you want to happen, and they will point you to the right place.
More business accounts and api
What you need to upgrade to a verified Hollyway business account, how review works and which features it unlocks for your team and systems.
How to give colleagues the right level of access on a verified Hollyway business account, and how to remove people cleanly when roles change.
A plain overview of the Hollyway Business API for shop owners: what it connects, who it suits and what you need in place before your developer starts.
How to handle Hollyway Business API keys: keep test and live apart, store secrets properly, revoke quickly and understand the registration number.
How to read the analytics and usage figures on a Hollyway business account, which trends matter, and which warning signs to act on early.
