easyway
Log inGet started

Accept Basic Attention Token (BAT) payments

BAT is the token of the Basic Attention Token project, best known from the Brave browser's rewards program. easyway accepts BAT as an ERC-20 on Ethereum with the same checkout and API as ETH and the stablecoins. Below: the one contract that counts, the bridged copies that don't, and the numbers.

Token, network and limits

TokenNetworkContractConfirmationsSmallest invoiceFee taken from the payment
BAT (Basic Attention Token)Ethereum · ERC-200x0D8775F648430679A709E98d2b0Cb6250d2887EF125 BATNone

This is the address printed in the FAQ on basicattentiontoken.org, and CoinGecko and Trust Wallet's token list give the same one. It is a plain ERC-20 from 2017 with 18 decimals and a fixed supply of 1.5 billion BAT. It is not an upgradeable proxy and takes no fee on a transfer, so the amount the customer sends is the amount that arrives.

One original, several bridged copies

Over the years BAT was bridged to other chains. Each copy has its own contract (or mint) address, and none of them is the Ethereum token. Your own 0x… address is the same on every EVM chain, so a wallet set to Polygon or Avalanche will accept the invoice address and send the bridged token without a warning:

Where the BAT is sentTokenPays an invoice?
Ethereum (ERC-20)0x0D8775F648430679A709E98d2b0Cb6250d2887EFYes
Polygon, AvalancheBridged copy, different contractNo
Solana, NEAR and othersBridged copy, not an Ethereum addressNo

Tokens sent on another chain arrive at your address on that chain, if anywhere, but the invoice stays open. Ask customers to pick BAT on Ethereum (ERC-20). Wherever their BAT is held now (an exchange, a browser wallet or a rewards partner), the withdrawal form decides the network, and the guide to paying from an exchange shows where that choice is made. Moving BAT back to Ethereum is the customer's step, not the checkout's.

Amounts and fees

BAT needs no setup of its own: it is paid to the Ethereum address of your own that you set on the Wallets page of the dashboard. easyway only watches that address and cannot move what arrives. Every Ethereum invoice shows the same address, so an invoice is recognised by its exact amount: if another open invoice already asks for the same BAT amount, the new one is raised by 0.001 BAT until it is unique. A transfer that cannot be tied to exactly one invoice is parked as an unmatched transaction for you to assign or ignore.

On a USD invoice the BAT amount is locked from the exchange rate when the customer selects the coin, and the checkout shows the exact amount to send. Transfers under 0.1 BAT are skipped as dust; a short payment shows as underpaid and the checkout asks for the rest; the invoice is paid after 12 confirmations, usually a few minutes. Short or late payments follow the underpaid and late payments guide.

BAT is not a stablecoin: the payment arrives in your wallet in BAT, so later price moves are yours. No fee is taken from a payment: 100 BAT sent puts 100 BAT in your wallet; easyway earns from subscription plans instead. The customer pays the gas of their own transfer. Every coin's numbers are on the pricing page; how they compare with other gateways is in crypto payment gateway fees, compared.

Integrating

Nothing is BAT-specific: set your Ethereum address in the dashboard, create an invoice with the API (or a payment link if you don't write code), send the customer to the hosted checkout and deliver when the signed invoice.paid webhook arrives. To price an invoice in BAT itself, pass currency = "BAT_ERC20"; to show only BAT at checkout, pass allowed_assets with "BAT_ERC20" (see limiting the checkout to some coins). If you build your own payment screen, show the invoice's pay_amount. Runnable examples are in the quickstart.

Common questions

Is easyway connected to Brave or the BAT project? No. easyway is independent; it only watches for the BAT token on Ethereum as a payment for your own goods or services.

Where is the BAT kept after a payment? In your own wallet: there is no easyway balance and nothing to withdraw. easyway holds no keys and cannot move or recover coins; refunds are sent by you; see security. Other long-standing Ethereum tokens on easyway include Chainlink (LINK), Decentraland (MANA) and Livepeer (LPT).

Create free accountRead the API docsAlready have an account? Sign in
Accept Basic Attention Token (BAT) payments | easyway