4.2 取消交易(cancelPayout)
该服务由SkyPay提供,目的在该笔交易状态为Uploaded时,进行取消交易动作。
Input parameters:
参数 | 类型 | 长度 | 必填 | 描述 |
---|---|---|---|---|
userName | string | 50 | 是 | 使用者名称 由SkyPay提供 Ex:"userName":"AppName@skypay" |
action | string | 50 | 是 | 调用行为 cancelPayout(固定参数值) Ex:"action":"cancelPayout" |
authentication | string | 50 | 是 | 验证密钥 Ex:"authentication":"E1234567-123C-1234-123F-A12345670" |
controlNumbers[] | string[] | 13~15 | 是 | 取款码数组 取消交易时,可同时多笔取款码进行取消,用数组格式,一次性传送多笔要取消的取款码 |
Post data
{
: ,
: ,
:
:
:
}
]
}
Output parameters
参数 | 类型 | 长度 | 描述 |
---|---|---|---|
responseTime | DateTime | 50 | 回传时间 yyyy-MM-dd HH:mm:ss.SSSS |
responseCode | int | 4 | 系统默认回传码,长度为4的数字,标准参考回传码定义 |
responseDescription | string | 255 | 回传内容描述 Success |
Output data:
{
: ,
: ,
:
}
Return code
状态代码 | 状态描述 |
---|---|
1000 | Success |
-1009 | An unpredictable exception occurs.(return exception message) |