接入UUAPI

终止收款订单

停止使用中的TRON收款地址。

1. 请求地址

Request URI
curl -X POST https://{BASE_URI}/api/tron/recharge/stop_order

2. 请求参数

示例
{
  "address": "TQCgLnDCtb3..."
}
参数名类型必填说明
addressstring要停止的 TRON 钱包地址

3. 返回示例

Response.json
{
  "code": 1000,
  "message": "success",
  "data": "OK"
}

4. 请求示例

<?php
$ch = curl_init('https://{BASE_URI}/api/tron/recharge/stop_order');
$data = ['address' => 'TQCgLnDCtb3...'];
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Content-Type: application/json',
        'uu-api-key: your_api_key'
    ],
    CURLOPT_POSTFIELDS => json_encode($data),
]);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($response === false) {
    $error = curl_error($ch);
}
curl_close($ch);
echo $response;