Events + Webhooks
post/webhooks

Request

Headers

LMG-Data-Privacy-Access-Principalstring required
LMG-Data-Privacy-Access-Justificationstring required

Request body

urlstring uri required

The URL of your webhook endpoint to be invoked when an event occurs.

eventsEventType[] required

Example request

{
  "url": "https://httpbin.org/status/503"
}

Response

Successful Response

idstring required

A string representing a webhook's unique identifier.

urlstring uri required

The URL registered to receive webhook notifications.

eventsEventType[] required
signature_secretstring required

Shared secret used to calculate the signature in the HTTP header Lemon-Markets-Signature for requests posted to the webhook URL.

Example response

{
  "id": "wbh_0953534cf20f414098533680abd6b1c6"
}

Changes

    • warning

      added the new payment_instrument_mandate.canceled enum value to the / response property for the response status

    • warning

      added the new payment_instrument_mandate.confirmed enum value to the / response property for the response status

    • warning

      added the new payment_instrument_mandate.created enum value to the / response property for the response status

    • warning

      added the new payment_instrument_mandate.rejected enum value to the / response property for the response status

    • info

      added the new payment_instrument_mandate.canceled enum value to the request property /

    • info

      added the new payment_instrument_mandate.confirmed enum value to the request property /

    • info

      added the new payment_instrument_mandate.created enum value to the request property /

    • info

      added the new payment_instrument_mandate.rejected enum value to the request property /