Webhook

Revoke the current webhook signing secret

Revoke the current webhook signing secret

post/api/v1/webhooks/secret/revoke

Request body

merchant_idstring uuid

Merchant ID. Defaults to the logged-in merchant if not provided. Required for admin tokens.

Example request

{
  "merchant_id": "550e8400-e29b-41d4-a716-446655440000"
}

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "message": "Webhook secret successfully revoked"
  }
}

Changes

Changed in 3 of the 8 revisions of this API.313

  • b372e7d5563d212See the full diff
    • added required request body

      request-body-added-required

    • the / response's property type changed from string to no type for status

      response-property-type-changed

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • added the optional property / to the response with the status

      response-optional-property-added

    • added subschema #1 subschema #2 to the / response property allOf list for the response status

      response-property-all-of-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 367 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog