Skip to content

clientAuth request

Veronika edited this page Dec 17, 2018 · 14 revisions

Method : post

Path : /clientAuth

Request body parameters:

Name Required Value
phone Y string with client phone number (12 digits without any other characters, only Ukrainian numbers are accepted)
name Y string with client name

Success response parameters:

Name Required Value
clientId Y autogenerated client identifier
state Y string with state of client, can be 2 variants: "new" - for new, unverified client; "active" - for existing customers

Request body example:

{
"phone":"380504511016",
"name":"Nika"
}

Success response example:

{
"action": "clientAuth",
"result": "ok",
"reqId": "1544128806138",
"data": {
    "clientId": "1544128805678",
    "state": "new"
}
}