Delivery Emissions is an independent Partner capability. It works the same whether your contribution method is
loyalty_points or direct_contribution. Estimates are optional, educational Well-to-Wheel values—not environmental impact by themselves—and are not required to confirm a contribution.capability_disabled. When enabled, you may create estimates and optionally associate them with confirmed Loyalty or Direct contributions. The four supported combinations are in Contributions.
Operations
POST {baseUrl}/v1/emissions/estimatescreates an estimate.GET {baseUrl}/v1/emissions/estimates/{calculation_id}retrieves an estimate.POST {baseUrl}/v1/impact-transactions/{transaction_id}/emissions-associationsassociates an estimate with a confirmed contribution.
Idempotency-Key is required when creating an estimate or association.
Calculation rules
Supported vehicle categories are:motorcycle_gasolinecar_gasoline
0 < distance_km <= 200 and may have no more than three decimal places.
The Well-to-Wheel factors are:
motorcycle_gasoline:143.23 gCO2e/kmcar_gasoline:207.51 gCO2e/km
estimated_emissions_kgco2e = raw_emissions_gco2e / 1000. Display values use two decimals with round-half-up. Values below 0.01 are shown as <0.01, never 0.00.
Create an estimate
Send this JSON toPOST {baseUrl}/v1/emissions/estimates:
201 with calculation_id, estimated_emissions_kgco2e, display fields, calculated_at, and expires_at (estimates expire after 24 hours). Methodology and emission-factor version identifiers are in the response for audit; see Create a delivery-emissions estimate.
Associate an estimate
After association, the immutable link snapshot is authoritative.201 with link metadata. Full fields are in Associate a late emissions estimate.
Association failure is non-fatal: the contribution remains confirmed. Do not reverse customer value (points or payment) because of an association rejection.
For a copy-paste estimate-then-associate flow, see Examples.
