---
title: "What Are Webhooks?"
description: "Webhooks are automated HTTP POST requests that Swipe Aras sends to a URL you control whenever a specific event occurs on your account."
url: https://docs.swipearas.com/en/articles/63-what-are-webhooks
collection: "Webhooks & Integrations"
updated: 2026-06-12
language: en
---

# What Are Webhooks?

Webhooks are automated HTTP POST requests that Swipe Aras sends to a URL you control whenever a specific event occurs on your account.

Webhooks are automated HTTP POST requests that Swipe Aras sends to a URL you control whenever a specific event occurs on your account. They allow your systems to react to events in real time — without polling the API.

## When to Use Webhooks

-   Receive instant notification when a payment is authorized or refused
    
-   Get alerted when a dispute is filed
    
-   Track onboarding status changes automatically
    
-   Trigger fulfillment or accounting workflows without manual checking
    

## How Webhooks Work

1.  You register a webhook endpoint (a URL on your server) in the Swipe Aras dashboard
    
2.  When an event occurs, Swipe Aras sends an HTTP POST to your endpoint with a JSON payload
    
3.  Your server processes the payload and returns a `200 OK` response
    
4.  If your server doesn't respond with 200, Swipe Aras retries delivery (see Retry Policy & Delivery)
    

## Webhook vs. API Polling

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Approach</p></th><th colspan="1" rowspan="1"><p>When to Use</p></th></tr><tr><td colspan="1" rowspan="1"><p><strong>Webhooks</strong></p></td><td colspan="1" rowspan="1"><p>Real-time events — you want to know the moment something happens</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>API polling</strong></p></td><td colspan="1" rowspan="1"><p>On-demand lookups — you need to query a specific record at a specific time</p></td></tr></tbody></table>

For most integrations, webhooks are the recommended approach for staying in sync with your Swipe Aras account.

> **Requirements:** Your endpoint must be accessible over **HTTPS** (HTTP is not accepted). See Setting Up a Webhook Endpoint for setup steps.
