Openi DeveloperDeveloper
Referência da APIInbound hooks

OpenFinance inbound webhook

Receives OpenFinance webhook notifications. Requires `Authorization` header set to the tenant's stored secret. JSON body with `event` and `data` is expected.

POST
/hooks/of/{slug}

Path Parameters

slug*string

Header Parameters

Authorization*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

OpenFinance event payload. The connector consumes event, data.itemId, data.accountId, data.accountType, data.transactionIds, data.transactionsStartAt. Other fields are accepted but ignored.

event*string
data*
[key: string]?any

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/hooks/of/string" \  -H "Authorization: string" \  -H "Content-Type: application/json" \  -d '{    "event": "string",    "data": {}  }'
{  "ok": true,  "skipped": true}