Event

Update event subscription

Changed on

Update an event subscription.

patch/v1/event_subscriptions/{event_subscription_token}

Request

  • Base URL
    https://sandbox.lithic.com
  • URL
    https://sandbox.lithic.com/v1/event_subscriptions/{event_subscription_token}
  • Auth
    API key in header Authorization

Path parameters

event_subscription_tokenstring required

Request body

descriptionstring

Event subscription description.

disabledboolean

Whether the event subscription is active (false) or inactive (true).

event_typesEventType[]

Indicates types of events that will be sent to this subscription. If left blank, all types will be sent.

urlstring uri required

URL to which event webhooks will be sent. URL must be a valid HTTPS address.

Response

OK

descriptionstring required

A description of the subscription.

disabledboolean required

Whether the subscription is disabled.

event_typesEventType[]
tokenstring required

Globally unique identifier.

urlstring uri required

Example response

{
  "token": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga1"
}

Changes

    • warning

      added the new card.pin_updated enum value to the / response property for the response status

    • info

      added the new card.pin_updated enum value to the request property /

    • warning

      added the new embed.session_generated enum value to the / response property for the response status

    • warning

      added the new embed.viewed enum value to the / response property for the response status

    • info

      added the new embed.session_generated enum value to the request property /

    • info

      added the new embed.viewed enum value to the request property /