Integration

Button embed

Declarative HTML for standard payment buttons.

Required attributes

The declarative integration is best for product pages, invoices, and static CMS pages where you can add a script tag and button markup.

  • Use data-makepay-payment-link with the payment UID you want to open.
  • Load the modal script before the customer can click the payment button.
  • Keep the element keyboard reachable with a real button or a element.
html
<script src="https://makepay.io/modal/makepay.js"></script>
<button type="button" data-makepay-payment-link="YOUR_PAYMENT_UID">
  Pay with crypto
</button>

When to use it

Use button embed when the merchant site does not need to run custom JavaScript before opening the checkout.

Need partner setup help?

Open the payment link details view in MakeCrypto to copy the generated snippets for a real payment UID, or return to the portal to manage merchant settings.

Open portal