---
title: "POST /gocardless/webhook/"
method: POST
path: "/gocardless/webhook/"
tags: ["gocardless"]
---

# POST /gocardless/webhook/

`POST /gocardless/webhook/`

Receives event notifications from GoCardless.
Updates the contract status based on payment events.

Events handled:
    - payments.paid_out         → increment payments_made on the contract
    - payments.failed           → log the failure
    - subscriptions.finished    → mark contract as completed

## Response `201`

Created

---

[API](https://skmtc.net/pazy/apis/pazy-api.md) · [All operations](https://skmtc.net/pazy/apis/pazy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pazy/pazy-api/revisions/065e523f40af/schema)
