Help Center Checkout & Embeds Embedding Checkout on Your Website

Embedding Checkout on Your Website

Step 1 - Create a checkout button

  1. Go to Checkout Buttons in your Brykto dashboard.
  2. Click New button.
  3. Fill in the label, amount, currency, and a success URL (the page your customer sees after payment).
  4. Click Create.

Step 2 - Copy the snippet

After creating the button, click Get snippet. You will see two lines of code:

<script src="https://bryktopay.com/checkout.js"></script>
<button data-button-id="bky_btn_...">Pay with Brykto</button>

Step 3 - Paste into your site

Paste the snippet anywhere in your page's HTML where you want the button to appear. The script loads automatically and styles the button.

Customising the button label

Change the text inside the <button> tag to whatever label you want. The Brykto icon and payment logic are always applied by the script.

Testing

Click your button to check the payment modal opens correctly. Use the Brykto test environment if you want to test without a real payment.