Create an end-customer

Add new end-customers to your system effortlessly.

The POST EndCustomer endpoint enables customers to create new end-customer profiles within the FincoEnergies platform. This functionality is crucial for businesses looking to allocate insetting credits to specific end-customers, providing a structured way to manage and track these allocations. By setting up end-customer profiles through this endpoint, you’ll streamline the process of distributing credits and ensure accurate record-keeping. 

Default request:

Parameters:

  • No parameters

Request body:

{
"Name": "string",
"Address": "string",
"Image": "string"
}
  • 'Name' - this name will be displayed on the verified client certificate.
  • 'Address' - this address will be displayed on the verified client certificate.
  • 'Image' - this concerns the company logo (in Base64 code), which will be displayed on the verified client certificate. 

Default response:

200: Default response

{
"Message": "EndCustomer succesfully created"
}

422: Validation error response

{
"error": "Description of validation error."
}

500: Default response error

{
"error": "Description of the error(s) that occurred."
}

504: Timeout error response

{
"error": "Timeout waiting for response"
}