All URIs are relative to https://openapi.alipay.com
Method | HTTP request | Description |
---|---|---|
Cancel | POST /v3/alipay/open/mini/inner/experience/cancel | 内部链路取消体验版 |
Object Cancel (AlipayOpenMiniInnerExperienceCancelModel alipayOpenMiniInnerExperienceCancelModel = null)
内部链路取消体验版
提供给内部一二方用于取消体验版
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 CancelExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://openapi.alipay.com";
var apiInstance = new AlipayOpenMiniInnerExperienceApi(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 alipayOpenMiniInnerExperienceCancelModel = new AlipayOpenMiniInnerExperienceCancelModel(); // AlipayOpenMiniInnerExperienceCancelModel | (optional)
try
{
// 内部链路取消体验版
Object result = apiInstance.Cancel(alipayOpenMiniInnerExperienceCancelModel);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AlipayOpenMiniInnerExperienceApi.Cancel: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
alipayOpenMiniInnerExperienceCancelModel | AlipayOpenMiniInnerExperienceCancelModel | [optional] |
Object
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | common response | - |
0 | 请求失败 | - |