UAPAY - національний платіжний сервіс

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Method for creating a session

URI

POST /api/sessions/create

Запит:

Key
Description
Type
Is this parameter necessary?
Example
params



clientidid clientsstringyes

"1"


An example of creating a session
{  
   "params":{  
      "clientId":"1"
   }
}

Reply:

Key
Description
Type
Example
status

Status. 0 - error, 1 - success

integer

1

id

session id in the UAPAY system

string, uuid

"de305d54-75b4-431b-adb2-eb6b9e546014"


An example of a successful response
{
    "status": "1",
    "id":     "de305d54-75b4-431b-adb2-eb6b9e546014"
}
  • No labels