Skip to content
SkanPay Docs

Webhook events

The object SkanPay POSTs to your webhook URL. See Webhooks for delivery and verification.

The event object

{
  "id": "evt_01J9Z3M2A7B8C9D0E1F2G3H4J5",
  "object": "event",
  "type": "charge.successful",
  "created_at": "2026-09-28T09:30:08.000Z",
  "data": {
    "object": { "id": "chg_…", "object": "charge", "status": "SUCCESSFUL", ... }
  }
}

Attributes

idstring
Unique per event (evt_). Repeated deliveries and replays carry the same id: use it to de-duplicate.
objectstring
Always "event".
typestring
What happened. See below.
created_atstring
When the event happened (not when it was delivered).
data.objectobject
The charge, deposit, payout or withdrawal as it was at that moment.

Event types

typedata.objectSent
charge.successfulchargeYes
charge.failedchargeYes
charge.reversedchargeYes
deposit.successfuldepositYes
deposit.faileddepositYes
payout.successfulpayoutWhen payouts are switched on
payout.failedpayoutWhen payouts are switched on
withdrawal.successfulwithdrawalWhen withdrawals are switched on
withdrawal.failedwithdrawalWhen withdrawals are switched on
charge.pendingchargeReserved, not sent
refund.successfulrefundReserved, not sent
refund.failedrefundReserved, not sent

Delivery headers

HeaderValue
SkanPay-Signaturet=<unix seconds>,v1=<hex HMAC-SHA256>. Verify it.
SkanPay-Event-IdThe event id, same as the body's id.
SkanPay-Event-TypeThe event type, same as the body's type.
Content-Typeapplication/json
User-AgentSkanPay-Webhooks/1.0