All URIs are relative to https://openapi.alipay.com.
Method | HTTP request | Description |
---|---|---|
create() | POST /v3/alipay/open/sp/blueseaactivity/create | 服务商返佣活动报名申请 |
modify() | POST /v3/alipay/open/sp/blueseaactivity/modify | 服务商返佣活动申请单修改 |
query() | GET /v3/alipay/open/sp/blueseaactivity/query | 服务商返佣活动申请单详情查询 |
create($alipayOpenSpBlueseaactivityCreateModel): \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityCreateResponseModel
服务商返佣活动报名申请
服务商返佣活动报名
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Alipay\OpenAPISDK\Api\AlipayOpenSpBlueseaactivityApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
// 初始化alipay参数
$alipayConfig = new \Alipay\OpenAPISDK\Util\Model\AlipayConfig();
$alipayConfig->setAppId('app_id');
$alipayConfig->setPrivateKey('private_key');
// 密钥模式
$alipayConfig->setAlipayPublicKey('alipay_public_key');
// 证书模式
// $alipayConfig->setAppCertPath('../appCertPublicKey.crt');
// $alipayConfig->setAlipayPublicCertPath('../alipayCertPublicKey_RSA2.crt');
// $alipayConfig->setRootCertPath('../alipayRootCert.crt');
$alipayConfig->setEncryptKey('encrypt_key');
$alipayConfigUtil = new \Alipay\OpenAPISDK\Util\AlipayConfigUtil($alipayConfig);
$apiInstance->setAlipayConfigUtil($alipayConfigUtil);
$alipayOpenSpBlueseaactivityCreateModel = new \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityCreateModel(); // \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityCreateModel
try {
$result = $apiInstance->create($alipayOpenSpBlueseaactivityCreateModel);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AlipayOpenSpBlueseaactivityApi->create: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
alipayOpenSpBlueseaactivityCreateModel | \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityCreateModel | [optional] |
\Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityCreateResponseModel
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to README]
modify($alipayOpenSpBlueseaactivityModifyModel): object
服务商返佣活动申请单修改
服务商返佣活动
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Alipay\OpenAPISDK\Api\AlipayOpenSpBlueseaactivityApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
// 初始化alipay参数
$alipayConfig = new \Alipay\OpenAPISDK\Util\Model\AlipayConfig();
$alipayConfig->setAppId('app_id');
$alipayConfig->setPrivateKey('private_key');
// 密钥模式
$alipayConfig->setAlipayPublicKey('alipay_public_key');
// 证书模式
// $alipayConfig->setAppCertPath('../appCertPublicKey.crt');
// $alipayConfig->setAlipayPublicCertPath('../alipayCertPublicKey_RSA2.crt');
// $alipayConfig->setRootCertPath('../alipayRootCert.crt');
$alipayConfig->setEncryptKey('encrypt_key');
$alipayConfigUtil = new \Alipay\OpenAPISDK\Util\AlipayConfigUtil($alipayConfig);
$apiInstance->setAlipayConfigUtil($alipayConfigUtil);
$alipayOpenSpBlueseaactivityModifyModel = new \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityModifyModel(); // \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityModifyModel
try {
$result = $apiInstance->modify($alipayOpenSpBlueseaactivityModifyModel);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AlipayOpenSpBlueseaactivityApi->modify: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
alipayOpenSpBlueseaactivityModifyModel | \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityModifyModel | [optional] |
object
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to README]
query($orderId): \Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityQueryResponseModel
服务商返佣活动申请单详情查询
服务商返佣活动
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Alipay\OpenAPISDK\Api\AlipayOpenSpBlueseaactivityApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
// 初始化alipay参数
$alipayConfig = new \Alipay\OpenAPISDK\Util\Model\AlipayConfig();
$alipayConfig->setAppId('app_id');
$alipayConfig->setPrivateKey('private_key');
// 密钥模式
$alipayConfig->setAlipayPublicKey('alipay_public_key');
// 证书模式
// $alipayConfig->setAppCertPath('../appCertPublicKey.crt');
// $alipayConfig->setAlipayPublicCertPath('../alipayCertPublicKey_RSA2.crt');
// $alipayConfig->setRootCertPath('../alipayRootCert.crt');
$alipayConfig->setEncryptKey('encrypt_key');
$alipayConfigUtil = new \Alipay\OpenAPISDK\Util\AlipayConfigUtil($alipayConfig);
$apiInstance->setAlipayConfigUtil($alipayConfigUtil);
$orderId = 5881; // string | 申请单 id。通过 <a href=\"https://opendocs.alipay.com/apis/01ebig\">alipay.open.sp.blueseaactivity.create</a>接口获取
try {
$result = $apiInstance->query($orderId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AlipayOpenSpBlueseaactivityApi->query: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
orderId | string | 申请单 id。通过 <a href="https://opendocs.alipay.com/apis/01ebig\">alipay.open.sp.blueseaactivity.create</a>接口获取 | [optional] |
\Alipay\OpenAPISDK\Model\AlipayOpenSpBlueseaactivityQueryResponseModel
No authorization required
- Content-Type: Not defined
- Accept:
application/json