Skip to main content

Generating a Payment URL

Once you’ve configured your payment blueprint, the next step is to generate a unique hashed payment URL. This link allows customers to make token-based payments directly via a secure hosted interface.


🔗 How to Generate a Hash URL

  1. Open your deployed Token Distribution Blueprint
  2. Scroll to the Token Payment Calculator section
  3. Click the Generate Hash button

✅ A unique hash is created based on your payment config (amount, slippage, wallet, etc.)


🔐 Embed or Share the Payment URL

You will receive a secure payment URL like:

alt text

<iframe
src="https://wallet-pay.1buy.io/fee_payer?hash=UNIQUE_HASH"
width="100%"
height="640px"
title="1buy.io"
frameborder="0"
>
</iframe>

You can:

  • Embed this iframe on your website
  • Redirect users to this URL from your frontend
  • Share the URL directly for one-time or recurring payments

🖼️ Customer Payment Flow

alt text

When a user opens the link:

  1. They are prompted to connect their wallet (e.g., MetaMask)
  2. They see the token they’ll receive and the payment amount in USD
  3. They click Buy Now to execute the transaction
  4. Once completed, the payment is sent to your configured wallet

🔒 The hash locks in all pricing and config details to prevent tampering


🛠️ Next: API Integration

Want to pass metadata or get notified on successful payments? 👉 API & Webhook Integration