Webhooks

The /webhooks endpoint allows to create, list and modify webhooks. It requires authentication.

Webhook format

{
  "url": "https://example.com/my-webhooks",
  "secret": "<your webhook secret>",
  "types": [
    "charge.processing",
    "charge.pending",
    "charge.success",
    "charge.failure",
    "charge.late",
    "charge.timeout",
    "charge.overpaid",
    "charge.underpaid",
    "charge.resolved",
    "charge.unsettled"
  ],
  "organizationId": "<organization id>"
}

The types property can contain an array of charge.<status name> where status name is any of the charge status code names.

results matching ""

    No results matching ""