minerstat for developersversion 2.0

POST
Create new customer

Method for creating new customer.

/v2/customer

Creates a new 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"
}