paymentMethod when
creating a session to force one, or omit
it to let the customer choose.
- Crypto exchanges & wallets
- QR Bolivia
paymentMethod: "crypto-exchanges"The customer pays from an exchange or wallet they already use — Binance, Coinbase,
MetaMask, and many others. Funds settle as USDC/USDT on Polygon to the
merchant’s address. This method opens automatically when selected.- Set
amountFiat— it is required for this method. - Use
tokento choose the stablecoin to receive (USDCorUSDT, defaultUSDC). - Once settled, the session exposes
chain,token, andtxHash.
cURL
Letting the customer choose
If you omitpaymentMethod, the checkout shows a method chooser. Only the
methods your account has enabled and configured appear, and the session’s
availableMethods array reflects them.
Node.js
The API accepts
crypto-exchanges and qr-bolivia as input values. On the
session object these are reported as mesh (crypto exchanges) and qr_bolivia
respectively, and availableMethods uses those same values.