Skip to main content

Outbound client webhook sample

{
  "event": "transaction.created",
  "client": "6808f7f32db4d7c5e3f91a11",
  "createdAt": "2026-04-23T10:00:01.000Z",
  "data": {
    "eventType": "transaction.created",
    "cardId": "6808f7f32db4d7c5e3f91b22",
    "cardHolderId": "6808f7f32db4d7c5e3f91c33",
    "accountId": "6808f7f32db4d7c5e3f91d44",
    "transaction": {
      "_id": "6808f7f32db4d7c5e3f91e55",
      "amount": -25.5,
      "fee": 0.25,
      "vat": 0,
      "currency": "USD",
      "type": "capture",
      "merchantAmount": -25.5,
      "merchantCurrency": "USD",
      "merchant": {
        "category": "5812",
        "name": "ACME CAFE",
        "merchantId": "MID123456",
        "city": "Lagos",
        "state": "LA",
        "country": "NG",
        "postalCode": "101001"
      },
      "terminal": {
        "rrn": "123456789012",
        "stan": "123456",
        "terminalId": "TERM1234",
        "terminalOperatingEnvironment": "card_present",
        "terminalAttendance": "attended",
        "terminalType": "pos",
        "panEntryMode": "chip",
        "pinEntryMode": "pin",
        "cardHolderPresence": true,
        "cardPresence": true
      },
      "transactionMetadata": {
        "channel": "pos",
        "type": "purchase",
        "reference": "txn-ref-1001"
      },
      "metadata": {
        "eventType": "transaction.created",
        "environment": "production",
        "business": "business_123",
        "reference": "txn-ref-1001"
      },
      "createdAt": "2026-04-23T10:00:00.000Z",
      "updatedAt": "2026-04-23T10:00:00.000Z"
    },
    "context": {
      "eventId": "evt_sudo_01",
      "environment": "production",
      "business": "business_123",
      "createdAt": 1713878400
    }
  }
}