All pages
Powered by GitBook
1 of 1

Loading...

Exchange Rate


Get exchange rate in ByteChips for a currency

get

Convert amount from currency to ByteChips

Authorizations
AuthorizationstringRequired

Your ByteNite access token

Query parameters
currencystringOptional
currencyAmountnumber · doubleOptional
amountnumber · doubleOptional
Responses
200

A successful response.

400

Returned when the users sends a malformed request.

401

Returned when the user is not authenticated.

403

Returned when the user does not have permission to access the resource.

404

Returned when the resource does not exist.

500

Returned when an error on the server occurred.

503

Returned when the resource is temporarily unavailable.

default

An unexpected error response.

get
/exchange_rate
GET /v1/wallet/exchange_rate HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "currency": "text",
  "currencyAmount": 1,
  "exchangeRate": 1,
  "amount": 1
}