資料說明

  • 提供幣別縮寫-全名對應列表
  • 當初是為了Paypal金流做幣別轉換, 因此僅26種幣別

Endpoint

GET http://api.opencube.tw/currency

Request

#參數名稱必填說明

Response

#參數名稱說明
1currency幣別縮寫
2name_tw中文全名
3name_en英文全名

Response Example


{"data":{"AUD":{"currency":"AUD","name_tw":"澳幣","name_en":"Australian Dollar"},"BRL":{"currency":"BRL","name_tw":"巴西雷亞爾","name_en":"Brazilian Real"},"CAD":{"currency":"CAD","name_tw":"加幣","name_en":"Canadian Dollar"},"CHF":{"currency":"CHF","name_tw":"瑞士法郎","name_en":"Swiss Franc"},"CZK":{"currency":"CZK","name_tw":"捷克克朗","name_en":"Czech Koruna"},"DKK":{"currency":"DKK","name_tw":"丹麥克朗","name_en":"Danish Krone"},"EUR":{"currency":"EUR","name_tw":"歐元","name_en":"Euro"},"GBP":{"currency":"GBP","name_tw":"英鎊","name_en":"Pound Sterling"},"HKD":{"currency":"HKD","name_tw":"港幣","name_en":"Hong Kong Dollar"},"HUF":{"currency":"HUF","name_tw":"匈牙利福林","name_en":"Forint"},"ILS":{"currency":"ILS","name_tw":"以色列新謝克爾","name_en":"New Israeli Shekel"},"JPY":{"currency":"JPY","name_tw":"日圓","name_en":"Japanese yen"},"MXN":{"currency":"MXN","name_tw":"墨西哥比索","name_en":"Mexican Peso"},"MYR":{"currency":"MYR","name_tw":"馬來西亞令吉","name_en":"Malaysian Ringgit"},"NOK":{"currency":"NOK","name_tw":"挪威克朗","name_en":"Norwegian Krone"},"NZD":{"currency":"NZD","name_tw":"紐西蘭元","name_en":"New Zealand Dollar"},"PHP":{"currency":"PHP","name_tw":"菲律賓披索","name_en":"Philippine Peso"},"PLN":{"currency":"PLN","name_tw":"波蘭茲羅提","name_en":"Zloty"},"RMB":{"currency":"RMB","name_tw":"人民幣","name_en":"Ren Min Bi"},"RUB":{"currency":"RUB","name_tw":"俄羅斯盧布","name_en":"Russian Ruble"},"SEK":{"currency":"SEK","name_tw":"瑞典克朗","name_en":"Swedish Krona"},"SGD":{"currency":"SGD","name_tw":"新加坡元","name_en":"Singapore Dollar"},"THB":{"currency":"THB","name_tw":"泰銖","name_en":"Baht"},"TRY":{"currency":"TRY","name_tw":"新土耳其里拉","name_en":"New Turkish Lira"},"TWD":{"currency":"TWD","name_tw":"新台幣","name_en":"New Taiwan Dollar"},"USD":{"currency":"USD","name_tw":"美元","name_en":"US Dollar"}},"status":200}
        

錯誤代碼

status說明
200成功
400發生錯誤
404Endpoint錯誤
500系統錯誤
Close