POST
Create new customer

Method for creating a new customer. All parameters are required to create new customer account.

https://api.minerstat.com/v2/customer

Parameters

Parameter
Type
Description
Requiredname
string
Your customer's name.
Requiredemail
string
Your customer's email.
RequiredpackageName
string
Your customer's package name.
RequiredpackageWorkers
int
The number of workers you will assign to your customer.
RequiredpackageExpiry
string
The date of expiry in YYYY-MM-DD hh:mm:ss format or never.

Example call

{"name": "John Doe", "email": "info@minerstat.com", "packageName": "Tier 10", "packageWorkers": 10, "packageExpiry": "2020-03-05 20:00:00"}

Example response

{
 "message": "Customer was created successfully"
}