Last updated
The easy way to sell your SaaS and digital products
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 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