Skip to main content

Pay with Trails

Trails enables cross-chain 1-click payments — users pay with whatever token they hold, from any supported chain, and you receive exactly the amount and token you specify.

Use cases

Pay flows are exact-output by default. You specify the amount the recipient receives, and Trails calculates what the user needs to send (including fees).
  • Purchase and mint an NFT from any chain
  • Accept crypto payments in an ecommerce flow
  • Transfer a fixed amount to a user
  • Make an x402 payment in any token from any chain
  • Execute smart contract calls with an attached payment

Examples

Accept USDC on Polygon

Cross-chain USDC with CCTP

Use Circle’s CCTP for native USDC bridging:

NFT purchase on Arbitrum

Users pay from any token; Trails converts to ETH and executes the mint:

Merchant integration pattern

Complete ecommerce checkout with order verification:

Backend payment verification

Verify payments server-side before fulfilling orders:

API-based fee estimation

For server-side fee estimation or custom UIs:

Next steps

Pay mode reference

Complete configuration options and props

Gasless payments

Let users pay fees in stablecoins

x402 payments

HTTP 402 payment flows with Trails