Revenue

Replace the stored signing secret without rotating the webhook URL. Use this after rotating the secret in the provider's dashboard.

post/projects/{project_id}/revenue/integrations/{integration_id}/update-secret

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/revenue/integrations/{integration_id}/update-secret
  • Auth: HTTP bearer

Path parameters

project_idinteger required
integration_idinteger required

Request body

signing_secretstring required

New signing secret from the provider's dashboard. Encrypted at rest; never returned in any API response.

Response

created_atstring date-time required
has_secretboolean required
idinteger required
last_event_atstring date-time nullable
project_idinteger required
providerstring required
statusstring required
webhook_pathstring required

Relative path the UI can display and copy. The frontend builds the full URL by prefixing its own origin.

webhook_path_tokenstring required

Unguessable token embedded in the public webhook URL. The full URL is {api_origin}/webhooks/revenue/{provider}/{webhook_path_token}.

Changes

No recorded changes to this operation across all 50 revisions of this API.