跳到主要内容

账号申请结果查询

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

接口描述

根据申请单号查询账号申请结果。

请求头

ParameterTypeRequiredDescription
AuthorizationstringMaccess_token
Content-TypestringMapplication/json

请求参数

ParameterTypeRequiredDescription
partner_order_idstring(64)M合作伙伴请求单号,唯一幂等。
client_idstring(64)M注册PingPong返回的客户ID

返回响应

ParameterTypeRequiredDescription
client_idstring(64)M注册PingPong返回的客户ID
partner_order_idstring(64)M合作伙伴请求单号,唯一幂等。
order_statusenumM账号申请结果状态 PROCESSING、SUCCESS、FAILED
va_account_infoobjectO收款账号信息,order_status为SUCCESS返回
fail_reasonstring(255)O失败原因,order_status为FAILED返回

va_account_info

ParameterTypeRequiredDescription
bank_namestring(255)M银行名称
account_nostring(32)M收款账号
ibanstring(32)O欧盟国际银行账号,欧盟会有IBAN收款
bank_codestring(32)O国内银行代码
branch_numberstring(32)O国内支行代码/联行号
bank_account_typeenumM银行账号类型, CURRENT(现金账户) SAVINGS(储蓄账户) CHECKING(活期存款账户或支票账户)
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":"IT8623082509932665140",
"partner_order_id":"POrder200007",
"order_status":"SUCCESS",
"fail_reason":null,
"va_account_info":{
"bank_name":"Citibank",
"bank_code":null,
"branch_number":null,
"account_no":"73381000000310232",
"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"
}
}
}

错误码

返回码描述解决方案
900000system error系统错误,请联系PingPong技术人员核查
900002illegal param参数有误,请根据提示更正信息
900004order not exist订单号不存在,请核对后发起