UAPAY - національний платіжний сервіс
Balance check (Account list)
A method for checking the balance
URI
POST /api/accounter/clientAccount/list
Request:
Key | Description | Type | Required? | Example |
|---|---|---|---|---|
params | ||||
sessionId | session id | string, uuid | yes | "4bda7e34-a1c7-4587-b43b-06c506388ce7" |
An example of creating a session
{
"params":{
"sessionId":"4bda7e34-a1c7-4587-b43b-06c506388ce7"
}
}Response:
Key | Description | Type | Example |
|---|---|---|---|
status | Status. 0 - error, 1 - success | integer | 1 |
data | |||
accountId | string, uuid | "09a1f63b-2196-450f-b60e-c336c2a02214" | |
name | string | "CORE" | |
description | string | "Core account" | |
isCoreAccount | string | "YES" | |
currency | string | "UAH" | |
balance | string | "517429.49" | |
holds | string | "35.00" | |
available | string | "517394.49" | |
status | Account status | string | "ACTIVE" |
An example of a successful response
{
"status":1,
"data":{
"accounts":[
{
"accountId":"09a1f63b-2196-450f-b60e-c336c2a02215",
"name":"CORE",
"description":"Core account",
"isCoreAccount":"YES",
"currency":"UAH",
"balance":"517429.49",
"holds":"35.00",
"available":"517394.49",
"status":"ACTIVE"
},
{
"accountId":"4bda7e34-a1c7-4587-b43b-06c506388ce7",
"name":"REPLENISH FEE",
"description":"Account replenishment fee",
"isCoreAccount":"NO",
"currency":"UAH",
"balance":"4644.00",
"holds":"0.00",
"available":"4644.00",
"status":"ACTIVE"
}
]
}
}UAPAY - національний платіжний сервіс
pay@uapay.ua