Embed
MoneyButton-style iframe or script embed. Configure amount, payee, label, and stream / NFT id — then copy the snippet. Payments are settle through AgentPay Connect (same popup as GigsFeed); mock rail when neither a Connect key nor AGENTPAY_AGENT_KEY is present; the embed UX is ready. Paymail mint (`/paymails`) is first-party for now; embeddable paymail mint is optional later to place.
<iframe src="https://entangleit.com/bitcoinbutton/embed/widget?amount=0.001&to=creator%40bsv&action=pay¤cy=BSV&label=Pay+with+Bitcoin&stream=aurora-live&compact=1" title="BitcoinButton" width="320" height="200" style="border:0;border-radius:16px;overflow:hidden;max-width:100%;" loading="lazy" allow="clipboard-write" ></iframe>
<!-- BitcoinButton embed --> <div class="bitcoinbutton" data-amount="0.001" data-to="creator@bsv" data-action="pay" data-currency="BSV" data-label="Pay with Bitcoin" data-stream="aurora-live" data-compact="true" ></div> <script async src="https://entangleit.com/bitcoinbutton/embed.js"></script>
The loader injects an iframe for each .bitcoinbutton node. Listen for postMessage events with source: "bitcoinbutton" for post-payment hooks.
Widget path: /bitcoinbutton/embed/widget?amount=0.001&to=creator%40bsv&action=pay¤cy=BSV&label=Pay+with+Bitcoin&stream=aurora-live&compact=1
Full docs: /bitcoinbutton/embed