Creates a new webhook subscription accessible only to the client.
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. |
The subscription was created.
Bad request due to a client error in path parameters, header or body.
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 occurred while processing the request.
{- "event_type": "INVOICE_INVOICE",
- "secret": "6GHbLH4d1Nx3eIs5CyLHCW4HuFi1qttpNSDawHKHlW7kurTpaddarwEKDWUI59IU"
}
{- "id": "d8znR1k1_0Kw305BsoPT",
- "event_type": "INVOICE_INVOICE",
- "secret": "6GHbLH4d1Nx3eIs5CyLHCW4HuFi1qttpNSDawHKHlW7kurTpaddarwEKDWUI59IU"
}