Webhooks

Update an existing webhook endpoint

Changed on

Update the configuration of an existing webhook endpoint

post/webhooks/{webhookEndpointId}

Request

  • Base URL
    https://api.mercury.com/api/v1
  • URL
    https://api.mercury.com/api/v1/webhooks/{webhookEndpointId}
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

webhookEndpointIdstring uuid required

ID for the webhook

Request body

eventTypesstring[] nullable

Event types to subscribe to. Send null to subscribe to all event types. Send an array to subscribe to specific types. Omit to leave unchanged.

filterPathsstring[] nullable

Resource field paths to filter events by. When specified, webhook events will only be sent when one of these fields changes. Send null for no filtering. Send an array to filter by specific fields. Omit to leave unchanged.

status'active' | 'paused'
urlstring nullable

The URL to which webhook events will be delivered. Omit to leave unchanged.

Changes

    • breaking

      removed the enum value checkingAccount.availableBalance of the request property /

    • breaking

      removed the enum value checkingAccount.currentBalance of the request property /

    • breaking

      removed the enum value checkingAccount.inFlightBalance of the request property /

    • breaking

      removed the enum value creditAccount.availableBalance of the request property /

    • breaking

      removed the enum value creditAccount.currentBalance of the request property /

    • breaking

      removed the enum value creditAccount.inFlightBalance of the request property /

    • breaking

      removed the enum value investmentAccount.availableBalance of the request property /

    • breaking

      removed the enum value investmentAccount.currentBalance of the request property /

    • breaking

      removed the enum value investmentAccount.inFlightBalance of the request property /

    • breaking

      removed the enum value savingsAccount.availableBalance of the request property /

    • breaking

      removed the enum value savingsAccount.currentBalance of the request property /

    • breaking

      removed the enum value savingsAccount.inFlightBalance of the request property /

    • breaking

      removed the enum value treasuryAccount.availableBalance of the request property /

    • breaking

      removed the enum value treasuryAccount.currentBalance of the request property /

    • breaking

      removed the enum value treasuryAccount.inFlightBalance of the request property /

    • warning

      removed subschema #2 from the request property allOf list

    • info

      media type application/json was changed to application/json;charset=utf-8 for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed the checkingAccount.availableBalance enum value from the / response property for the response status

    • info

      removed the checkingAccount.currentBalance enum value from the / response property for the response status

    • info

      removed the checkingAccount.inFlightBalance enum value from the / response property for the response status

    • info

      removed the creditAccount.availableBalance enum value from the / response property for the response status

    • info

      removed the creditAccount.currentBalance enum value from the / response property for the response status

    • info

      removed the creditAccount.inFlightBalance enum value from the / response property for the response status

    • info

      removed the investmentAccount.availableBalance enum value from the / response property for the response status

    • info

      removed the investmentAccount.currentBalance enum value from the / response property for the response status

    • info

      removed the investmentAccount.inFlightBalance enum value from the / response property for the response status

    • info

      removed the savingsAccount.availableBalance enum value from the / response property for the response status

    • info

      removed the savingsAccount.currentBalance enum value from the / response property for the response status

    • info

      removed the savingsAccount.inFlightBalance enum value from the / response property for the response status

    • info

      removed the treasuryAccount.availableBalance enum value from the / response property for the response status

    • info

      removed the treasuryAccount.currentBalance enum value from the / response property for the response status

    • info

      removed the treasuryAccount.inFlightBalance enum value from the / response property for the response status