The request body must contain the complete information about the subscription.
The following values can be updated: The URL used for the webhook, the event type applied to this URL and the secret, which is used to sign the payload. It is not possible to change the identification of the subscription.
Omitting properties from the request body (e.g. secret) will result in a validation error and return the status code 400.
Authorization required | string For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token. |
OK. The subscription was updated.
Bad request due to a client error in path parameters, header or body.
Bad request because the client cannot be authorized.
Bad request because the client is not allowed to update the resource.
Bad request because the resource cannot be found.
Bad request because the HTTP method is not allowed.
Bad request because the server cannot produce a response matching the list of acceptable values.
Bad request because the payload format is not supported.
An internal server error occured while processing the request.
{- "event_type": "INVOICE_INVOICE",
- "secret": "6GHbLH4d1Nx3eIs5CyLHCW4HuFi1qttpNSDawHKHlW7kurTpaddarwEKDWUI59IU"
}
{- "id": "d8znR1k1_0Kw305BsoPT",
- "event_type": "INVOICE_INVOICE",
- "secret": "6GHbLH4d1Nx3eIs5CyLHCW4HuFi1qttpNSDawHKHlW7kurTpaddarwEKDWUI59IU"
}