Skip to main content

Retirement Payload | Climes API


This event gets fired when the users' Climes are retired.

Schema

Below is the schema in which the events data will be sent.

NameDescriptionType
partner_order_idThis is the partner_order_id sent while creating the order.string
customer_nameThe name of the user sent while creating the order.string
customer_emailThe users email sent while creating the order.string
customer_phoneThe user phone number sent while creating the order.string
climesThe total climes allocated to the project.string
project_idThis is the project_id of the chosen project by the user. You can get the details regarding that project using Get Projects APIstring
project_nameThis is the name of the project.string
project_urlThis is the URL at which its available in Climes's Website.string
project_developerThis is the name of the project developer of the projectstring
order_dateThis is the date at which the order was created.UTC string
allocation_dateThis is the date at which the user allocated their Climes to a certain project.string
retirement_certificateThis is the retirement certificate stating that the Climes are now retired.string

Example Payload

{
"event_type" : "RETIREMENT",
"payload" : {
"partner_order_id" : "876287372837786837",
"customer_name" :"John Doe",
"customer_email" : "johndoe5675533@gmail.com",
"customer_phone" : "+916355129211",
"climes" : 557,
"project_id" : "farmers-for-forests",
"project_name" : "Making biodiverse forests financially viable for farmers",
"project_url" : "https://climes.io/app/projects/farmers-for-forests",
"project_developer" : "Farmers for Forests",
"order_date" : "2023-06-21T02:29:50.251Z",
"allocation_date" : "2023-06-22T06:35:22.314Z",
"retirement_certificate" : "link-to-retirement-certificate"
}
}