Update account

Update account

post
Header parameters
companyIdstringRequired

Company ID

Example: {{company}}
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
apiKeystringRequired

apiKey

Example: {{apikey}}
recvWindowstringOptional

time window

Example: 5000
signaturestringRequired

sign

Example: {{sign}}
langstringOptional

language

Example: zh-CN
versionstringRequired

Interface version

Example: 0.0.1
Body
idstringRequired

Record ID

accountNamestringOptional

Account alias

accountApiKeystringOptional

apiKey (cumberland exchange is cumberland's counterpartyId)

accountSecretKeystringOptional

secretKey (cumberland exchange is cumberland’s userId)

passphrasestringOptional

Private key password, optional, passphrase

certificatestringOptional

Bsae16 string of certificate in pkcs12 format.

Responses
200Success
application/json
post
POST /global/customer.admin.CustomerDirectAccAdminApiService.edit HTTP/1.1
Host: 
companyId: text
trace: text
apiKey: text
signature: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 124

{
  "id": "text",
  "accountName": "text",
  "accountApiKey": "text",
  "accountSecretKey": "text",
  "passphrase": "text",
  "certificate": "text"
}
200Success
{
  "code": "0",
  "msg": "Success",
  "tm": 38132770,
  "trace": "t-cd06-b4650k11-il3so2-r8ix2e9-1651889609",
  "ok": true,
  "fail": false
}

Last updated