Table of Contents

Class ByteDanceMicroAppClientExecuteAppsECPayExtensions

Namespace
SKIT.FlurlHttpClient.ByteDance.MicroApp
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll
public static class ByteDanceMicroAppClientExecuteAppsECPayExtensions
Inheritance
ByteDanceMicroAppClientExecuteAppsECPayExtensions
Inherited Members

Methods

ExecuteAppsBillsAsync(ByteDanceMicroAppClient, AppsBillsRequest, CancellationToken)

异步调用 [GET] /apps/bills 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/bills/bill

public static Task<AppsBillsResponse> ExecuteAppsBillsAsync(this ByteDanceMicroAppClient client, AppsBillsRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsBillsRequest
cancellationToken CancellationToken

Returns

Task<AppsBillsResponse>

ExecuteAppsECPayCreateOrderV1Async(ByteDanceMicroAppClient, AppsECPayCreateOrderV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/create_order 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/pay-list/pay

public static Task<AppsECPayCreateOrderV1Response> ExecuteAppsECPayCreateOrderV1Async(this ByteDanceMicroAppClient client, AppsECPayCreateOrderV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayCreateOrderV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayCreateOrderV1Response>

ExecuteAppsECPayCreateRefundV1Async(ByteDanceMicroAppClient, AppsECPayCreateRefundV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/create_refund 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/refund-list/refund

public static Task<AppsECPayCreateRefundV1Response> ExecuteAppsECPayCreateRefundV1Async(this ByteDanceMicroAppClient client, AppsECPayCreateRefundV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayCreateRefundV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayCreateRefundV1Response>

ExecuteAppsECPayCreateReturnV1Async(ByteDanceMicroAppClient, AppsECPayCreateReturnV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/create_return 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/return-settle/ReturnSettle

public static Task<AppsECPayCreateReturnV1Response> ExecuteAppsECPayCreateReturnV1Async(this ByteDanceMicroAppClient client, AppsECPayCreateReturnV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayCreateReturnV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayCreateReturnV1Response>

ExecuteAppsECPayQueryOrderV1Async(ByteDanceMicroAppClient, AppsECPayQueryOrderV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/query_order 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/pay-list/query

public static Task<AppsECPayQueryOrderV1Response> ExecuteAppsECPayQueryOrderV1Async(this ByteDanceMicroAppClient client, AppsECPayQueryOrderV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayQueryOrderV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayQueryOrderV1Response>

ExecuteAppsECPayQueryPlatformOrderV1Async(ByteDanceMicroAppClient, AppsECPayQueryPlatformOrderV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/query_platform_order 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/settlements/auto-settle/query

public static Task<AppsECPayQueryPlatformOrderV1Response> ExecuteAppsECPayQueryPlatformOrderV1Async(this ByteDanceMicroAppClient client, AppsECPayQueryPlatformOrderV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayQueryPlatformOrderV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayQueryPlatformOrderV1Response>

ExecuteAppsECPayQueryRefundV1Async(ByteDanceMicroAppClient, AppsECPayQueryRefundV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/query_refund 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/refund-list/query

public static Task<AppsECPayQueryRefundV1Response> ExecuteAppsECPayQueryRefundV1Async(this ByteDanceMicroAppClient client, AppsECPayQueryRefundV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayQueryRefundV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayQueryRefundV1Response>

ExecuteAppsECPayQueryReturnV1Async(ByteDanceMicroAppClient, AppsECPayQueryReturnV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/query_return 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/return-settle/query

public static Task<AppsECPayQueryReturnV1Response> ExecuteAppsECPayQueryReturnV1Async(this ByteDanceMicroAppClient client, AppsECPayQueryReturnV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayQueryReturnV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayQueryReturnV1Response>

ExecuteAppsECPayQuerySettleV1Async(ByteDanceMicroAppClient, AppsECPayQuerySettleV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/query_settle 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/settlements/query

public static Task<AppsECPayQuerySettleV1Response> ExecuteAppsECPayQuerySettleV1Async(this ByteDanceMicroAppClient client, AppsECPayQuerySettleV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPayQuerySettleV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPayQuerySettleV1Response>

ExecuteAppsECPaySaaSAddMerchantAsync(ByteDanceMicroAppClient, AppsECPaySaaSAddMerchantRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/add_merchant 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/apply/merchant

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/withdraw/merchant

public static Task<AppsECPaySaaSAddMerchantResponse> ExecuteAppsECPaySaaSAddMerchantAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSAddMerchantRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSAddMerchantRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSAddMerchantResponse>

ExecuteAppsECPaySaaSAddSubMerchantAsync(ByteDanceMicroAppClient, AppsECPaySaaSAddSubMerchantRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/add_sub_merchant 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/apply/sub-merchant

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/withdraw/sub-merchant

public static Task<AppsECPaySaaSAddSubMerchantResponse> ExecuteAppsECPaySaaSAddSubMerchantAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSAddSubMerchantRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSAddSubMerchantRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSAddSubMerchantResponse>

ExecuteAppsECPaySaaSAppAddSubMerchantAsync(ByteDanceMicroAppClient, AppsECPaySaaSAppAddSubMerchantRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/app_add_sub_merchant 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/apply/sub-merchant

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/withdraw/app-sub-merchant

public static Task<AppsECPaySaaSAppAddSubMerchantResponse> ExecuteAppsECPaySaaSAppAddSubMerchantAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSAppAddSubMerchantRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSAppAddSubMerchantRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSAppAddSubMerchantResponse>

ExecuteAppsECPaySaaSCreateMerchantAsync(ByteDanceMicroAppClient, AppsECPaySaaSCreateMerchantRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/create_merchant 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/apply/create

public static Task<AppsECPaySaaSCreateMerchantResponse> ExecuteAppsECPaySaaSCreateMerchantAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSCreateMerchantRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSCreateMerchantRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSCreateMerchantResponse>

ExecuteAppsECPaySaaSGetAppMerchantAsync(ByteDanceMicroAppClient, AppsECPaySaaSGetAppMerchantRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/get_app_merchant 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/apply/app-merchant

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/page-links/withdraw/app-merchant

public static Task<AppsECPaySaaSGetAppMerchantResponse> ExecuteAppsECPaySaaSGetAppMerchantAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSGetAppMerchantRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSGetAppMerchantRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSGetAppMerchantResponse>

ExecuteAppsECPaySaaSImageUploadAsync(ByteDanceMicroAppClient, AppsECPaySaaSImageUploadRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/image_upload 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/apply/image-upload

public static Task<AppsECPaySaaSImageUploadResponse> ExecuteAppsECPaySaaSImageUploadAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSImageUploadRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSImageUploadRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSImageUploadResponse>

ExecuteAppsECPaySaaSMerchantWithdrawAsync(ByteDanceMicroAppClient, AppsECPaySaaSMerchantWithdrawRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/merchant_withdraw 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/withdraw/merchant-withdraw

public static Task<AppsECPaySaaSMerchantWithdrawResponse> ExecuteAppsECPaySaaSMerchantWithdrawAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSMerchantWithdrawRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSMerchantWithdrawRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSMerchantWithdrawResponse>

ExecuteAppsECPaySaaSQueryMerchantBalanceAsync(ByteDanceMicroAppClient, AppsECPaySaaSQueryMerchantBalanceRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/query_merchant_balance 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/withdraw/query-balance

public static Task<AppsECPaySaaSQueryMerchantBalanceResponse> ExecuteAppsECPaySaaSQueryMerchantBalanceAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSQueryMerchantBalanceRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSQueryMerchantBalanceRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSQueryMerchantBalanceResponse>

ExecuteAppsECPaySaaSQueryMerchantStatusAsync(ByteDanceMicroAppClient, AppsECPaySaaSQueryMerchantStatusRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/query_merchant_status 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/apply/query

public static Task<AppsECPaySaaSQueryMerchantStatusResponse> ExecuteAppsECPaySaaSQueryMerchantStatusAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSQueryMerchantStatusRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSQueryMerchantStatusRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSQueryMerchantStatusResponse>

ExecuteAppsECPaySaaSQueryWithdrawOrderAsync(ByteDanceMicroAppClient, AppsECPaySaaSQueryWithdrawOrderRequest, CancellationToken)

异步调用 [POST] /apps/ecpay/saas/query_withdraw_order 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/withdraw/query

public static Task<AppsECPaySaaSQueryWithdrawOrderResponse> ExecuteAppsECPaySaaSQueryWithdrawOrderAsync(this ByteDanceMicroAppClient client, AppsECPaySaaSQueryWithdrawOrderRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySaaSQueryWithdrawOrderRequest
cancellationToken CancellationToken

Returns

Task<AppsECPaySaaSQueryWithdrawOrderResponse>

ExecuteAppsECPaySettleV1Async(ByteDanceMicroAppClient, AppsECPaySettleV1Request, CancellationToken)

异步调用 [POST] /apps/ecpay/v1/settle 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/settlements/settlement

public static Task<AppsECPaySettleV1Response> ExecuteAppsECPaySettleV1Async(this ByteDanceMicroAppClient client, AppsECPaySettleV1Request request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsECPaySettleV1Request
cancellationToken CancellationToken

Returns

Task<AppsECPaySettleV1Response>

ExecuteAppsFundBillsAsync(ByteDanceMicroAppClient, AppsFundBillsRequest, CancellationToken)

异步调用 [GET] /apps/fund/bills 接口。

REF: https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/ecpay/bills/fundbill

public static Task<AppsFundBillsResponse> ExecuteAppsFundBillsAsync(this ByteDanceMicroAppClient client, AppsFundBillsRequest request, CancellationToken cancellationToken = default)

Parameters

client ByteDanceMicroAppClient
request AppsFundBillsRequest
cancellationToken CancellationToken

Returns

Task<AppsFundBillsResponse>