Registers a new webhook endpoint so your application can receive real-time events (such as charge.succeeded). You must provide the public URL Charge should call and the list of events you want to subscribe to.
charge.succeeded