The estimate on a new order and the charge stored on the order use the same formula. Take the rate that applies to your account, multiply by the quantity, and divide by 1,000. The result is rounded to five decimals. A rate of 0.60 and a quantity of 1,000 is a charge of 0.60. A quantity of 500 on that rate is 0.30.
After a refund
When an order goes partial or is cancelled, the undelivered share is added back to your balance. The charge shown on the order and in the API drops to the net amount, which is the original charge minus what was refunded. If you export orders into your own panel, store that net charge or your profit report will look like you paid for units you did not keep. Charge, balance and remains uses the same split.
Custom price
Your rate might not be the number printed on the public list. A custom rate or an account discount is already inside the rate the API returns for your key. Custom rates and discounts explains the order of those two steps. Sync before you quote a client.
残高
The charge leaves the balance when the order is created, not when it completes. A pending order has already been paid for. A rejected order, or one the provider never accepts, is returned. You can watch both on orders.
If you do not have an account yet, sign up. Balance, orders and prices stay the same on the website and the API.