把以 BRL 分为单位的金额按 bid 或 ask 汇率换算成目标货币。
GET
https://api.payzu.io/v1/currencies/{code}/convertResponses
curl -X GET "https://api.payzu.io/v1/currencies/USD/convert?amount=100&type=string" \ -H "Authorization: Bearer {{token}}"fetch("https://api.payzu.io/v1/currencies/USD/convert?amount=100&type=string", { method: "GET", headers: { "Authorization": "Bearer {{token}}" }})import requestsurl = "https://api.payzu.io/v1/currencies/USD/convert?amount=100&type=string"response = requests.request("GET", url, headers = { "Authorization": "Bearer {{token}}"})print(response.text)200