Skip to main content

Overview

Webhooks allow you to receive real-time notifications when events happen in your Plexos Pay account. Instead of polling the API, we push events to your server.

How It Works

1

Create a webhook endpoint

Register a URL in the dashboard or via the API to receive events.
2

We send events

When something happens (payment debited, refund succeeded, etc.), we send an HTTP POST to your URL.
3

You verify and process

Verify the signature to ensure the event is authentic, then process it.

Creating a Webhook

Save the secret from the response — it’s only shown once and is needed to verify signatures.

Event Types

Event Payload

Signature Verification

Every webhook includes two headers for verification:
  • X-Plexos-Signature — HMAC-SHA256 hex digest
  • X-Plexos-Timestamp — Unix timestamp (seconds)
The signature is computed as:

Verification Examples

Best Practices

Respond with a 200 status code as soon as possible. Process the event asynchronously if needed. We retry on non-2xx responses.
Use the event id to deduplicate. We may send the same event more than once.
Always verify the webhook signature before processing. This prevents attackers from sending fake events.
Our SDKs automatically reject events older than 5 minutes to prevent replay attacks.