Skip to content

Setting Charge Data

Tom Kay edited this page Jan 30, 2020 · 7 revisions

Set Amount To Charge

Amount should be set in the smallest denominator of the specified monetary unit.

Eg. 1 USD = 100 cents

ChargeHive.updateCharge({amount: 100, currency: 'USD'});

Eg. 0.0000014 BTC = 140 satoshi

ChargeHive.updateCharge({amount: 140, currency: 'BTC'});
Clone this wiki locally