Shop List
POST https://tegro.money/api/shops/
Retrieve a list of your shops
Request
Header |
|
|
Authorization |
string |
Request signature |
Body |
|
|
shop_id |
string |
Shop ID |
nonce |
integer |
Unique request number |
Response
{
"type": "success",
"desc": "",
"data": {
"user_id": 1,
"shops": [
{
"id": 1,
"date_added": "2020-11-03 18:04:07",
"name": "DEMO1",
"url": "https://demo1",
"status": 1,
"public_key": "D0F98E7DD86BB7500914",
"desc": "DEMO1 SHOP"
},
{
"id": 2,
"date_added": "2020-11-03 22:38:58",
"name": "DEMO2",
"url": "https://demo2",
"status": 0,
"public_key": "1913EA935149B1E5D852A",
"desc": "DEMO2 SHOP"
}
]
}
}
Request Example
{
"shop_id": "1913EA935149B1E5D852A",
"nonce": 1613435880
}