Stream Protocol
  • Abstract
  • Introduction
    • Overview
    • Executive Summary
  • Market Analytics
    • Market Overview
      • Blockchain Technology and Industry
        • The adoption of blockchain technology
        • The e-commerce and global payment market
        • Opportunities
          • Evolving the Payment Industry
    • The Challenge
      • Inefficient Payment Solutions
      • Problem Statement and Solution
        • Problem Stream Protocol Solves
  • Stream Protocol
    • Ecosystem
      • Corporation
        • About Us
          • StreamPayments™
            • Revolutionizing the future of payments
            • Market Adoption
          • Business Model
          • Our Vision
          • Our Mission
            • Our Goals
      • StreamDAO
        • Governance
          • Community
            • The Governance Rules and Guidelines
              • Programs
    • The Solutions
    • Technical Overview
      • Core Features and Components
        • StreamPay™
          • StreamPay™ Mobile Application
          • StreamSwap
        • StreamPOS™
        • StreamPayments™ Platform
        • StreamFinance™
      • Key Competences
  • Products
    • Introduction
      • StreamPayments™
        • Overview
        • Use Cases, and Value
          • The payment processing solution
            • Checkout Payments API
            • Payment Gateway
              • System Architecture
                • Documentation - Merchants
                • Documentation - Users
          • Checkout Donation Platform
            • Definition A checkout donation
              • Features
      • StreamPay™ - The Future of Payments
        • Solving the Problem
          • Value Proposition
        • Use Cases
          • E-Commerce and Retail
          • DeFi, Fintech
        • Features
          • Payments
            • Web Wallet Extension
          • Wallet
          • Swap
          • Advantages
      • StreamPOS™
        • Exploring StreamPOS™
        • Payment Features
        • Checkout App
      • StreamFinance™
        • Corrateral Pay
          • Advantages
    • ICO/STO Token Sale & Management Dashboard
      • Investors Guide
        • Supported wallets for Stream Tokens
    • Security
  • Tokenomics
    • Stream Token (STRM) Overview
      • Emission Plan
      • The Purpose and Value of Tokens
        • Staking, governance, and voting
        • Usage and Value Variables
      • Token Distribution and Allocation
        • Vesting Schedule
      • Emission Plan
      • Burning Mechanism
      • Token Sales
    • Q&A
  • Staking
    • Consensus Mechanism
      • Staking
      • Yield Aggregator
      • APY Calculator
  • Roadmap
    • Roadmap and Milestones
      • Future Development
  • GUIDES
    • FAQ
    • Investment
      • How to participate token sale?
      • How to transfer tokens?
  • Media
    • Twitter
    • Discord
    • Blog
  • Developers
    • API & SDK
      • Checkout Donation Platform API
        • Summary
      • Merchants SDK and API
        • Merchant Integration
      • Wallet Integration
  • Documents
    • Disclaimer
    • Token Sale Terms
    • Privacy Policy
    • Terms of Use
  • Partnership
    • A Joint Venture
    • Backers
    • Companies
  • The Brand
    • Assets
  • Media
    • Media Kit
    • GitHub
    • Community
  • Resources
    • References
    • Documentation
Powered by GitBook
On this page
  • Requirements​
  • 1. Set up StreamPay​ app
  • 2. Create a payment request link​
  1. Developers
  2. API & SDK
  3. Merchants SDK and API

Merchant Integration

This section describes how a merchant can integrate StreamPay app into their payments flow.

PreviousMerchants SDK and APINextWallet Integration

Last updated 1 year ago

How to create a payment request link, encode it into a QR code, find the transaction, and validate it. This guide walks through an example of a QR code-based Point of Sale system that accepts payments via StreamPay™.

Requirements

Before you can receive payments, you'll need to obtain a native SOL address. This doesn't cost anything, and you can use any wallet to get started.

If you want to receive USDC, STRM or another SPL token on Solana, you'll need to create a token account, which may require a small amount of SOL.

One way to do both is to use Decentralized Exchange (DEX), which will provide a native STR/SOL deposit address and an associated USDC token account to receive payments.

1. Set up StreamPay app

Install the packages and import them in your code.

npm

npm install @stream-pay @solana/web3.js bignumber.js --save

or

yarn

yarn add @stream-pay @solana/web3.js bignumber.js

2. Create a payment request link

StreamPay™ uses a across wallets for native SOL, STRM, and SPL Tokens payments. Several parameters are encoded within the link representing an intent to collect payment from a customer.

Create a payment request link with a recipient, amount, label, message , memo and reference.

​
​
​
standard URL scheme