All URIs are relative to https://openapi.alipay.com
Method | HTTP request | Description |
---|---|---|
Query | GET /v3/alipay/data/bill/transferaccountbook/query | 子账本充提转账单查询(incubating) |
AlipayDataBillTransferaccountbookQueryResponseModel Query (string startTime = null, string endTime = null, string type = null, string agreementNo = null, string storeNo = null, string pageNo = null, string pageSize = null)
子账本充提转账单查询(incubating)
子账本充提转账单查询(子账本业务定制接口)
using System.Collections.Generic;
using System.Diagnostics;
using AlipaySDKNet.OpenAPI.Api;
using AlipaySDKNet.OpenAPI.Client;
using AlipaySDKNet.OpenAPI.Model;
using AlipaySDKNet.OpenAPI.Util;
using AlipaySDKNet.OpenAPI.Util.Model;
namespace Example
{
public class QueryExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://openapi.alipay.com";
var apiInstance = new AlipayDataBillTransferaccountbookApi(config);
// 设置alipayConfig参数
AlipayConfig alipayConfig = new AlipayConfig();
alipayConfig.AppId = "app_id";
alipayConfig.PrivateKey = "private_key";
// 密钥模式
alipayConfig.AlipayPublicKey = "alipay_public_key";
// 证书模式
// alipayConfig.AppCertPath = "../appCertPublicKey.crt";
// alipayConfig.AlipayPublicCertPath = "../alipayCertPublicKey_RSA2.crt";
// alipayConfig.RootCertPath = "../alipayRootCert.crt";
alipayConfig.EncryptKey = "encrypt_key";
AlipayConfigUtil alipayConfigUtil = new AlipayConfigUtil(alipayConfig);
apiInstance.Client.SetAlipayConfigUtil(alipayConfigUtil);
var startTime = 2019-01-01 00:00:00; // string | 充值、转账、提现流水业务时间的起始范围 (optional)
var endTime = 2019-01-02 00:00:00; // string | 充值、转账、提现流水业务时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间 (optional)
var type = TRANSFER; // string | 转账类型:充值-DEPOSIT,提现-WITHDRAW,转账-TRANSFER。 (optional)
var agreementNo = 20205215001418078112; // string | 协议号 (optional)
var storeNo = 2088000117463004; // string | 子账本号,或者子账本名称。模糊查询 (optional)
var pageNo = 1; // string | 分页号,从1开始 (optional)
var pageSize = 2000; // string | 分页大小1000-2000,默认2000 (optional)
try
{
// 子账本充提转账单查询(incubating)
AlipayDataBillTransferaccountbookQueryResponseModel result = apiInstance.Query(startTime, endTime, type, agreementNo, storeNo, pageNo, pageSize);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AlipayDataBillTransferaccountbookApi.Query: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
startTime | string | 充值、转账、提现流水业务时间的起始范围 | [optional] |
endTime | string | 充值、转账、提现流水业务时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间 | [optional] |
type | string | 转账类型:充值-DEPOSIT,提现-WITHDRAW,转账-TRANSFER。 | [optional] |
agreementNo | string | 协议号 | [optional] |
storeNo | string | 子账本号,或者子账本名称。模糊查询 | [optional] |
pageNo | string | 分页号,从1开始 | [optional] |
pageSize | string | 分页大小1000-2000,默认2000 | [optional] |
AlipayDataBillTransferaccountbookQueryResponseModel
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | common response | - |
0 | 请求失败 | - |