Customer/Wallet

Add Wallet

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.add Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
currencystringRequired

Wallet Currency

chainNamestringRequired

Chain Name

addressstring · max: 150Required

Wallet Address

remarkstring · max: 100Required

Wallet Note

verifyCodestringRequired

Verification code

sendTokenstringRequired

Verification code sending ticket

phoneAreastringRequired

Phone area code

phonestringRequired

Phone Number

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.add
200Success
Deprecated

Add Wallet (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.addV1v1v2 Accessible after login

If the customer enables Google Authenticator (MFA), the Google Authenticator code (googleCode) in the input parameters is required, At the same time, the user does not need to enter a phone number or email, If both phone and email exist, the phone number is verified first

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: zh-CN
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
currencystringRequired

Wallet Currency

chainNamestringRequired

Chain Name

addressstring · max: 150Required

Wallet Address

remarkstring · max: 100Required

Wallet Note

verifyCodestringRequired

Verification code

sendTokenstringRequired

Verification code sending ticket

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.addV1v1v2
200Success

Delete Wallet

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.delete Access after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
idinteger · int64 · min: 1Optional

Wallet Id

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.delete
200Success

Set default wallet (H5 does not use this interface)

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.updateWallet Accessible after login

Body
idinteger · int64 · min: 1Optional

Wallet Id

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.updateWallet
200Success

Wallet List

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.walletList Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
currencystringOptional

Wallet Currency

chainNamestringOptional

Chain Name

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.walletList
200Success

Add Withdrawal Address (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.addWithdrawalAddressMFA Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
currencystringRequired

Currency

chainNamestringRequired

Withdrawal Network

addressstring · max: 150Required

Withdrawal Address

remarkstring · min: 4 · max: 40Required

Withdrawal Note

typeinteger · int32 · min: 1 · max: 2Optional

Type: 1 Email, 2 Phone Number

verifyCodestringRequired

Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)

sendTokenstringRequired

Verification code sending ticket

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.addWithdrawalAddressMFA
200Success

Query withdrawal address list

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.withdrawalAddressList Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
currencystringRequired

Currency

chainNamestringRequired

Withdrawal Network

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.withdrawalAddressList
200Success

Query withdrawal address list (grouped)

post

version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.withdrawalAddressGroupList Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
currencystringOptional

Currency

Responses
200Success
application/json
post
/global/customer.app.CustomerWalletWebApiService.withdrawalAddressGroupList
200Success

Last updated