One script tag. Buyers pay in any coin, you receive USDC.
You set a price in US dollars, name what you are selling, and give the Solana wallet that should receive the USDC. Bagpay hands back one script tag.
Paste it where the button should appear. A buyer clicks it, connects a wallet, picks a coin they hold and signs one transaction. The USDC is in your wallet seconds later. No account, no approval, no API key.
The button is one script tag, so it works anywhere you can paste a line of code, from a store theme to a single page written by hand.
Site builders
Paste into a code block
Your own code
Drop it into any page or template
No website
Share the same checkout as a link
Three things that rarely show up together in one checkout.
01
A single script tag. No build step and no keys to manage.
02
The buyer picks the coin. You get the price.
03
No balance held for you and no payout schedule.
01
Three things: a price in US dollars, a name for what you are selling, and the Solana wallet that should receive the USDC. You enter them on the create page and Bagpay gives you a script tag to copy. There is no account to open, no sign-up form, no approval step and no API key. If you can paste a line of code into your site, you can take payments. The wallet you enter is where every payment for that button lands, so use one you control.
02
The checkout opens with the name of what they are buying and the price in dollars. The buyer connects a Solana wallet, either Phantom, Solflare or Backpack. Bagpay then lists the coins in that wallet with their dollar values, so the buyer can see at a glance which bags cover the price. They pick one and sign a single transaction. That transaction swaps the coin to USDC and sends the exact price to your wallet. When it confirms, the buyer gets a receipt that links to the transaction on Solscan.
03
Yes. When you create a button you choose between reusable and one-time. A reusable button takes any number of payments from any number of buyers and never expires, which suits a product page or a tip jar. A one-time button closes after it has been paid once, which suits a single invoice or a single item. A one-time button that nobody pays expires after 7 days. Both kinds charge the same dollar price to every buyer, whichever coin each buyer chooses to pay with.
04
No. The button is one script tag. You paste it into the HTML of your page at the spot where the button should appear, and it renders there. Most site builders have a code or embed block made for exactly this. There is no key to store, nothing to configure on a server and no build step. The script already knows the price, the name and the receiving wallet, because you set those when you created the button. To sell a second product at a different price, create a second button and paste its tag on that product's page.
05
You still receive exactly the listed price in USDC. The swap and the payment to your wallet happen inside one transaction, and that transaction is atomic. If the coin has dropped so far that the swap can no longer deliver the full price, the whole transaction fails and nothing moves. The buyer keeps their coins and can try again. If the swap delivers slightly more than the price, the small leftover stays in the buyer's own wallet as USDC. There is no case where a payment goes through and you end up with less than the price you set.
Creating a button takes three fields: a price in dollars, a name for what you sell, and the wallet that receives the USDC. Copy the script tag, paste it into your page, and your site takes any coin a buyer holds.
Get the button →