Transaction Webhook

Get notified when transactions are processed

Transaction webhooks notify you when payments are processed, skipped, or unskipped. Each webhook includes comprehensive transaction details along with customer, order, and merchant information, making it easy to track revenue, manage digital access based on payment status, handle failed payments, and sync transaction data to external analytics or accounting systems. Transaction webhooks fire for both successful and declined payments, giving you complete visibility into all payment activity.

Events

  • transaction_completed - Payment approved or declined
  • transaction_skipped - Scheduled payment was skipped
  • transaction_unskipped - Skipped payment was reset

Trigger Conditions

  • Sent after transaction processing completes (delivered every 5 minutes)
  • Includes both successful and declined transactions

Webhook Payload

The webhook includes comprehensive transaction details along with related customer, order, and merchant information.

Nested Data

The transaction webhook includes:

  • order - Basic order information
  • transaction_order_offers - Products/subscriptions purchased
  • customer - Customer details
  • customer_card - Masked payment card information
  • customer_address_billing - Billing address
  • customer_address_shipping - Shipping address
  • merchant - Merchant account used for processing
  • campaign - Campaign information

Example Payload

{
  "webhook_type": "transaction",
  "webhook_event": "transaction_completed",
  "webhook_event_id": 5325,
  "webhook_event_date": "2025-09-30 18:46:19",
  "webhook_data": {
    "transaction": {
      "id": "980091",
      "payment_method_id": "Credit Card",
      "transaction_type_id": "Capture",
      "transaction_charge": "Yes",
      "is_recent": "Yes",
      "is_next": "No",
      "transaction_cycle": "1",
      "transaction_attempt": "1",
      "transaction_declined": "APPROVED",
      "merchant_id": "18",
      "transaction_merchant_descriptor": "test",
      "gateway_response_id": "2005",
      "gateway_auth_code": "ABCD",
      "gateway_response_description": "Transaction was approved",
      "gateway_response_avs": "Y",
      "gateway_response_cvv": "Y",
      "currency_id": "USD",
      "transaction_price": "10.00",
      "transaction_discount_total": "0.00",
      "transaction_shipping": "0.00",
      "transaction_sub_total": "10.00",
      "transaction_tax": "0.00",
      "transaction_fee": "0.00",
      "customer_balance_applied": "0.00",
      "gift_card_applied": "0.00",
      "transaction_total": "10.00",
      "date_scheduled": "2022-08-30 11:22:16",
      "date_complete": "2022-08-30 11:22:18",
      "transaction_notes": "Transaction result processed",
      "created_by": "[email protected]",
      "modified_by": "[email protected]",
      "customer_card_type_id": "Visa",
      "customer_card_bin": "411122",
      "order": {
        "order_id": "126965",
        "customer_id": "68452",
        "campaign_id": "14",
        "date_created": "2022-08-30 10:00:38",
        "ip_address": "172.18.0.1",
        "is_test": "1"
      },
      "transaction_order_offers": [
        {
          "id": "149414",
          "order_id": "126965",
          "offer_name": "Test offer",
          "order_offer_quantity": "1",
          "order_offer_price": "10.00",
          "is_recurring": "0",
          "status_type_id": "Complete",
          "order_offer_items": [
            {
              "item_name": "Test offer",
              "item_price": "10.00",
              "item_shippable": "1"
            }
          ]
        }
      ],
      "customer": {
        "customer_id": "68452",
        "first_name": "Sylvia",
        "last_name": "Nelson",
        "email": "[email protected]",
        "phone": "213 9948062",
        "active_subscriber": "No",
        "is_blacklist": "No",
        "is_fraud": "No",
        "date_created": "2022-08-30 10:00:38"
      },
      "customer_card": {
        "customer_card_id": "56859",
        "card_type_id": "Visa",
        "card_number": "411122XXXXX4444",
        "card_exp_month": "12",
        "card_exp_year": "2023"
      },
      "customer_address_billing": {
        "customer_address_id": "78590",
        "fname": "Sylvia",
        "lname": "Nelson",
        "address1": "6826 Blossom Hill Rd",
        "city": "Richmond",
        "state": "CA",
        "zipcode": "31123"
      },
      "customer_address_shipping": {
        "customer_address_id": "78591",
        "fname": "test",
        "lname": "test",
        "address1": "test",
        "city": "test",
        "state": "AL",
        "zipcode": "12345"
      },
      "merchant": {
        "merchant_id": "18",
        "merchant_name": "CREDIT CARD",
        "merchant_descriptor": "test"
      },
      "campaign": {
        "campaign_id": "14",
        "campaign_name": "Test Campaign"
      }
    }
  }
}