Payment infrastructure for Indie Hackers

The easy way to sell your SaaS and digital products

Sign up Log in

Get started in 5 minutes

Once your product is created, you can copy the product ID by clicking on the product options and selecting “Copy ID”. Now grab your API key and create a checkout session by sending a POST request to the following endpoint:

No guesswork, no complexity—just your first successful call, fast.

Get started

index.js
const redirectUrl = await axios.post(
      `https://test.bagelpay.io/payments/checkouts`,
        {
          product_id: 'prod_6tW66i0oZM7w1qXReHJrwg',
        },
        {
          headers: { "x-api-key": `bagel_123456789` },
        },
);

Learn more about the Payment platform

Read guides, watch tutorials, and learn more about working with the payment platform and integrating it with your own stack.

Documentation

Join a community of over 3,000 developers

Join our Discord community or Telegram group in just a few steps.

Discord Community

Join our Discord community to post questions, get help, and share resources with over 3,000 like-minded developers.

Telegram Group

Join our telegram group to post questions, get help, and share resources.

Last updated