Webhooks

Создание webhook

Request

  • Base URL
    https://api.yookassa.ru/v3
  • Auth
    HTTP basic

Headers

Idempotence-Keystring required

Request body

event'payment.waiting_for_capture' | 'payment.succeeded' | 'payment.canceled' | 'refund.succeeded' required
urlstring required

URL для уведомлений.

Response

The request has succeeded.

idstring required

Идентификатор webhook.

event'payment.waiting_for_capture' | 'payment.succeeded' | 'payment.canceled' | 'refund.succeeded' required
urlstring required

URL для уведомлений.

Changes

    • warning

      removed subschema #2 from the request property allOf list

    • info

      api operation id Webhooks_create was added

    • info

      removed the pattern [0-9a-zA-Z+-_.]{1,64} from the header request parameter Idempotence-Key

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

      removed the error enum value from the //// response property for the response status

    • info

      removed the error enum value from the //// response property for the response status

    • info

      removed the error enum value from the //// response property for the response status

    • info

      removed the error enum value from the //// response property for the response status