SingaporePay_MerchantAPI

新加坡PAY商户接入API


汇率查询接口

<p>欢迎使用SingaporePay汇率查询接口</p> <p><strong>简要描述:</strong> </p> <ul> <li>查询各国货币对人民币实时微信汇率</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li> <p><code>【中国服务器】 https://merchant.singaporepay.xyz</code></p> </li> <li><code>【海外服务器】 https://merchant.singaporepay.sg</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET Params </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">merchant_key</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>商户KEY</td> </tr> <tr> <td style="text-align: left;">fee_type</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>货币编号</td> </tr> </tbody> </table> <p>其中如果不传fee_type 默认是新币,返回数据是新币对人民币汇率</p> <p><strong>返回示例</strong></p> <p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/3deda13b760557e7bd01f7cede5eaa26?showdoc=.jpg" alt="" /></p> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">rate</td> <td style="text-align: left;">string</td> <td>实时国际货币对人民币汇率</td> </tr> </tbody> </table> <p>示例显示的是新币对人民币汇率,1SGD = 5.1978CNY</p> <p><strong>备注</strong> </p> <p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/e4378e02d790479d26a88d5d6b147f0f?showdoc=.jpg" alt="" /></p>

页面列表

ITEM_HTML