Documentation Index
Fetch the complete documentation index at: https://anypay-docs-sdk-0-15-0-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Install
Add a component
Pick the component that matches your use case and import it from0xtrails/widget:
Get an API key: Sign up and create an API key on the Trails Dashboard
Components
| Component | Use case |
|---|---|
<Pay /> | Accept a fixed payment (e.g. 25 USDC) to a recipient |
<Fund /> | Deposit funds into a wallet, chain, or protocol |
<Swap /> | Cross-chain token exchange |
<Withdraw /> | Off-ramp or move funds out |
<Earn /> | DeFi yield deposits |
0xtrails/widget.
Starter Templates
Live Demo
Try it now
React
Starter kit
Next.js
Starter kit
Next Steps
Pay
Stablecoin payments, merchant integration
Swap
Cross-chain token swaps
Fund
Protocol deposits, chain onboarding, built-in onramps
Earn
Integrated DeFi yield deposits
Full reference: SDK Configuration · API Reference · Hooks