Payment infrastructure for Indie Hackers
The easy way to sell your SaaS and digital products
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.
const redirectUrl = await axios.post(
`https://test.bagelpay.io/payments/checkouts`,
{
product_id: 'prod_6tW66i0oZM7w1qXReHJrwg',
},
{
headers: { "x-api-key": `bagel_123456789` },
},
);

Join a community of over 3,000 developers
Join our Discord community or Telegram group in just a few steps.
Last updated