0

我们如何在 getsite accounts api 中获取银行徽标?

我想在 searchaccount API 调用中显示帐户徽标。

哪个 API 会返回此详细信息?

4

1 回答 1

0

您需要使用 get getSiteInfo API 并记住将值传递siteFilter.reqSpecifier为 128,而如果您使用的是 SOAP,那么这里是参考(请记住将请求说明符传递为 128)。

编辑 1:基于评论 您可以使用此代码将 Base64 字符串转换为图像。下面是JAVA中的代码:

public static BufferedImage decodeToImage(String imageString) {

BufferedImage image = null;
byte[] imageByte;
try {
    BASE64Decoder decoder = new BASE64Decoder();
    imageByte = decoder.decodeBuffer(imageString);
    ByteArrayInputStream bis = new ByteArrayInputStream(imageByte);
    image = ImageIO.read(bis);
    bis.close();
} catch (Exception e) {
    e.printStackTrace();
}
return image;
}
于 2014-05-28T10:17:47.870 回答