Openi DeveloperDeveloper
Referência da APIData sources

OpenFinance: rotate tenant webhook secret

Rotates the inbound webhook secret used by OpenFinance to deliver events. Optionally accepts a new `authorizationKey` and `baseUrl`. Verifies the new key with upstream before persisting; returns 502 when upstream rejects.

POST
/v1/data-sources/openfinance/webhook/rotate

Authorization

ApiKeyAuth
x-api-key<token>

Tenant API key

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

authorizationKey?string
baseUrl?string
Formaturi

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/data-sources/openfinance/webhook/rotate" \  -H "Content-Type: application/json" \  -d '{}'
{  "ok": true}