notifyDeal需要签名验签
入参
deal Deal REQUIRED
远期外汇交易的交易明细。
dealResult Result REQUIRED
代表远期外汇交易结果。
出参
result Result REQUIRED
代表API接口的调用结果。
API Explorer
请求
请求体
响应
响应体
dealResult.resultCode
结果码 | 值 | 结果码信息 |
---|---|---|
SUCCESS | S | The deal is successfully completed. |
PROCESSING | S | The forward deal is being processed. |
CANCELLED | F | The forward deal is canceled. |
FAIL | F | The forward deal has failed. |
result.resultCode:系统结果码
结果码 | 值 | 结果码信息 | 行动建议 |
---|---|---|---|
SUCCESS | S | Success | |
PARAM_ILLEGAL | F | Illegal parameters exist. For example, a non-numeric input, or an invalid date. | 参考API文档页面,确认请求头和传参是否正确 |
PROCESS_FAIL | F | A general business failure occurred. Do not retry. | 需要人工介入,联系万里汇技术支持以解决此问题 |
UNKNOWN_EXCEPTION | U | API failed due to unknown reason. | 服务器错误,若稍后重试问题依旧,联系万里汇技术支持以解决问题 |
REQUEST_TRAFFIC_EXCEED_LIMIT | U | The request traffic exceeds the limit. | 重试,若问题依旧,联系万里汇技术支持 |
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请求方法为 |
result.resultCode:业务结果码
结果码 | 值 | 结果码信息 | 行动建议 |
---|---|---|---|
UN_SUPPORT_BUSINESS | F | Unsupported business. | 包含无效参数(如货币代码错误),使用正确的参数重试 |
AUTHORIZATION_NOT_EXIST | F | The authorization does not exist. | 当前授权关系不存在,请联系万里汇技术支持检查授权关系 |
CONTRACT_CHECK_FAIL | F | The contract check has failed. | 检查合约状态后重试 |