Skip to content

6.3 收款确认(collectionCollect)

这支服务是由合作伙伴提供,它将由线下店出纳触发以确认报销。

Input parameters

参数类型
长度
必填
描述
userNamestring50使用者名称
由SkyPay提供
Ex:"userName":"AppName@skypay"
actionstring50调用行为
collectionCollect(固定参数值)
Ex:"action":"collectionCollect"
authenticationstring255验证密钥
Ex:"authentication":"E1234567-123C-1234-123F-A12345670"
contractNumberstring13~15收款码
前缀码5码+8~10个数字(前缀码在绑定邮箱中获取)
Ex:SKY**12345678
amountdecimal10.20金额
必须是用户实际收款金额,小数点最高二位数
Ex:"amount":3400.00
phonestring50手机号
09/08开头的11位数字
Ex:"phone":"09270348095"
receiptNumberstring50收据编号
collectedTimeDateTime收款时间
日期格式yyyy-MM-dd HH:mm:ss
payChannelint5收款管道
详细说明请参考第12章渠道code值

Post data

{
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
:
}

Output parameters

参数类型
长度
描述
responseTimeDateTime50回传时间
yyyy-MM-dd HH:mm:ss.SSSS
responseCodeint4回传代码
系统默认回传码,长度为4的数字,标准参考回码定义,系统默认回传码不足时,使用者可自定义代码,请以数字2开头,长度为4的数字,并明确在回传内容描述说明
responseDescriptionstring255回传内容描述
响应信息

Output data:

{

: ,
: ,
:

}

Return code:

状态代码状态描述
1000Success
-1001Verification failed
-1009An Unpredictable exception occurs
-1015The transaction has been collected
-1026Transactions has been paid