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

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

 

UAPAY - національний платіжний сервіс
pay@uapay.ua