Skip to main content

OAuth API : Query Supported Currency

Query c2c supported currencies.

  • The host of OAuth API is https://accounts.binance.com
  • The request parameter of OAuth API is transferred as query string of requested url.
  • No need to add signature and API identity key to request header of OAuth API.
GET https://accounts.binance.com/oauth-api/v1/pay/c2c/querySupportCurrency

Parameters(Query String of Requested URL):#

NameTypeMandatoryDescription
access_tokenStringYES

Response:#

NameTypeMandatoryDescription
codeStringYESwhen success=false, the value is the result code
messageStringNOwhen success=false, the value is error description
dataList<QuerySupportCurrencyResp>NOwhen success=true, the value is the query currency result, refer to QuerySupportCurrencyResp
successbooleanYES

QuerySupportCurrencyResp:#

AttributesTypeMandatoryDescription
assetCodeStringYES
assetNameStringYES
logoUrlStringYESIcon of the assert, please contact us in order to display it properly
{  "code": "000000",  "message": null,  "data": [    {"assetCode": "BTC","assetName": "Bitcoin","logoUrl": "https://bin.bnbstatic.com/image/admin_mgs_image_upload/20201110/87496d50-2408-43e1-ad4c-78b47b448a6a.png"},    {"assetCode": "BNB","assetName": "BNB","logoUrl": "https://bin.bnbstatic.com/image/admin_mgs_image_upload/20201110/550eda20-1b9a-4bc7-9a65-e4a329e8bb57.png"}  ],  "success": true}