创建source
POST
/open/v3/transaction/source请求参数
Body 参数application/json
name
string
必需
entityAccountId
string
必需
示例
{
"name": "xxx",
"entityAccountId": "ilCyycOhTFCHcyt1PilNxESL9Zk87mVd-3143"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
string
必需
data
object
必需
sourceId
integer
必需
entityId
integer
必需
type
string
必需
sourceName
string
必需
address
string
必需
cardNumber
string
必需
exchangeUserId
string
必需
apiKey
string
必需
apiSecret
string
必需
entityFileId
integer
必需
passphrase
string
必需
purpose
string
必需
platformId
integer
必需
transactionOption
null
必需
syncLog
string
必需
syncStatus
string
必需
transactionCount
integer
必需
dateEndpoint
null
必需
updatedAt
string
必需
createdAt
string
必需
timeExceeded
boolean
必需
regeneration
boolean
必需
deletedAt
null
必需
entityAccount
null
必需
示例
{
"status": "success",
"data": {
"sourceId": 1008,
"entityId": 371,
"type": "API",
"sourceName": "test-sourcename",
"address": "",
"cardNumber": "",
"exchangeUserId": "",
"apiKey": "",
"apiSecret": "",
"entityFileId": 0,
"passphrase": "",
"purpose": "OPERATING",
"platformId": 14,
"transactionOption": null,
"syncLog": "",
"syncStatus": "WAITING",
"transactionCount": 0,
"dateEndpoint": null,
"updatedAt": "2023-09-27T08:32:32.559Z",
"createdAt": "2023-09-27T08:32:32.559Z",
"timeExceeded": false,
"regeneration": false,
"deletedAt": null,
"entityAccount": null
}
}
最后修改时间: 8 天前