0

我正在尝试使用带有此 PHP 代码的 coinpayments api 使用 LTCT 创建提款

我试过使用 CreateWithdraw 方法和 ConvertCoins

$amount = (float)$total; // in usd
$currency1 = 'LTCT';

$add_tx_fee = 0; // 0 receiver pays for transaction charge

$currency2 = 'USD';

$address_to_send = trim($user->coinpayments_wallet_address);

$auto_confirm = 0;

$fields = array( "amount" => $amount,
                 "currency" => $currency1,
                 "currency2" => $currency2,

// "add_tx_fee" => $add_tx_fee,

"address" => $address_to_send,

"auto_confirm" => $auto_confirm, // set to 1 withdrawal will complete without email confirmation

);

$result = $cps->CreateWithdrawal($fields);

// this doesn't work also. It throws 'Conversion not possible error message'
//$result = $cps->ConvertCoins($amount, 'BTC', $currency2, $address_to_send);

但我收到以下错误消息:

array:2 [▼<br> "error" => "交易价值超过了每次交易的限制!"
“结果” => []

但我试图只得到一小部分,比如 5 美元。那么有什么问题呢?

上周我做了一些测试,在 ltct 和美元之间的转换上工作得很好。

4

1 回答 1

1

好的,硬币支付支持帮助我解决了这个问题......

有必要更新每日交易限额......我缺乏这方面的经验......

在此处输入图像描述

现在它工作了......

在此处输入图像描述

于 2019-04-03T19:58:30.740 回答