38、法币提款、数币提款、提款记录详情、修改提币地址
<ul>
<li>法币提款</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/pay/withdraw?action=apply</code> </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST</p>
<p><strong>请求参数说明</strong> </p>
</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">action</td>
<td style="text-align: left;">string</td>
<td>apply</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: {
address:&quot;0x7355114709AA9b8Ea56ABBf4738e3984E6949a1&quot;,
addressId: null,
addressTag: &quot;null&quot;,
brand:&quot;H8,
chain:&quot;ERC20”,
desCurrency: &quot;USDT&quot;,
id: &quot;901434020196253696&quot;,
password:&quot;1230we123&quot;,
passwordMust: true,
srcCurrency:&quot;USDT&quot;,
srcMoney: 100,
userId: &quot;893834500977868800&quot;,
white: false
},
&quot;message&quot;: &quot;&quot;
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td>提款记录id</td>
</tr>
</tbody>
</table>
<ul>
<li>数币提款</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/pay/withdraw/create</code> </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST</p>
<p><strong>请求参数说明</strong> </p>
</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">action</td>
<td style="text-align: left;">string</td>
<td>apply</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: {
address:&quot;0x7355114709AA9b8Ea56ABBf4738e3984E6949a1&quot;,
addressId: null,
addressTag: &quot;null&quot;,
brand:&quot;H8,
chain:&quot;ERC20”,
desCurrency: &quot;USDT&quot;,
id: &quot;901434020196253696&quot;,
password:&quot;1230we123&quot;,
passwordMust: true,
srcCurrency:&quot;USDT&quot;,
srcMoney: 100,
userId: &quot;893834500977868800&quot;,
white: false
},
&quot;message&quot;: &quot;&quot;
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td>提款记录id</td>
</tr>
</tbody>
</table>
<ul>
<li>提款记录详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/mine/funds/withdraw/detail</code> <code>需登录</code> </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>GET</p>
<p><strong>请求参数说明</strong> </p>
</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td>提款记录id:901528684354076672</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;address&quot;: &quot;622200001234000012&quot;,
&quot;addressTag&quot;: null,
&quot;admin&quot;: &quot;0&quot;,
&quot;adminName&quot;: null,
&quot;assetType&quot;: 1,
&quot;bankCard&quot;: &quot;622200001234000012&quot;,
&quot;brand&quot;: &quot;HB&quot;,
&quot;chain&quot;: &quot;农业银行&quot;,
&quot;channel&quot;: null,
&quot;charge&quot;: 0.00000000,
&quot;createTime&quot;: 1692870788000,
&quot;currency&quot;: &quot;CNY&quot;,
&quot;detail&quot;: &quot;提款取出&quot;,
&quot;device&quot;: null,
&quot;digital&quot;: false,
&quot;explain&quot;: &quot;提款取出&quot;,
&quot;exrate&quot;: 7.25000000,
&quot;finishTime&quot;: 1692870788000,
&quot;handleTime&quot;: 1692870788000,
&quot;id&quot;: &quot;901528684354076672&quot;,
&quot;idStr&quot;: &quot;901528684354076672&quot;,
&quot;money&quot;: 72.00000000,
&quot;payNumber&quot;: &quot;&quot;,
&quot;payOrder&quot;: &quot;&quot;,
&quot;price&quot;: 0.13623978,
&quot;realname&quot;: &quot;XXKK&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;source&quot;: null,
&quot;srcCurrency&quot;: &quot;USDT&quot;,
&quot;srcMoney&quot;: 10.00000000,
&quot;status&quot;: 0,
&quot;statusDesc&quot;: null,
&quot;txid&quot;: null,
&quot;type&quot;: 200,
&quot;typeDesc&quot;: &quot;资金取出&quot;,
&quot;userId&quot;: &quot;893911710384406528&quot;,
&quot;userType&quot;: null,
&quot;userTypeDesc&quot;: &quot;&quot;,
&quot;username&quot;: &quot;swaptest9&quot;,
&quot;wFeeEnable&quot;: null,
&quot;white&quot;: false
},
&quot;message&quot;: &quot;&quot;
}</code></pre>
<ul>
<li>修改提币地址</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://api.com/api/user/withdraw-address/update</code> </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>POST</p>
<p><strong>请求参数说明</strong> </p>
</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">currency</td>
<td style="text-align: left;">string</td>
<td>币种</td>
</tr>
<tr>
<td style="text-align: left;">chain</td>
<td style="text-align: left;">string</td>
<td>链名</td>
</tr>
<tr>
<td style="text-align: left;">address</td>
<td style="text-align: left;">string</td>
<td>地址</td>
</tr>
<tr>
<td style="text-align: left;">addressTag</td>
<td style="text-align: left;">string</td>
<td>地址标签</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td>主键</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;id&quot;: &quot;910910596981981184&quot;,
&quot;type&quot;: 2,
&quot;currency&quot;: &quot;USDT&quot;,
&quot;chain&quot;: &quot;ERC20&quot;,
&quot;address&quot;: &quot;0x7355114709AA9bf8Ea56ABBf4738e3984E6949a2&quot;,
&quot;addressTag&quot;: null,
&quot;remark&quot;: null,
&quot;authed&quot;: false,
&quot;white&quot;: false,
&quot;count&quot;: 0,
&quot;createTime&quot;: 1695107610000,
&quot;withdraw&quot;: &quot;1-0&quot;
},
&quot;message&quot;: &quot;&quot;
}</code></pre>