Update a webhook

Changed on
put/webhooks/{endpoint}

Request

  • Base URL
    https://api.notchpay.co
  • URL
    https://api.notchpay.co/webhooks/{endpoint}
  • Auth
    • API key in header Authorization
    • or API key in header X-Grant
    • or API key in header X-Sync

Path parameters

endpointstring required

Unique identifier of the webhook

Request body

urlstring
descriptionstring
eventsstring[]

Example request

{
  "url": "https://example.com/webhooks",
  "description": "Webhook principal mis à jour"
}

Response

Webhook endpoint updated

codeinteger required
statusstring required
messagestring required
endpointWebhook required(unresolved $ref)

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status