queryCardSensitiveInfo需要签名验签
当前文档对应最新 API 版本。若您的对接版本为 V1,请参考历史版本文档。
集成商可调用此接口查询 World Card 的敏感信息。
报文结构
万里汇接口报文结构包括:请求头、请求体、响应体。
请求头
字段名 | 是否必传 | 范例 | 说明 |
Client-Id | 是 |
| |
Signature | 是 |
| |
Content-Type | 是 |
| |
Request-Time | 是 |
| |
Connected-AccountId | 否(有条件要求) |
| 注意此字段 当平台客户操作商户账户时需要传递 |
Access-Token | 有条件要求 |
| 注意此字段 当用 OAUTH 授权时需要传递。参考 applyToken。 |
入参
assetId String REQUIRED
卡资产 ID。
出参
result Result REQUIRED
代表 API 接口的调用结果。
assetId String REQUIRED
卡资产 ID。
此字段只有当 result.resultStatus =
S时才会按需返回。
accountId String REQUIRED
由万里汇定义,万里汇账户的唯一标识。
更多信息:
- 最大长度:64 字符
cvv String REQUIRED
CVV 号。
该信息需从支付处理合作伙伴处获取,因为 WorldFirst 不保存 CVV 信息。
此字段只有当 result.resultStatus =
S 时才会按需返回。
cardNo String REQUIRED
World Card 卡号明文。
此字段只有当 result.resultStatus =
S时才会按需返回。
更多信息:
- 最大长度:16 字符
expiredMonth String REQUIRED
卡片过期月份,格式为"MM",如:"07"。
此字段只有当 result.resultStatus =
S时才会按需返回。
更多信息:
- 最大长度:2 字符
expiredYear String REQUIRED
卡片过期年份,格式为"YY",取年份后两位数字,如:"29"。
此字段只有当 result.resultStatus =
S时才会按需返回。
更多信息:
- 最大长度:2 字符
请求
响应
响应处理
集成商调用接口后,万里汇返回集成商 API 调用结果。result.resultStatus 字段取值范围为:
| result.resultStatus | 描述 |
| S | API 请求成功。 |
| F | API 请求失败。失败原因参见结果码(即 result.resultCode 和 result.resultMessage)。 |
| U | API 响应结果为 重试策略:
如果问题依旧,请联系万里汇技术支持。 |
result.resultCode:系统结果码
| 结果码 | 值 | 结果码信息 | 行动建议 |
|---|---|---|---|
| SUCCESS | S | Success | |
| PARAM_ILLEGAL | F | Illegal parameters exist. For example, a non-numeric input, or an invalid date. | 参考API文档页面,确认请求头和传参是否正确。 |
| SYSTEM_ERROR | F | System error. | 请勿重试,联系万里汇技术支持了解详情。 |
| SERVICE_NOT_ALLOWED | F | Service not allowed. | 使用正确的信息重试,若问题依旧,联系万里汇技术支持以解决问题。 |
| UNKNOWN_EXCEPTION | U | API failed due to unknown reason. | 服务器错误,若稍后重试问题依旧,联系万里汇技术支持以解决问题。 |
| REQUEST_TRAFFIC_EXCEED_LIMIT | U | The request traffic exceeds the limit. | 重试,若问题依旧,联系万里汇技术支持。 |
| OAUTH_FAIL | F | OAuth process failed. | 联系万里汇技术支持了解详情。 |
| INVALID_API | F | The called API is invalid or not active. | 确认是否调用正确的API。 |
| INVALID_CLIENT | F | The client is invalid. | Client ID不存在或无效。 |
| INVALID_SIGNATURE | F | The signature is invalid. | 确认请求正确加签。 |
| METHOD_NOT_SUPPORTED | F | The server does not implement the requested HTTP method. | 确认HTTP请求方法为POST |
| CONTRACT_CHECK_FAIL | F | The contract check has failed. | 联系万里汇技术支持了解合约状态后重试。 |
result.resultCode:业务结果码
| 结果码 | 值 | 结果码信息 | 行动建议 |
|---|---|---|---|
| USER_NOT_EXIST | F | customerId is not correct. | Retry with the correct user information. |
| AUTHORIZATION_NOT_EXIST | F | The authorization does not exist. | Make sure that the input is correct. If the issue persists, contact our Technical Support Team to verify the authorization status. |
| RISK_REJECT | F | Securlty reason error, please contact the account manager | Please reach out to our Technical Support Team. |