Codex · III

Getting started

Quick start

Three steps from signed-up to "live on your site." The dashboard's project page generates the exact snippets with your project ID baked in. The blocks below are illustrative.

  1. Paste the script tag once, in your site's <head>(or right before </body>). One copy is enough no matter how many buy buttons you have.
    <script src="https://sdk.coinmoebius.com/latest/sdk.global.js"
      crossorigin="anonymous"
      defer></script>
  2. Add the product to your catalog in the dashboard.Open your project, switch to the Products tab, click "Add product," and set the product-ref, name, price, and currency. By default Coin Moebius is in strict mode, which means the price you set here is the canonical price (a buyer cannot edit the price in their browser to pay less).
  3. Paste a buy button wherever you want it to appearin the page body. Reference the product by its product-ref in the product-id attribute. Repeat with a different product-id and label for each additional product.
    <coin-moebius-buy
      project-id="proj_YOUR_ID_HERE"
      product-id="t-shirt-medium"
      label="Buy a t-shirt">
    </coin-moebius-buy>
  4. Connect at least one provider in the dashboard.Open your project, switch to the Providers tab, click "Add provider," and follow the per-provider steps in Provider setup below.

Provider setup

Each provider has a full setup guide: what every credential is for, how to find it, where the webhook goes, and how to run a first test payment. Connect a provider →

Ready to wire it up?

Free tier covers most sites and never asks for a card.