βš™οΈ
mtnAPI Docs πŸ‘¨πŸ»β€πŸ”¬
  • mtnAPI Overview
    • Introduction
    • Terminology
  • Getting Started
  • How It Works
  • FAQ
  • Reference
    • API Reference
      • Pay
        • Token Discount Payments
        • Token Gated Payments
        • Token Swapped Payments
        • SOL & SPL Payments
      • Mint
        • Candy Machine
        • Metadata
        • Upload
      • Intent Key
      • Reference Key
      • Status
      • Validate
  • Supported Tokens
  • Testing
Powered by GitBook
On this page
  • First Steps
  • mtnAPI Endpoints πŸ”Œ
  • Pay
  • Mint
  • Validate

Getting Started

PreviousTerminologyNextHow It Works

Last updated 3 years ago

First Steps

mtnAPI is the service layer for transaction requests. To leverage mtnAPI via the QR code approach, it's important to understand that your customers or dApp users need to have a Solana Pay enabled wallet ( Phantom, Glow, FTX, Solflare, etc.) These wallets are built to recognize QR codes with a transaction request URL inside of them.

To get started with implementing transaction requests, you will need to generate a QR code in your software with a URL that specifies where to request the desired serialized transaction. mtnAPI comes into play when you're ready to create the request URL.

mtnAPI offers a suite of endpoints that developers can use as the "link" parameter for their Transaction Request string. Each endpoint will request transactions for different use cases.

Once you have an understanding of what type of payment, verification, or redemption functionality you want to provide for your users, take a look at the mtnAPI endpoint descriptions below. When you've found an endpoint that aligns with your use case, simply insert it as the "link" parameter in your transaction request URL.

mtnAPI Endpoints πŸ”Œ

Pay

Enables developers to perform robust payments on the Solana network.

  • SOL or SPL Token Payments

  • Token Swapped Payments - Powered by

  • Token Discounted Payments

  • Token Gated Payments

See the API Reference .

Mint

Enables the developer to provide a β€œheadless mint” via a physical or digital QR code. The Transaction Request will mint an NFT from the provided Candy Machine public key.

Validate

Enables the developer to check if the user is holding an NFT from a specified collection. The transaction will fail if the user does not have the NFT and succeed if they do.

See the API Reference .

See the API Reference .

Jupiter Aggregator
Here
Here
Here