Billing
List billing periods with their carbon receipt and statement
Changed onPaginated, billing-period-driven list: one entry per closed period that has a carbon receipt or a footprint statement. receipt is null when the period retired no carbon; statementId links its footprint statement. Paywalled: free-tier orgs receive 402 PAYMENT_REQUIRED with an upgradeUrl.
get/api/v1/billing/receipts
Request
- Base URLhttps://api.crbonfree.com
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
limitinteger
Response
Paginated billing-period receipt entries
Changes
- info
added the required property
//////to the response with the status
- info
- warning
added the new
paygenum value to the//////response property for the response status
- warning