Skip to main content

Subscribing

POST 

/api/v3/_resthook

Subscribing is the process of telling ChargeOver to send webhooks to you whenever a specific event occurs (example: "Send http://example.org/my_webhook_url data whenever a customer is created.").


Once you've subscribed, each time the event occurs within ChargeOver, ChargeOver will send an HTTP POST request to your URL with a JSON payload of the event data.


Please refer to our webhooks documentation to see the JSON payloads your webhook URL will receive.

Request

Body

    target_url string

    The subscription URL

    event string

    The event

Responses

Object was created successfully

Schema

    code integer
    status string
    message stringnullable
    details objectnullable

    response

    object

    id integer
Loading...