Receive webhook data from Avvance integration
Receive webhook events from the Avvance integration. This endpoint does not require authentication — it should be called by Avvance only. A 2xx means the event was acknowledged, not necessarily processed; unknown events are acknowledged and ignored. The body echoes the request.
Side effects: LOAN_STATUS_DETAILS updates the payment matched by partnerSessionId (declined → error, authorized → paid + payment webhook, settled → settled); AVVANCE_MERCHANT_ACTIVITY toggles the merchant BNPL activation and notifies the integrations service; PRE_APPROVAL_LEADS stores a BNPL application for the merchant.
Receive webhook data from Avvance integration › Request Body
Event payload. Merchant is resolved from eventDetails.mid (pre-approval) or eventDetails.merchantId.
eventNameAvvance event type
occurredAtEvent timestamp
Receive webhook data from Avvance integration › Responses
Webhook acknowledged (not necessarily processed). Body echoes the request.

