Inqud Docs
  • Developer
    • 🟢Inqud API
    • 🔑Authentication
    • 🪝Web Hooks
      • Web Hook Verification
      • Payment Web Hook
    • Payment Statuses
    • 📃API Reference
  • Payments
    • 🔢Payment Methods
    • 💸Withdrawal/Payout
      • Cross Payout Feature
    • 💰Deposit/Payin
    • 💰H2H Deposit/Payin
  • Crypto Widget
    • 💣Integration overview
    • Usage models
    • Extra features
      • Auto-conversion
      • Preselected currency checkout
    • 💱Coverage
    • 📄Glossary
    • ✅Get started
      • Onboarding
      • Setup instructions
    • 🔎Explore
      • Checkouts
      • Requests
      • Payments
    • 💻Integration
      • ⚙️Redirect payment flow
      • ⚙️Embedded widget
      • ⚙️Using your own UI with Inqud processing
      • 🪝Web Hooks
        • Checkout Web Hook
        • Request Web Hook
      • 📃API Reference
  • Crypto Static Addresses
    • 📃Overview
    • 💱Coverage
    • ✅Get Started
      • 1️⃣Step 1. Account verification
      • 2️⃣Step 2. Project setup
      • 3️⃣Step 3. Integration
    • 💻Integration
      • ⚙️API Integration
      • 🪝Web Hooks
      • 📃API Reference
  • Crypto Recurring
    • 📃Overview
      • Inqud Hosted Page overview
      • Inqud Recurring SDK overview
    • 💡Use Cases
      • Subscription Payments
      • On-Demand Payments
    • 💱Coverage
    • 📄Glossary
    • ✅Get Started
      • 1️⃣Step 1. Account verification
      • 2️⃣Step 2. Project setup
      • 3️⃣Step 3. Plan setup
      • 4️⃣Step 4. Integration
    • 🔎Explore
      • How it works
      • Project
      • Plan
      • Authorization
      • Subscription
      • Invoice
      • Payment Intent
    • 💻Integration
      • ⚙️Inqud Hosted
      • ⚙️Recurring SDK
        • SDK Package & Docs
        • SDK Usage Example
        • Example Sandbox
      • 🪝Web Hooks
        • Subscription Web Hook
        • Authorization Web Hook
        • Invoice Web Hook
      • 📃API Reference
Powered by GitBook
On this page
  • ERC20 Approve Function
  • Setting Up Recurring Payments
  • Executing Recurring Payments
  1. Crypto Recurring
  2. Explore

How it works

At the core of Inqud's recurring payment system is the ERC20 Approve function, which is essential for managing automated transactions on the Ethereum (EVM) blockchain. Here’s a detailed look at how it works and integrates with the Inqud system:

ERC20 Approve Function

The ERC20 approve function is a standard method in Ethereum’s ERC20 token contract. It allows a token holder to authorize a specific address (in this case, an Inqud-managed address) to spend a specified amount of tokens on their behalf.

  • User Authorization: The user interacts with their Web3 wallet to approve the Inqud smart contract, allowing it to spend a certain amount of their ERC20 tokens.

  • Smart Contract Role: Once approved, the smart contract can execute transactions up to the approved limit without needing further user intervention.

Setting Up Recurring Payments

The process begins with the user granting approval for automated transactions:

  • Approval Transaction: This involves a blockchain transaction where the user approves the smart contract to spend their tokens.

Executing Recurring Payments

Subscription Plan
On-Demand Plan

Fixed amounts charged at regular intervals (e.g., monthly). The user’s approval allows these scheduled transactions to occur automatically. Inqud schedules invoices automatically according to plan.

Variable amounts based on usage, such as services where payment amounts fluctuate based on customer activity. Merchant creates invoices via Inqud API

PreviousExploreNextProject

Last updated 10 months ago

🔎