Skip to main content
POST
/
wallet
/
api
/
asset
/
transfer
资产(USDT/USDC)之间转账
curl --request POST \
  --url http://localhost/wallet/api/asset/transfer
{
  "code": 123,
  "msg": "<string>",
  "data": {
    "agencyCode": "<string>",
    "amount": 123,
    "appId": "<string>",
    "currency": "<string>",
    "fromAppUserEmail": "<string>",
    "fromAppUserId": "<string>",
    "postedAt": "2023-11-07T05:31:56Z",
    "status": "CREATED",
    "toAppUserId": "<string>",
    "transactionId": "<string>"
  }
}

Query Parameters

agencyCode
string
required

代理商码

amount
number
required

转账金额(10 =< amount <= 100000)

appId
string
required

App标识

fromAppUserEmail
string
required

转账方App用户email

fromAppUserId
string
required

转账方App用户ID

fromAssetId
integer<int64>
required

转账方资产ID

sign
string
required

签名

timestamp
integer<int64>
required

当前毫秒时间戳(不超过1分钟)

toAppUserId
string
required

接收方App用户ID

transRemark
string
required

交易备注

Response

200 - application/json

OK

code
integer<int32>
required
msg
string
required
data
ApiAssetTransferDTO · object