Skip to main content
Creates a webhook endpoint. Provide the public HTTPS URL Charge should call and the event types to deliver.

Parameters

array of string
required
List of event types to subscribe to.
string
required
Public HTTPS URL that will receive webhook POSTs.

More parameters

string
Override the default API version for this endpoint.
string
Optional description for your own reference.
object
Set of key-value pairs that you can attach to an object.

Returns

Returns the created webhook endpoint.