PaytoNpubkey

BTC

post:/custodyAccount/invoice/payUserBtc

{
    "npub_key":"testusr10",
    "amount": 200
}
```json
{
    "success": true,
    "error": "",
    "code": 200,
    "data": {
        "success": "success"
    }
}
```

Asset

post:/custodyAccount/Asset/sendToUserAsset

PTNS

1.设置可接受资产

/custodyAccount/Asset/ptns/SetReceiveAsset

请求体

返回

2.检查资产是否可接收

custodyAccount/Asset/ptns/CheckReceiveAsset

请求

响应

3.获取接收优先级

/custodyAccount/Asset/ptns/GetReceiveAssetSort

无请求体

响应体

data中的顺序即为优先级顺序

4.更新优先级顺序

/custodyAccount/Asset/ptns/UpdateReceiveAssetSort

请求

请求体中assetId的顺序即为更新后的顺序

响应体

5.、获取角色信息

/custodyAccount/Asset/ptns/GetCharacter

请求体无

响应体

data中数据:customer/merchant 对应用户/商家

6.变更角色信息

/custodyAccount/Asset/ptns/SetCharacter

请求体

请求内容:customer/merchant 同上

响应体

Last updated