Transfer with Exchange
POST
/open-api/v1/wallet/transfer/exchangeThis method allows to transfer assets from Ceffu Prime Wallet to a bound Binance Account (To be bound in Web Portal [Wallets > Binance Transfer].
Notes: Currently support from Ceffu to Exchange direction only.
API Key permission group : Enable Transfer with Exchange
Request
Header Params
open-apikey
string
required
OpenAPI key string
signature
string
required
Signature of the request
Body Params application/json
amount
string
required
Transfer Amount
Example:
10.2
coinSymbol
string
optional
Coin symbol
Example:
USDT
direction
integer <int32>
optional
Transfer direction,
10: custody->exchange
20: exchange->custody
Example:
10
exchangeCode
integer <int32>
required
Exchange code, 10: binance
Example:
10
exchangeUserId
string
required
Binance UID
Example:
842131231
parentWalletId
integer <int64>
required
Parent Wallet Id
(Only applicable to Parent Shared Wallet)
Example:
201108087331
requestId
integer <int64>
required
Unique Identifier
Example:
1640995200000
status
integer <int32>
optional
Status
Example:
10
timestamp
integer <int64>
required
Current Timestamp in millisecond
Example:
1640995200000
Example
{
"amount": 10.2,
"coinSymbol": "USDT",
"direction": 10,
"exchangeCode": 10,
"exchangeUserId": 842131231,
"parentWalletId": 201108087331,
"requestId": 1640995200000,
"status": 10,
"timestamp": 1640995200000
}
Request samples
Responses
The operation succeeded(200)
Business error(200)
The client request is invalid(400)
Authentication failed (e.g., invalid token specified by the Authorization header)(401)
Authentication failed, but the operation is not allowed(403)
Requested resource does not exist(404)
Client request rate exceeded the limit(429)
System error(500)
The operation succeeded
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
direction
integer <int32>
required
Exchange Transfer direction:
10: custody->exchange
20: exchange->custody
Example:
10
orderViewId
string
required
Transfer Transaction Id
Example:
2.2161420305164743e+25
status
integer <int32>
required
Status:
10: Pending
20: Processing
30: Send success
40: Confirmed
99: Failed
Example:
10
ExampleSuccessful Test Examples
{
"data": {
"orderViewId": "23886401831948479677280001",
"status": 10,
"direction": null
},
"code": "000000",
"message": "Success"
}
Last modified: a year ago