Delete Webhook Subscription
Unsubscribe by disabling the subscription so delivery stops. Soft-disable: the record is kept with `enabled=False` and `disabled_at` set. Disabling an already-disabled subscription is a no-op and still returns 204 No Content, so unsubscribe is idempotent.
Parameters
- subscription_id
- Opaque id of the subscription to unsubscribe.
- api_key
- Resolved Partner API key, providing the financial institution scope for the lookup.
Returns
An empty 204 No Content response.
Raises
- HTTPException
- 404 Not Found when no subscription with that id exists for this financial institution.
Authorization
APIKeyHeader x-api-key<token>
In: header
Path Parameters
subscription_id*Subscription Id
Response Body
application/json
curl -X DELETE "https://partner-api.investifi.com/v1/webhooks/subscriptions/string"Empty
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Webhook Subscription
Create a webhook subscription, issuing the financial institution's signing secret on first use. The signing secret is returned only when this subscribe issued it (the financial institution's first subscription); on later subscribes it already exists and is omitted.
Guides
End-to-end integration patterns built from the transaction and user endpoints.

