LogoLogo
  • 👋Welcome to Onramp documentation
  • User flow
  • Merchant onboarding flow
  • KYC Tiers for Users
    • Page
    • Basic KYC for India
  • 🔗onramp widget integration
    • Quick start
    • Hosted Mode
      • Hosted mode - guide
    • Sandbox Mode
      • Sandbox quick guide
    • Overlay Mode
      • Overlay mode - guide
    • Webhook updates
    • allConfig - all coin details
      • coinNetwork - get all supported networks
      • coinDetails - price details for desired amount
  • 🔗OFFRAMP WIDGET INTEGRATION
    • User Flow
      • Hosted Mode
      • Overlay Mode
    • Sandbox Mode
      • Sandbox quick guide
    • Get all coin details - V2
      • Parse Coin and Network Details
    • Webhook updates
  • 🔗SWAP WIDGET INTEGRATION
    • Hosted Mode
  • 📱SDK integration
    • Android SDK Integration
    • iOS SDK Integration
    • React Native SDK
  • ⏩MERCHANT CHECKOUT WIDGET
    • User flow
    • Merchant checkout - Hosted mode
    • Merchant checkout - Overlay Mode
    • NFT Live widget - guide
    • Token sale Live widget - guide
    • Domain Live widget - guide
    • Ticket sale Live widget - guide
  • ⏩CRYPTO MERCHANT WIDGET
    • User flow
    • Create Intent
    • Create Order
    • Get Order
    • Extend Order Time
    • Cancel Order
    • Get History
  • ⚙️REST API endpoints
    • Intro
    • Generate Widget Link
    • AllGasfees (external withdrawal fees)
    • Quotes API - onramp
    • Quotes API - offramp
    • Sample Request for Endpoints
    • Merchant Transaction History
    • Order status
    • All Config Mapping
    • All Chain Mapping
    • All Gas Fee Mapping
    • Limits Mapping
    • Coin limits mapping
    • All Country Configuration
    • Price Ticker
    • Sell Coin Limits
    • Set/Update Webhook URL
    • Resend Webhook
    • Send Dummy Webhook
    • Current Timestamp
      • Synchronisation - Troubleshooting guide
  • #️Response codes
    • Order status codes
    • Error codes
  • 🪙Supported assets & Fiat
    • Crypto assets
    • Fiat Currencies
    • Payment Methods
  • Payment Gateway Fees & Limit
  • 📚User Guides
    • Resume Transaction - onramp
    • Resume Transaction - offramp
    • Resume Transaction - offramp (Alternate Bank account)
    • Buy Crypto
    • Sell Crypto
    • Sell Crypto - Binance flow
  • Metamask User Guide
    • User Guide for Metamask Users
      • Payment done but transaction not showing
      • How to check transaction history
  • ❓Frequently asked questions - FAQs
    • KYC (Know Your Customer)
    • EDD (Enhanced due diligence)
    • Transactions
  • 📝Logs
    • Change Logs
    • Event Logs
  • onramp Policy
    • Onramp Policy
Powered by GitBook
On this page
  1. onramp widget integration
  2. Sandbox Mode

Sandbox quick guide

PreviousSandbox ModeNextOverlay Mode

Last updated 1 year ago

Sandbox mode allows you to quickly develop and test the integration with onramp.

Refer the flow below for the user flow,

  • After opening the sandbox link, enter the required amount.

  • Make sure you are on the Mumbai polygon testnet, and enter your USDT-MATIC20 wallet address.

  • Enter your phone number to receive OTP.

  • Enter the received OTP and click verify.

  • review the transaction details, and choose "Proceed to Pay" .

  • The payment details are intentionally blurred out, as to avoid any accedental payments, the actual payment details are visible on production version of onrmap.

  • Click on "I HAVE PAID" and proceed.

  • This step emulates the average time taken usually to reconcile the transaction. Note: No user action is required in this step.

  • Once the deposit is found, the swap of the desired crypto takes place, and the crypto is then sent to the onchain wallet address. Note: In sandbox the USDT is sent the mumbai polygon testnet.

  • After successful screen is displayed once the has is generated, the user can now view the transaction using explore transaction section.

  • On looking up the transaction History, the user can find all transactions placed by the user, the Partner/Merchant can get updates of the transaction via webhook or by polling them. Webhook updates Merchant Transaction History

  • The user can review details for a specific transaction, the Partner/Merchant is able to perform similar function and detailed explanation can be found using: Webhook -> REST API ->

Adding Testnet to metamask

  • For a single click add on, you can visit https://chainlist.org/

  • Toggle the testnets and search for matic mumbai

  • Connect your wallet and click on Add to wallet and approve.

Adding USDT to metamask

  • Head over to your metamask extension and click on import tokens

  • Add USDT MATIC-20 testnet contract address -> 0x5e3cb2a3e2c66882df2f0bdbee300327bb7e128c and click on add custom token, you should now be able to view the transactions sent over by the onramp sandbox.

🔗
Response
Response