How PayGlocal notifies your platform when a merchant progresses through the onboarding journey — iFrame postMessage events and server-side webhooks.
PayGlocal provides two channels for partners to track merchant onboarding progress:
Channel
Delivery
Best for
UI Events (postMessage)
Browser → parent page
Real-time UX updates while the iFrame is open
Webhooks
Server → your endpoint
Reliable async notifications for backend workflows
Always confirm the final onboarding state with a server-side Get Onboarding Status call. Neither UI events nor webhooks alone should be treated as the source of truth for go-live decisions.
Validate event.origin — only accept messages from https://uat.dashboard.payglocal.in (UAT) or https://dashboard.payglocal.in (Production). The iFrame loads the PayGlocal dashboard partner onboarding experience, not a separate verify subdomain.
Follow with GET /status — the postMessage signals UI completion; confirm vkyc, digiLocker, and onboardingStatus server-side before updating your merchant record.
PayGlocal sends server-side webhook notifications to URLs configured in your PayGlocal Partner Dashboard. Webhooks fire for partner-assisted merchant onboardings only.Configure which events you receive via POST /gcc/v2/partner/{resellerMid}/webhook. List available event types with GET /gcc/v2/partner/webhook.
1. Partner completes onboard API steps (business details → products)2. Partner calls GET Verification Redirect → embeds iFrame3. Parent page listens for PARTNER_MERCHANT_VERIFICATION_COMPLETE postMessage4. Partner backend receives webhook events asynchronously5. Partner backend calls GET /status to confirm final state6. Partner updates merchant record in their system
iFrame Integration
Embed the verification flow and handle postMessage events.