Revenue

Replace the typed provider config on an integration. Passing `null` clears the config back to the accept-everything default. The config's provider tag must match the integration's provider.

post/projects/{project_id}/revenue/integrations/{integration_id}/config

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}/config
  • Auth: HTTP bearer

Path parameters

project_idinteger required
integration_idinteger required

Request body

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.