Help / Guides / Developers and API
Get messages when things happen (webhooks)
A webhook is a message our system sends to your system when something happens, like a card payment or a payment arriving. You give us a web address, and we send each event there. Then your software knows at once, without having to keep asking.
We turn this on for you when you ask. Send us a message in Messages, or press the button on the page in your account.
Before you start
- You are the owner or an admin.
- Your developer has a web address that starts with https and can receive the messages.
Step by step
Open Developers
In the menu on the left, press “Developers”. Scroll down to “Webhooks”.
Type your web address
Under “Add an endpoint”, type the address your developer gave you. An endpoint is the web address that receives the messages.
Choose the events
Leave it as it is to get every event. Or tick “Only some events” and tick the ones you want.
Press “Add endpoint”
A signing secret appears. It is shown once.
Give the secret to your developer
Copy the signing secret and keep it on your server. Your software uses it to check that each message really came from us.
Press “Done”
Your address now shows in the list, with the events it gets.
Send a test
Press “Send a test event”. The test shows under “Recent webhook deliveries”, so you can see if it arrived.
Good to know
- You can have up to 5 endpoints.
- Each message has a “Valtora-Signature” header. Your developer should refuse a message whose time stamp is more than 5 minutes old.
- If your system doesn't answer, we try again, up to 8 times.
- To stop messages to an address, press “Turn off” next to it. Messages stop at once.
If something goes wrong
It says “Webhook URLs must use https”.
The address must start with https://. Ask your developer for a secure address.
It says “Use a public address” or “Use a public host name”.
We can only send to an address the whole internet can reach, not one inside your office network.
It says “Up to 5 active endpoints. Turn one off first”.
Press “Turn off” on an address you don't need, then add the new one.
A delivery shows “failed”.
Your system didn't accept it. Ask your developer to fix it, then press “Send again” on that delivery. To resend every failed one from the last 24 hours, press “Send failed again”.
Read next
Still stuck? Write to us in Messages in your account, or see other ways to get help.