Tweed Docs
  • Welcome to Tweed
    • What Can Tweed Do?
  • Getting Started
    • Embedded Wallets | WaaS
    • Token Checkout | Payments
      • Flow of Funds: Purchase to Settlement
      • Token Checkout
      • Legacy Token Checkout
        • Basic Checkout Integration
        • Checkout + WaaS + Auth
        • Features
          • Payment links
          • Whitelist
          • Flow of Funds
          • Apple & Google Pay
          • AML & KYC Policy Overview
  • Developer Tools
    • Tweed SDKs
      • core-react
        • useAuth
        • useWallet
        • useTweed
        • usePayments
        • useWeb3
      • core-js
      • core-vue
      • Payments SDKs (v1)
        • Frontend SDKs (Payments)
        • Backend SDK (Payments)
        • How to set up your smart contract for Tweed
        • Tezos chain considerations
    • Management Dashboard
      • Create platform
      • Create application
        • UI Customization
    • Webhooks
      • Checkout Webhooks
    • API
      • API (V1)
      • API (V2)
        • Authorization
        • API reference
          • Contracts
            • Add
            • Add contract function
            • Contract
          • Payouts
            • Add
            • Payout
          • Items
            • Add
            • All
              • Contract
                • Count
              • Payout
                • Count
          • Assets
            • Blockchain
            • All
              • Blockchains
          • Blockchains
            • Multiple
            • Native asset
          • Audit event mappings
          • Platform webhooks
            • Set active
          • Tickets
        • Specification
    • External Integrations
      • Wagmi connector
      • Onramp to Crypto
    • Example Projects
    • Supported Blockchains
    • Pricing
  • Products
    • WaaS
    • Payments
Powered by GitBook
On this page
  • Overview​
  • Flow for Fiat Settlement​
  • Flow for Crypto Settlement (Native Currency)
  • Flow for Crypto Settlement (ERC20 Tokens)
  1. Getting Started
  2. Token Checkout | Payments

Flow of Funds: Purchase to Settlement

How Tweed manages payouts in accordance with a buyer's journey on your platform

PreviousToken Checkout | PaymentsNextToken Checkout

Last updated 8 months ago

Overview

Tweed allows the client platform to choose out of 4 types of payment settlements:

  • Paid ERC-20 Crypto settlement

  • Paid Native Crypto settlement

  • Fiat settlement

  • And Free-minting (no settlement)

You may use a different settlement for each asset you have.


Flow for Fiat Settlement

  1. The buyer enters their card details and presses the "Buy" button

  2. Tweed holds the value from their card

  3. Tweed passes a request to the relevant claimer (according to the blockchain)

  4. The claimer calls the platform's collection contract to "mint and send" the NFT

  5. The collection's contract sends the NFT to the buyer's wallet

  6. Tweed captures the money from the buyer's card and sends it to the platform's account

  7. (optional) Tweed backend calls the webhook configured in the console with the purchase details


Flow for Crypto Settlement (Native Currency)

  1. Tweed converts the cryptocurrency to its equivalent fiat value

  2. The buyer enters their card details and presses the "Buy" button

  3. Tweed holds the NFT value from the buyer's card

  4. Tweed passes a request to the relevant claimer (according to the blockchain)

  5. Tweed's claimer calls the platform's collection contract to "mint and send" the NFT with the right amount of crypto

  6. The collection's contract sends the NFT to the buyer's wallet

  7. Tweed captures the money from the buyer's card

  8. (optional) Tweed backend calls the webhook configured in the console with the purchase details


Flow for Crypto Settlement (ERC20 Tokens)

  1. Tweed converts the ERC20 tokens value to its equivalent fiat value

  2. The buyer enters their card details and presses the "Buy" button

  3. Tweed holds the NFT value from the buyer's card

  4. Tweed passes a request to the relevant claimer (according to the blockchain)

  5. The chosen ERC20 token's amount is getting approved for the platform to withdraw

  6. Tweed's claimer calls the contract's "mint and send"

  7. The contract withdrow the funds from tweed's claimer

  8. The contract send the tokens to the user's wallet

  9. Tweed captures the money from the buyer's card

  10. (optional) Tweed backend calls the webhook configured in the console with the purchase details


​
​