Create calculation
POST/calculations
Calculates carbon emission for one or more transactions. If the request contains a transaction with an unsupported merchant category (MCC) the response still contains that item but without any values returned, except the reference which is echoed back.
Request
Responses
- 200
- 400
- 401
- 403
- 405
- 415
- 429
- 500
- default
Calculation response
Bad request
Unauthorized client
Insufficient scope for accessing this resource
Method not allowed
Unsupported media type
Too many requests, check the headers X-RateLimit-Limit-second and X-RateLimit-Remaining-second
Unexpected server error
Default response
Response Headers
X-RateLimit-Limit-second
Request limit per second
X-RateLimit-Remaining-second
Number of requests left for the time window