ALLINONE
  1. Settings
ALLINONE
  • AIO Solution Brief
  • Overview
  • Getting Started
  • Supported Blockchain Networks and Tokens
  • Subaddresses and collection
  • Fund Pool and Withdrawal
  • Funds flow
  • Registration
  • Subaddress transactions
  • API
    • API Basics
    • API Encryption Transmission
    • Create Sub-Address
      POST
    • Create Multiple Subaddresses
      POST
    • Get Sub-Address List
      GET
    • Get Sub-Address Transaction
      GET
    • Create Withdraw Transaction
      POST
    • Direct Withdrawal Transaction
      POST
    • Get Withdraw Transaction details
      GET
    • Get Supported Blockchains and Tokens
      GET
  • Description
    • Collection Instructions
    • Withdrawal Instructions
    • 2-FA Authentication
    • TG Bot
    • Webhook
  • User Experience
    • Overview
    • Registration/Signup
    • Login/Signin
    • Enable TOTP
    • Reset Forgotten Password
    • Subaddress
    • Subaddress transactions
    • Collection Address
    • Fund Pool Addresses
    • Gas Management addresses
    • Settings
      • API Keys and Data encryption
      • IP Whitelisting in API Keys
      • IP Whitelisting - Dashboard
      • Webhooks
  • 用户体验
    • 注册
    • 登录
    • TOTP
    • 忘記密碼
    • 子地址
    • 子地址详情
    • 收款地址概览 (Collection Addresses)
    • 资金池概览 (FundPool Addresses)
    • 燃气管理地址 (Gas Management Addresses)
    • 设置
      • API密钥和数据加密
      • API 密钥中的 IP 白名单
      • AIO仪表板IP白名单
      • 用于通知的 Webhooks
  1. Settings

Webhooks

Webhooks for AIO#

Important: Before proceeding, make sure you are familiar with subaddresses, the collection process and collection address and the Withdrawal/Refund process.

Understanding Webhooks#

Webhooks are notifications sent automatically to your system (like an e-commerce website) to inform you about transactions like deposits and withdrawals.


Types of Webhooks#

Deposit Webhook
How it Works:
When a customer sends funds to their subaddress for a purchase, AIO collects these funds into the collection address.
This address aggregates funds from all subaddresses under your AIO account.
Once collected, AIO notifies your system of the successful transaction via a webhook.
Details Included: The webhook includes transaction details like from address, to address, transaction hash, and timestamps.
Withdrawal Webhook
How it Works:
If a customer requests a refund or needs to withdraw, they initiate this through your system.
Your system then requests AIO to process the withdrawal using the customer's wallet details.
AIO completes the withdrawal and informs your system through a webhook.
Details Included: Similar to deposits, the webhook contains comprehensive transaction details.

Setting Up Webhooks#

Adding a Webhook URL:
1.
Navigate to Web Hook in the settings dropdown menu.
2.
Click on "Edit" next to the "Sub address" row to add your webhook URL for deposits.
3.
Paste your webhook URL and click "Confirm". Upon confirm, URL is tested for 200 response. If it is 200 then URL is updated otherwise not.
Testing Your Webhook:
AIO sends a test request to your system. If the message "This is a test request" is received, respond with a 200 status code to confirm the URL is valid. Any other response will mean the URL won’t be added.

Sending Custom Requests Through AIO Dashboard#

1.
Click the "Test" button next to your webhook URL in the Hook URL column. This opens a popup.
2.
Optionally update the webhook URL if adding a new one.
3.
Edit key values as needed.
4.
Click "Test".
5.
If the test is successful and the URL is new, click the "Update URL" button to save changes.


Next Steps#

Up next: Learn how to configure a Telegram bot for AIO notifications.
Previous
IP Whitelisting - Dashboard
Next
注册
Built with