Webhooks
Webhooks allow your system to receive real-time notifications from Guru Pay when specific events occur (transaction processing completed, new transaction is created, etc.). You can manage your webhook configuration using the following endpoints.
You must include your Bearer token in the request header.
Creates a new webhook configuration for the authenticated user.
Authentication using a Bearer token.
Data required to create a new webhook configuration.
The target URL endpoint for the webhook messages.
https://example.com/my-webhook-listenerA secret token sent with webhook messages for verification (e.g., in an 'Authorization' or custom header). Min 16, Max 100 characters.
whsec_aBcDeFgHiJkLmNoPqRsTuVA user-friendly name for the webhook configuration.
Production Transaction WebhookAn optional description for the webhook configuration.
Notifies the main system about new transactions.Webhook configuration created successfully. Returns the created resource.
Unauthorized
Unprocessable.
Shows the webhook configuration associated with the authenticated account/user.
Authentication using a Bearer token.
Successfully retrieved the webhook configuration details.
Unauthorized.
Updates the webhook configuration associated with the authenticated user.
Authentication using a Bearer token.
Data required to update an existing webhook configuration. All fields are typically required for PUT/replace semantics, but PATCH might allow partial updates (adjust schema 'required' if using PATCH).
Whether the webhook subscription should be active.
trueThe target URL endpoint for the webhook messages.
https://example.com/my-updated-webhook-listenerA secret token sent with webhook messages for verification. Min 16, Max 100 characters.
whsec_xYzAbCdEfGhIjKlMnOpQrSA user-friendly name for the webhook configuration.
Updated Production WebhookAn optional description for the webhook configuration.
Updated description for the webhook.Webhook configuration updated successfully. Returns the updated resource.
Unauthorized.
Unprocessable.
Last updated
Was this helpful?
