Documentation Index
Fetch the complete documentation index at: https://docs.propaga.mx/llms.txt
Use this file to discover all available pages before exploring further.
Webhook Endpoint
You should configure your webhook endpoint to receive POST requests from Propaga. The webhook will send the user KYC finished notification data in JSON format. Please contact us to set up the webhook.Payload Structure
Here’s an example of the webhook payload you’ll receive when the user finishes the KYC process:Payload Fields
| Field | Type | Description |
|---|---|---|
userId | String | The Propaga’s ID of the user. |
cornerStoreId | String | The ID of the corner store. |
externalId | String | The ID of the user in your system. |
kycStatus | String | The status of the KYC process. |
Handling the Webhook
Here’s an example of how to handle the webhook in different programming languages:Best Practices
- Verify the Webhook Source: Implement security measures to verify that the webhook is coming from Propaga.
-
Implement Idempotency: Store the
userIdto avoid processing the same user KYC finished notification multiple times. - Handle Errors Gracefully: Implement proper error handling and logging to track any issues with webhook processing.
- Respond Quickly: Your webhook endpoint should respond as quickly as possible. If processing takes time, handle it asynchronously.
- Validate Data: Always validate the incoming data before processing it.

