If you're using PHP, you're lucky! We already have a ready client for you.
Information about our daily volume and average prices.
Current exchange rates.
For sensible parts of the API you will have to authenticate.
- X-BITCOINVIETNAM-KEY = Your API key
- X-BITCOINVIETNAM-PARAMS = Parameters array > JSON-encode (JSON_UNESCAPED_UNICODE) > Base64-encode
- X-BITCOINVIETNAM-SIGNATURE = X-BITCOINVIETNAM-PARAMS > SHA256-encode with API secret
- method (String)
- nonce (Integer) = All parameter arrays must be appended with an increasing nonce.
Returns information about your account
- method = 'account' (String)
To use the buying function, you need to have sufficient credit. All orders are debit orders.
- method (String) = 'buy'
- amountType (String) = 'fiat' or 'bitcoin'
- amount (Float) = Amount in Đồng or Bitcoin, depending on amountType
- price (String) = Maximum price in Đồng per Bitcoin
All sell orders will add to your credit on Bitcoin Vietnam.
- method (String) = 'sell'
- amount (Float) = Amount in bitcoin
Get your order status.
- method (String) = 'orderstatus'
- id (String) = Order ID