用户接口
Responses
200
OK
*/*
get
/v1/users/apikeysGET /v1/users/apikeys HTTP/1.1
Host: dex-api.benpay.com
Accept: */*
200
OK
{
"success": true,
"data": [
{
"id": 1,
"createdAt": 1,
"updatedAt": 1,
"userId": 1,
"accountId": 1,
"expiresAt": 1,
"apiKey": "text",
"apiSecret": "text",
"description": "text",
"netAddress": 1,
"netmask": 1,
"canTransfer": true,
"canTrade": true,
"canWithdraw": true,
"enabled": true,
"ipRestriction": "text"
}
],
"error": "text",
"errorField": "text",
"errorMessage": "text"
}Responses
200
OK
*/*
post
/v1/users/apikeysPOST /v1/users/apikeys HTTP/1.1
Host: dex-api.benpay.com
Accept: */*
200
OK
{
"success": true,
"data": {
"id": 1,
"createdAt": 1,
"updatedAt": 1,
"userId": 1,
"accountId": 1,
"expiresAt": 1,
"apiKey": "text",
"apiSecret": "text",
"description": "text",
"netAddress": 1,
"netmask": 1,
"canTransfer": true,
"canTrade": true,
"canWithdraw": true,
"enabled": true,
"ipRestriction": "text"
},
"error": "text",
"errorField": "text",
"errorMessage": "text"
}Last updated