Prerequisites
- A Kyren Pay merchant account (sign up here)
- Your API key (found in the Developer section of your dashboard)
- A product created in the dashboard or through the Products API
- A server-side environment where your API key can be stored securely
- A Webhook endpoint for payment notifications before you go live
Step 1: Get your API Key
After signing up, navigate to Dashboard > Developer and copy your API key.- Live key:
kyren_live_xxxxxxxxxxxx— use this for production
Step 2: Create a Product
Create a product that represents what you’re selling:id from the response — you’ll need it to create checkout sessions.
Step 3: Create a Checkout Session
When a customer wants to pay, create a checkout session:displayMerchantName when this checkout should show a campaign, store, or app name that differs from your account name.
The response includes a url field — redirect your customer to this URL to complete payment.
Step 4: Redirect to Checkout
Redirect the customer to the checkout URL returned in Step 3. They will see a hosted payment page where they can choose their preferred payment method.Step 5: Handle the Webhook
After payment is completed, Kyren Pay sends a webhook to your server:Configure your webhook URL in Dashboard > Developer > Webhook Settings.
What’s Next?
Authentication
Learn about API authentication in detail
Webhook Signatures
Implement secure webhook verification
Testing
Test safely with Kyren-issued staging credentials or low-risk live checks
Code Examples
See examples in Python, Node.js, Go, and more