Skip to content

8.2 查詢接口(notificationInquiry)

这支API是由SKYPAY提供,由合作伙伴发动请求進行查詢。提供日期区间及类型之查询,并返回日期及类型范围内「充值、结算、提现」之通知记录。

Input parameters

参数类型
长度
必填
描述
userNamestring50使用者名称
由SkyPay提供
Ex:"userName":"AppName@skypay"
actionstring50调用行为
notificationInquiry(固定参数值)
Ex:"action":"notificationInquiry"
authenticationstring255验证密钥
Ex:"authentication":"E1234567-123C-1234-123F-A12345670"
transctionDateDate10通知日期
开始
Ex:2023-06-18
transEndDateDate10通知日期
结束
Ex:2023-06-19
statementTypesstring[]通知类型:
1:打款帐户充值
2:收款结算转充值
3:帐户馀额互转
4:收款交易结算
5:收款帐户提现
6:打款帐户提现

Post data

{
     :  ,
      :   ,
      :   ,
     :  ,
     : 
}

Output parameters

参数类型长度描述
responseTimeDateTime50回传时间
yyyy-MM-dd HH:mm:ss.SSSS
responseCodeint4回传代码
1000
responseDescriptionstring255Success
notificationsstring[]255通知数组名
Array
transctionDateDateTime50通知日期
Ex:2023-06-18 17:52:10
companyPrefixstring5公司编码
Ex:SKY98
companyNamestring200公司名称
Ex:Skybridge Payment Inc.
accountNostring5帐户
Ex:SKY98
sourceAccountNostring20资金来源帐号
(实际银行帐号,只在提现时提供)
beneficiaryAccountNostring20资金目的帐号
(实际银行帐号,只在充值及提现时提供)
statementTypestring1通知类型 :
1:打款帐户充值
2:收款结算转充值
3:帐户馀额互转
4:收款交易结算
5:收款帐户提现
6:打款帐户提现
signTypestring10资金增减类型 :
recharge:增项
reduce:减项
Amountint金額
Ex:1200000
Currencystring3固定币别
PHP
referenceNumberstring15交易编号(唯一)
此编号可于后台查询。
S–开头编号为结算功能(後台)中生成的交易。
D–开头编号为充值功能(後台)中生成的交易
{callerName}–开头编号为系统自动结算的交易。
Ex:S-20231204-001,D-20231204-001,skypay-20231204

Output data

{
: ,
: ,
: ,
:[
  {
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
:
    },
    {
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
:
    }
  ]
}

Return code

状态代码状态描述
1000Success