easyway
Log inGet started

How to accept cryptocurrency payments on your website

Accepting crypto on a website comes down to one thing: each order needs its own way to be paid, and your site needs to know when it was. A crypto payment gateway does both. Here are the three ways to set it up with easyway, from no code at all to a full API integration, and what happens to the money afterwards.

Why a gateway instead of a wallet address on the page

You can paste a wallet address on your checkout page, but then you have to match every incoming transfer to an order by hand, guess which customer sent which amount, and notice when someone sent too little or on the wrong network. A crypto payment processor tells every order apart (a fresh address, an exact amount or a memo, depending on the network), quotes an exact amount, waits for enough confirmations — 1 to 240 blocks depending on the coin — and then tells your site the order is paid.

Three ways to accept crypto on a website

OptionCode neededGood for
Payment linkNoneFreelancers, one-off invoices, a few products, donations
Hosted checkout via the APIA few lines on your backendOnline stores and SaaS with their own checkout
Plugin for your store platformNone (install + paste keys)WooCommerce, PrestaShop, OpenCart, Magento 2, WHMCS, Blesta, Odoo (beta)

In the dashboard, create a payment link with a fixed price or let the customer type an amount within limits you set. Share the link anywhere — your site, an email, a chat. Each visit opens a fresh invoice, so every customer's payment is tracked separately. A product link can also show a text or hand out a unique code (a licence key, for example) once the invoice is paid, and a donation link adds an on-stream alert widget.

2. A hosted checkout from your backend

When the customer clicks "Pay with crypto", your server creates an invoice and sends the customer to its payment_url. Prices can be in USD; the customer then picks one of 75 coins on 15 networks, and the crypto amount is locked at that moment. If you only want stablecoins (21 of the supported assets are USD stablecoins such as USDT and USDC), pass allowed_assets. Each coin has its own page with its confirmations, wallet setup and minimum invoice — for example USDT on TRON, Bitcoin and Litecoin.

curl https://api.easyway.cash/v1/invoices \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-1234" \
  -d '{
    "amount": "49.00",
    "currency": "USD",
    "order_id": "1234",
    "success_url": "https://shop.example/thanks",
    "cancel_url": "https://shop.example/cart"
  }'
# → { "id": "…", "status": "pending", "payment_url": "https://new.easyway.cash/pay/…", … }

Then listen for the invoice.paid webhook, check its signature and fulfil the order. The USDT TRC-20 guide has the full code in Node.js, PHP and Python, and this guide covers the signature check. For a PHP site there is a complete, tested walkthrough: accepting crypto payments in PHP.

3. A plugin for your platform

If your store runs on WooCommerce, PrestaShop, OpenCart, Magento 2, WHMCS, Blesta, Odoo, download the plugin for it, install it like any other extension and paste your API key and webhook signing secret in its settings. The plugin creates the invoice when the customer picks crypto at checkout and marks the order paid when the signed webhook arrives. The plugins are in beta, so run one test-mode order on your store before switching to live. On any other platform, use a payment link or the API — both work with any site.

Which one should you pick?

No developer and a handful of products or invoices: a payment link. A store on one of the platforms above: its plugin. Your own checkout or a SaaS: the API (see crypto payments for SaaS for renewals and top-ups), so the order id, amount and redirect URLs come from your code. You can mix them — payments from every source land in the same wallets of yours, and the dashboard filters them by store or link.

What happens after the customer pays

The invoice is open for 60 minutes by default (you can set 5 minutes to 24 hours). Once the transfer has its confirmations, the invoice becomes paid and your site gets the webhook. If the customer sent a little less, a 1 % underpayment tolerance (adjustable from 0 to 5 %) still counts it as paid; beyond that the invoice becomes underpaid and the customer can send the rest. The details are in handling underpaid and late payments.

The money is already yours: the customer paid straight into your own wallet, in full, and easyway never held it. There is no fee per payment and nothing to withdraw; you pay for a plan instead, starting with a free one (see the pricing page). Because easyway never controls the funds, it cannot reverse or refund a payment; refunds are sent from your own wallet.

Step by step

1. Sign up and turn on two-factor authentication. 2. Pick your option from the table above: a payment link, your platform's plugin, or the API. 3. In test mode, create the link or test key and pay one invoice (next section). 4. Set your receiving wallet for each network you accept (Dashboard → Wallets); without it, live invoice creation answers 409 no_wallets_configured or wallet_not_configured. 5. Switch to live keys or a live link and put it on your site.

Test before going live

Create a test key (sk_test_…) and run the whole flow without real money: the dashboard can mark a test invoice paid, underpaid or paid late so you see every webhook your code must handle. The sandbox guide walks through it.

Common questions

Do I need my own crypto wallet to accept payments? Yes. easyway is non-custodial: customers pay straight into your own wallet, which you set per network in the dashboard (Wallets) before going live. easyway never holds the money and never asks for a private key or seed phrase. Test mode works without a wallet.

Which cryptocurrencies can my website accept? 75 coins on 15 networks: USDT, TRX, BNB, GRAM, ETH, BTC, LTC, DOGE, USDC, XRP, SOL, POL, AVAX, DAI, FDUSD, DASH, SHIB, PEPE, BONK, NOT, PYUSD, DOGS, CATI, HMSTR, WIF, LINK, UNI, AAVE, ONDO, ENA, CRV, GRT, SKY, USDS, USDe, MNT, ARB, WLD, MANA, SAND, IMX, GALA, FET, JASMY, SPX, XCN, APE, AXS, CHZ, 1INCH, PENDLE, ETHFI, ZRO, BAT, LPT, ZRX, SUSHI, BAL, COMP, RPL, ANKR, CVX, GLM, CAKE, TWT, RENDER, JUP, PYTH, JTO, RAY, W, FARTCOIN, TRUMP, PENGU, POPCAT. You can limit an invoice to some of them, for example stablecoins only.

Can I accept crypto payments on my website without coding? Yes. Put a payment link behind a "Pay with crypto" button, or install one of the store plugins (currently in beta). The API is only needed for your own checkout.

What does it cost? There is no fee on a payment. The Free plan costs $0 and includes 30 live invoices a month; paid plans (from $19 a month) raise the limits. Customers pay the blockchain's own network fee when they send.

Create free accountRead the API docsAlready have an account? Sign in
How to accept crypto payments on your website | easyway