Authorizations
API key authentication
Body
application/json
The plan to associate this source with
The type of source. Currently only 'stripe_revenue' is supported.
Available options:
stripe_revenue
Display name for the source
Optional description of the source
Configuration specific to the source type. For stripe_revenue, must include ampersandProjectId.
Metadata for the source. For stripe_revenue, must include billableMetricMapping with revenue (billable metric ID).
Whether the source is enabled
How events are processed - automatic (immediate) or manual (requires approval)
Available options:
automatic
, manual
Response
Source created successfully
Unique identifier for a source
Unique identifier for a plan
Unique identifier for an organization
Available options:
source
Available options:
stripe_revenue
Available options:
automatic
, manual