LogoLogo
WebsiteLoginStatus
Terminal
Terminal
  • Overview
  • How to get started
    • Enable Terminal
    • How the Integration Works
    • Deploy Widgets on Your Site
    • Integrate with API
    • Support and FAQ
  • Use Cases
    • Payment Service Providers
      • New to Crypto Payments
      • Crypto-friendly PSP
    • Point-of-Sale for Merchants
    • Integration with inabit
    • Terminal-as-a-Service
  • TERMINAL GUIDE
    • Creating Widgets
      • Advanced Settings
    • Gas Features
      • Gas Refueling
      • Gas Sweeping
  • API REFERENCE
    • Application Setup
      • Initialize Your Docker
      • Automated Signing
    • Widget
    • Organization
      • Copy of GET Purchase Status
    • Webhooks
      • Notification Types
  • INTEGRATIONS / PLUGINS
    • WooCommerce
  • WHAT WE SUPPORT
    • Supported Blockchains
    • Supported Coins
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API REFERENCE

Webhooks

Retrieve notifications through webhooks on transaction events and status changes

PreviousCopy of GET Purchase StatusNextNotification Types

Last updated 11 days ago

Was this helpful?

About Our Webhooks 📣

Receive notifications/alerts on every new transaction or transaction status change in any of your inabit organizations within your account, as well as fee updates for a transaction.

There are two endpoints you can use with our Webhooks:

  • - registering to the subscription service

  • - deleting an existing subscription

Webhook endpoints are accessible only to the following user roles: Owner, Admin, API Admin

Our webhook service is currently limited to 1 subscription per organization.

  • Events Handled:

    • New Transaction Event

    • Transaction Status Updates (Incl. txn fee updates)

  • Supported transaction types:

    • Received (Deposits)

    • Sent (Withdrawals)

{
  event: 'PurchaseUpdated',
  data: {
    purchaseId: '887f89b1-11a7-4a2d-8b3c-68a260776a4b',
    purchaseIdentifier: 'cae9b9a1-7038-440f-8965-35b5f2e3f0e9',
    title: 'Purchase Title',
    subTitle: 'Purchase Subtitle',
    siteName: 'Site Name',
    widgetId: 'e480cfc3-00a3-4d07-9cc4-4a5f7bb9a550',
    asset: 'TRX',
    blockchain: 'tron',
    amount: 0,
    plannedAmount: 12.125913,
    fiatCurrency: 'USD',
    fiatAmount: 3,
    baseCurrency: 'USD',
    baseCurrencyAmount: 0,
    confirmationAmount: 20,
    currentDate: '2025-05-07T14:25:37.099Z',
    allocationDate: '2025-05-07T14:05:36.059Z',
    expirationDate: '2025-05-07T14:25:36.059Z',
    acceptPartialPayment: false,
    redirectUrl: 'https://trw.inabit.app/purchases',
    status: 'Expired'
  }
}
Create Subscription
Delete Subscription