Choose your setup path
- Use the dashboard guide if you want to create products and review orders manually first.
- Use the API guide if your application should create checkout sessions from your server.
Overview
1. Set Up Your Server
Install the required dependencies:2. Create a Product (One-Time Setup)
You only need to create a product once. You can do this via the API or the Dashboard.3. Create Checkout Endpoint
Add an endpoint that creates a checkout session when the customer clicks “Buy”:4. Handle the Frontend Redirect
On your frontend, redirect the customer to the checkout page:5. Handle Webhooks
Add a webhook endpoint to receive payment notifications:6. Start the Server
7. Test the Flow
- If Kyren has issued staging credentials or enabled a test-capable gateway for your merchant account, run the flow with those credentials and the payment scenarios Kyren provides.
- If you only have live credentials, verify the flow with a low-risk real payment in production.
- Confirm your customer is redirected to the Kyren Pay checkout page.
- Confirm your server receives the payment Webhook and that your fulfillment logic handles the event correctly.
- If you used a real payment for verification, refund or handle it operationally according to Kyren support guidance if needed.
Your integration is ready when checkout creation, redirect handling, Webhook receipt, and fulfillment have all been verified with the credentials and gateway Kyren has enabled for your account.
Next Steps
Webhook Events
See all available webhook event types
Code Examples
See integration examples in other languages