Connect Razorpay, PayTabs, iyzico, or any other payment system
If Stripe isn't available in your country, keep using whatever you already use — Razorpay, PayTabs, iyzico, your booking software, even a manual entry — and report revenue to Askiraz instead.
1. Generate an API key
Open your site's page in Askiraz, scroll to "Revenue API (other payment providers)", and click "Generate API Key". Copy it now — it's shown only once.
2. Send a request when a payment completes
From your own system (a webhook handler, a server script, or even a manual one-off request), send:
curl -X POST https://askiraz.com/api/revenue/YOUR_SITE_ID \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"visitorId": "the visitor id from Askiraz",
"amount": 49.90,
"currency": "INR",
"eventId": "your own unique order/transaction id"
}'Fields
visitorId— fromwindow.leadshark.visitorIdon your site, or your booking form's hidden field if you pass it through checkoutamount— a positive numbercurrency— any 3-letter code (INR, TRY, AED, BRL, USD, ...)eventId— your own order/transaction id, used to avoid recording the same payment twice if your system retries the request
How attribution works
Exactly like Stripe: Askiraz matches the visitorId back to that visitor's very first channel and credits the revenue there — so it shows up in "Revenue by channel" the same way a Stripe payment would.
Getting the visitorId
The tracking script sets window.leadshark.visitorId as soon as it loads. Read it into a hidden form field before your visitor starts checkout, and pass it through to wherever your payment webhook fires from.