Creating a session (Invoice Create Sessions)

Method for creating a session

URI

POST /api/sessions/create

Request:

Key

Description

Type

Is this parameter necessary?

Example

Key

Description

Type

Is this parameter necessary?

Example

params









clientid

id clients

string

yes

"1"

An example of creating a session
1 2 3 4 5 { "params":{ "clientId":"1" } }

Reply:

Key

Description

Type

Example

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
1 2 3 4 { "status": "1", "id": "de305d54-75b4-431b-adb2-eb6b9e546014" }