Skip to main content
PayGlocal provides two channels for partners to track merchant onboarding progress:
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.

UI Events (iFrame postMessage)

When you embed the PayGlocal verification iFrame, the verification page communicates with your parent page using the browser’s postMessage API.

Listening for completion

During intermediate steps, the iFrame may also emit structured events:

Best practices

  • 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.
  • See iFrame Integration for the full embed workflow.

Webhook Events

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.

Supported events

System-created pendencies with status UNDER_REVIEW are not sent to partners. Only partner-visible pendency updates trigger this webhook.

Webhook Payload Structure

All onboarding webhook payloads are flat key-value maps (Map<String, String>).

Common fields (all events)

Event-specific fields

MERCHANT_STATUS_ACCEPTED MERCHANT_TERMS_AND_CONDITIONS_ACKNOWLEDGED MERCHANT_VKYC_COMPLETED MERCHANT_DIGILOCKER_CKYC_COMPLETED MERCHANT_PENDENCY_STATUS_UPDATED

Example payload — VKYC completed

Example payload — Merchant accepted


iFrame Integration

Embed the verification flow and handle postMessage events.

Get Onboarding Status

Confirm final merchant state server-side.

API Flow Overview

End-to-end onboarding sequence.