Skip to content
Trading Password and Unlock

Set Trade Password

Sets a trade password for a Client who has not set one. The Client must first complete identity verification with a phone or email verification code to obtain verify_credentials: call POST /v1/auth/send_code or POST /v1/auth/email/send_code with type = set_trade_password to send a code, then call POST /v1/member/check_mobile or POST /v1/member/check_email to check it and take the credential from data.verify_credentials. After a successful call, the Client can use the password to verify the trade password and obtain trade tokens. If the call fails, show message; if the credential is no longer valid, ask the Client to complete identity verification again.

Password fields carry the MD5 digest of the 6-digit trade password as a 32-character lowercase hexadecimal string. Never send the plaintext password.

POSThttps://api.lbkrs.com/v2/member/trade/set_password

Request body application/json

trade_passwordstringrequired

MD5 digest of the new trade password

verify_credentialsstringrequired

Verification credential obtained after the Client completes phone or email identity verification

Responses

HTTP 200The request succeeded. The response body contains the result of the “Set Trade Password” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

No business fields

No nested fields

Whale Docs