Blockchain.com API and needed amount

by Mohammad Saberi   Last Updated October 09, 2019 07:27 AM - source

I have installed Blockchain.com platform on our server and ran some codes successfully based on its Wallet APIs. Regarding to what is said here, as we are testing this platform, we charged the created wallet with .00000546 BTC. But while using payment API, we received this result:

{
  "error": "Insufficient funds",
  "available": 0.00000546,
  "needed": 0.00001092,
  "sweep_amount_satoshi": 0,
  "sweep_fee_satoshi": 678
}

I can't understand why am I getting this error, and specially, how the amount of needed variable is calculated? May you help me please?



Related Questions


blockchan.info payment processing, how long?

Updated July 06, 2017 20:27 PM

Blockchain.info testnet payment APIs

Updated March 04, 2018 10:27 AM

Easiest way to accept BTC and test

Updated December 21, 2017 06:27 AM


request btc payment when insufficient btc sent

Updated September 26, 2019 04:27 AM