Registration

Address https://api-qtreasure.qchain.space/v1/new-client

POST request

Parameters:

email - The email address to which the client registers

password

callback - the full address of the endpoint to which changes in transaction states will be sent

Example:

{
  "email": "test@test.test",
  "password": "12345678",
  "callback": "https://test-site.com/v1/callback"
}

Response:

Field api_key - a unique key that will need to be submitted with requests

{
  "success": true,
  "api_key": "rTnbp54rIxfv2r5KdXRzHrJ6NIABMmvV"
}

Response with an error:

{
  "success": false,
  "error": "Error title",
  "message": "Error message"
}

Last updated