Postman Quickstart Guide
Learn how to use Postman to retire carbon via REST API
Last updated
Learn how to use Postman to retire carbon via REST API
Last updated
The Retirement API is currently in beta. These endpoints and parameters are in active development and are likely to change.
Carbonmark's Retirement API offers developers a path to initiate carbon retirements via a REST endpoint. is a software tool that helps developers design, build, test and manage APIs. Follow the guide below to get started retiring carbon using Postman:
In this guide, you will learn to:
Get access to the Carbonmark developer dashboard and get your API Key
Import Carbonmark REST API into Postman
Create an order
Confirm the status of your order and carbon credit retirement
The API Key is sensitive and can be used to create costly retirements on your behalf. Be careful not to expose the API Key or commit it to your repository.
Depending on whether you select to inherit authorization in your import settings, you may need to set your API key in the request authorization tab and not the collection authorization tab.
Select the newly imported Carbonmark REST API collection. Open the Authorization tab and under Type select Bearer Token from the dropdown menu. Paste your Carbonmark API Key into the Token field. Don't forget to save by clicking the save button.
Navigate to Submit a retirement order
in the orders
folder. Open the Body tab and configure your retirement order with your desired variables.
Send your request by clicking the send button.
You should receive a response containing your order details including order id
and status
of your order which will allow you to confirm your order has been SUBMITTED
and will be completed shortly.
To verify your order has been completed, navigate to get Order details
in the orders/{id}
folder. Under the params tab, enter the id
value of your order.
Send your request by clicking the send button.
You should receive a response indicating the current status of your order. Once your order status
is COMPLETED
, your order is complete and the carbon credit has been retired.
When the transaction is finalized and our system has marked the order status as “complete”, the provided URL should take you to the shareable retirement receipt.
carbonmark.com/retirements/{beneficiaryAddress}/{number}
The order will appear in your developer dashboard as well.
The cost of the order will be added to your monthly invoice.
One of our solution specialists would be happy to answer any questions you have.
Either, or sign into the .
Open Postman and click the Import button. Paste this link to import Carbonmark API: Select Postman Collection and click Import. You may want to review your import settings. We recommend using 'Example' as the Parameter generation.
If you've imported the collection correctly, it should be pre-configured with an example; you can see other examples of order to retire from seller listings or carbon pools in our .
You can follow the polygonscan_url
or view_retirement_url
URLs in the response for further confirmation that your retirement order transaction is complete.
Alternatively, you can navigate back to and see the entry and the order status.
For example: