Clients

If you're using PHP, you're lucky! We already have a ready client for you.


URL

  • https://www.bitcoinvietnam.com.vn/api/v2

Daily data

Information about our daily volume and average prices.


Ticker

Current exchange rates.


Authentication

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
(Array)
  • method (String)
  • [...]
  • nonce (Integer) = All parameter arrays must be appended with an increasing nonce.

Account

Returns information about your account

  • method = 'account' (String)

Buy

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

Sell

All sell orders will add to your credit on Bitcoin Vietnam.

  • method (String) = 'sell'
  • amount (Float) = Amount in bitcoin

Order status

Get your order status.

  • method (String) = 'orderstatus'
  • id (String) = Order ID