5.1 支付验证(payoutInquiry) 

- (1)当取现人要求线下店进行取款要求时,payoutInquire将会实时被叫用,进行支付信息验证工作
- (2)payoutInquire被叫用后,会回传合作伙伴验证结果,线下店将会收到详细的支付信息以及用户信息
- (3)取现人需要提供取款码及必要的身分验证信息如给出纳人员
- (4)出纳人员在检查取款码及身分验证信息后,会系统回复人工验证是否成功讯息,并传送到Skypay服务器
- (1)payoutInquiry成功后,payoutPayout将会由线下店进行叫用,回传这笔交易己支付成功的讯息
- (2)这个交易会在出纳确认该支付,已完成支付动作时发生
- (3)这个功能的实际触发点在出纳人员按下payoutPayout功能按钮时(人工操作)
Input parameters 
| 参数 | 类型 | 长度 | 必填 | 描述 | 
|---|---|---|---|---|
| userName | string | 50 | 是 | 使用者名称 由SkyPay提供 Ex:"userName":"AppName@skypay" | 
| action | string | 50 | 是 | 调用行为 payoutInquiry(固定参数值) Ex:"action":"payoutInquiry" | 
| authentication | string | 100 | 是 | 验证密钥 Ex:"authentication":"E1234567-123C-1234-123F-A12345670" | 
| controlNumber | string | 13~15 | 是 | 取款码 前缀码5码+8~10个数字(前缀码在绑定邮箱中获取) Ex:SKY**12345678 | 
Post data 
{
 : ,
 : ,
 : ,
 : 
 }
Output parameters 
| 参数 | 类型 | 长度 | 描述 | |
|---|---|---|---|---|
| responseTime | DateTime | 26 | 是 | 回应时间 yyyy-MM-dd HH:mm:ss.SSSS | 
| responseCode | int | 4 | 是 | 回应代码 4系统默认回传码,长度为4的数字,标准参考回传码定义, | 
| responseDescription | string | 255 | 是 | 回应描叙内容 响应信息 | 
| controlNumber | string | 15 | 是 | 取款码 前缀码5码+8~10个数字(前缀码在绑定邮箱中获取) Ex:SKY**12345678 | 
| sender | string | 255 | 是 | 汇款人 产品APP名称(由合作伙伴设计) Ex:"sender":"APP NAME" | 
| senderAddress | string | 255 | 是 | 汇款人地址 | 
| name | string | 50 | 是 | 取现人名字 使用逗号分割: "Last name(必填),First name(必填),Middle name,Suffix" Ex:"name":"Lardizabal,Mary Annalou B.Lardizabal,Berja, | 
| birthday | Date | 10 | 是 | 生日格式: yyyy-MM-dd Ex:"birthday":"1991-10-02" 写入此字段,参数需要填入正确格式 | 
| identificationId | string | 50 | 是 | 身份证件号码 依不同身份验证方式,持有证件编号 Ex:"identificationId":"442301922000" | 
| idType | string | 50 | 是 | 验证身份证件类别 身份证类型(SSS、UMID、驾驶执照、TIN…)“idType”:“TIN” | 
| phone | string | 11 | 是 | 手机号 08/09开头的11位数字 Ex:"phone":"09270348095" | 
| amount | string | 10.20 | 是 | 金额 支付金额支持数字小数位两位 Ex:"amount":3400.00 | 
| idcardPicType | string | 50 | 是 | 相片文件格式 文件格式之附属档名 Ex:"idcardPicType":"jpg" | 
| idcardPicUrl | string | 500 | 是 | 相片存取网络地址 Ex:"idcardPicUrl":"https://12334" | 
| contractNumber | string | 15 | 否 | 收款码 前缀码5码+8~10个数字(前缀码在绑定邮箱中获取) Ex:SKY**12345678 | 
| location | string | 100 | 是 | 地址 取现人地址 | 
Output data: 
{
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : ,
 : 
 }
Return code: 
| 状态代码 | 状态描述 | 
|---|---|
| 1000 | Success | 
| -1001 | Verification error | 
| -1009 | Unpredictable exception occurs | 
| -1012 | Control number invalid or expired | 
| -1014 | Prefix of Control number is incorrect. | 
| -1016 | Insufficient balance | 
| -1022 | Invalid Accountnumber | 
| -1026 | Transactions has been paid |