跳到主要内容

账号信息查询

POST /v1/mid-open-api/va/hold/query
需要验证签名

接口描述

客户持有的收款账号列表信息查询

请求头

ParameterTypeRequiredDescription
AuthorizationstringMaccess_token
Content-TypestringMapplication/json

请求参数

ParameterTypeRequiredDescription
client_idstring(64)M注册PingPong返回的客户ID
account_nostring(32)O收款账号

返回响应

ParameterTypeRequiredDescription
client_idstring(64)M注册PingPong返回的客户ID
va_account_info_listarrayO客户持有的收款账号信息列表

va_account_info_list

ParameterTypeRequiredDescription
bank_namestring(255)M银行名称
account_nostring(32)M账号,order_status为SUCCESS返回
ibanstring(32)O欧盟国际银行帐号
bank_codestring(32)O国内银行代码
branch_numberstring(32)O国内支行代码/联行号
bank_account_typeenumM银行账号类型, CHECKING,CURRENT,DEPOSIT,SAVINGS,order_status为SUCCESS返回
currencyenumM币种,支持的币种见附录。支持多个币种时以英文逗号分隔,例如USD,EUR,GBP
account_statusenumM账号状态 AVAILABLE,CLOSED
bank_locationenumM银行所在地区,见附录
routing_numberstring(32)O本地银行代码
swift_codestring(32)O银行国际代码
sort_codestring(32)O英国银行代码
addressstring(255)M银行详细地址
holder_namestring(255)M账户持有主体名称

返回示例

{
"code":200,
"message":"SUCCESS",
"data":{
"client_id":"IT8623081809128663724",
"va_account_info_list":[
{
"bank_name":"Citibank",
"bank_code":null,
"branch_number":null,
"account_no":"73381000000310651",
"iban":"",
"currency":"USD",
"account_status":"AVAILABLE",
"bank_account_type":"Checking",
"bank_location":"US",
"routing_number":"031100209",
"sort_code":null,
"swift_code":"GEOORUMMXXX",
"holder_name":"PingPong",
"address":"111 Wall Street, New York, New York 10043, United States",
"collection_type":"Virtual_Account"
}
]
}
}

错误码

返回码描述解决方案
900000system error系统错误,请联系PingPong技术人员核查
900002illegal param参数有误,请根据提示更正信息