Associate a late emissions estimate
Associates a valid temporary estimate with a confirmed contribution. Idempotency-Key is
required. At most one valid association exists per confirmed contribution and per estimate.
The contribution must already be confirmed. Association failure is non-fatal: status stays
confirmed and you must not restore points. After association, the immutable snapshot is
the reporting record.
Authorizations
Canonical server-to-server API key header name: X-API-Key.
Partner customer applications must not use this credential.
Examples must never include raw API secrets.
Headers
Transport/request idempotency key required for delivery-emissions estimate creation,
contribution confirmation, and emissions-association creation.
Same key + same canonical payload returns the original result.
Same key + conflicting canonical payload returns idempotency_conflict.
Non-PII transport idempotency key.
8 - 128^[A-Za-z0-9._:-]+$"idem_01HZX5Z9Y8X7W6V5U4T3S2R1"
Optional request correlation header. If omitted, Akhdar generates one. Every success
and error response includes X-Correlation-ID. Error payloads include correlation_id.
Non-PII request correlation identifier.
8 - 128^[A-Za-z0-9._:-]+$"corr_7c2e9b1a4d6f8e0c"
Path Parameters
Akhdar-generated impact transaction identifier.
8 - 128^[A-Za-z0-9._:-]+$"txn_01HZX6M4N5P6Q7R8S9T0U1V2"
Body
Akhdar-generated emissions estimate identifier.
8 - 128^[A-Za-z0-9._:-]+$"calc_01HZX4K9M2Q8R7N6P5T4V3W2X1"
Response
Idempotent replay of the same association returned the original link.
Closed association outcomes. associated includes link. rejected includes rejection.
not_requested includes neither.
- Option 1
- Option 2
- Option 3
Contribution status after the association attempt. Association failure must leave a confirmed contribution as confirmed.
pending, confirmed, failed "confirmed"

