ㅤReading time – 5 minutes
ㅤFinmap
ㅤ
ㅤWebhook is a powerful tool for system integration and process automation. With Finmap Webhooks, you can receive real-time notifications of payment-related events and use this data to solve a variety of tasks: from automatically updating reports to triggering additional processes in your system.
ㅤ
Webhooks have the following statuses:
ㅤ
- create – payment creation
- update – edit payment
- delete – deletion of payment
ㅤ
ㅤ
ㅤTo get the Webhook set up you need:
ㅤ
1. Go to the service settings
2. Select the Developers section – Webhook
ㅤ
ㅤ
4. Click the Add Webhook button
5. In this tab, you will need to specify the Webhook URL (a link to the service that will accept the Webhook) and the name of the Webhook
ㅤ
ㅤ
ㅤ
✅ Done! Webhooks will now work based on new events about:
- payment creation
- edit payment
- deletion of payment
ㅤ
ㅤ
📌 Webhook example
ㅤ
{
“id”: “66d6c69882fb56e1ace32b4a”,
“eventType”: “operation_create”,
“userId”: “651bde3da0409c6075c6f427”,
“date”: 1725351575992,
“companyId”: “65390882941e03103e1b9958”,
“content”: {
“id”: “66d6c69882fb56e1ace32b48”,
“comment”: “new webhook”,
“amount”: 500,
“date”: 1725362348983,
“type”: “income”,
“tagIds”: [
“653a3a152af9c5441d85bf0a”
],
“projectIds”: [
“653a3a172af9c5441d85c18d”
],
“operationId”: “66d6c697da635a1073c79c22”,
“accountToId”: “653a398e0e2e25c60fc9c815”,
“categoryId”: “653a3a1e2af9c5441d85c9c5”,
“accountTo”: {
“id”: “653a398e0e2e25c60fc9c815”,
“name”: “Payments”
},
“custumerId”: “653a3a172af9c5441d85c0e2”,
“dateOfPayment”: 1725362348012
}
}