lennan747/yop-sdk-php

dev-master 2022-08-24 11:05 UTC

This package is auto-updated.

Last update: 2025-05-24 17:18:17 UTC


README

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 1.0
    • Package version: 3.2.24
  • Build package: com.yeepay.g3.core.yop.codegen.generator.langs.php.YopPhpClientCodegen

Requirements

PHP 5.5 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

{
"repositories": [
{
"type": "git",
"url": "https://github.com/yop-developer/yop-php-sdk.git"
}
],
"require": {
"yop-developer/yop-php-sdk": "*@dev"
}
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

require_once('/path/to/Yop-Sdk/vendor/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

        <?php
require_once(__DIR__ . '/vendor/autoload.php');

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_accountBookQueryRefund
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 收款商户商编
$parentMerchantNo = "parentMerchantNo_example"; // string | 发起方商户编号。<br>*标准商户收付款方案中此参数与收款商户编号一致;<br>*平台商户收付款方案中此参数为平台商商户编号;<br>*服务商解决方案中,①标准商户收款时,该参数为标准商户商编 ②平台商收款或平台商入驻商户收款时,该参数为平台商商编。
$merchantRefundRequestNo = "merchantRefundRequestNo_example"; // string | 商户退款请求号。可包含字母、数字、下划线;需保证在商户端不重复

try {
$result = $apiInstance->accountBookQueryRefund($merchantNo, $parentMerchantNo, $merchantRefundRequestNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->accountBookQueryRefund: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_accountBookRefund
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$merchantRefundRequestNo = "merchantRefundRequestNo_example"; // string | 
$originalOrderNo = "originalOrderNo_example"; // string | 
$refundAmount = 1.2; // float | 
$bankPostscrip = "bankPostscrip_example"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 

try {
$result = $apiInstance->accountBookRefund($merchantNo, $parentMerchantNo, $merchantRefundRequestNo, $originalOrderNo, $refundAmount, $bankPostscrip, $notifyUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->accountBookRefund: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_accountManageAccountOpen
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$merchantNo = "merchantNo_example"; // string | 
$merchantAccountBookNo = "merchantAccountBookNo_example"; // string | 

try {
$result = $apiInstance->accountManageAccountOpen($parentMerchantNo, $merchantNo, $merchantAccountBookNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->accountManageAccountOpen: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_accountManageAccountQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号
$merchantNo = "merchantNo_example"; // string | 记账簿所属的商户编号
$merchantAccountBookNo = "merchantAccountBookNo_example"; // string | 商户侧记账簿编号和易宝记账簿编号至少有其中一个
$ypAccountBookNo = "ypAccountBookNo_example"; // string | 商户侧记账簿编号和易宝记账簿编号至少有其中一个

try {
$result = $apiInstance->accountManageAccountQuery($parentMerchantNo, $merchantNo, $merchantAccountBookNo, $ypAccountBookNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->accountManageAccountQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$body = new \Yeepay\Yop\Sdk\Service\Account\Model\AccountManageBankAccountOpenStandardOpenAccountRequestDTOParam(); // \Yeepay\Yop\Sdk\Service\Account\Model\AccountManageBankAccountOpenStandardOpenAccountRequestDTOParam | 

try {
$result = $apiInstance->accountManageBankAccountOpen($body);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->accountManageBankAccountOpen: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$requestNo = "requestNo_example"; // string | 商户订单号
$parentMerchantNo = "parentMerchantNo_example"; // string | *标准商户收付款方案中此参数与收款商户编号一致;*平台商户收付款方案中此参数为平台商商户编号;*服务商解决方案中,①标准商户收款时,该参数为服务商商编 ②平台商收款或平台商入驻商户收款时,该参数为平台商商编。
$merchantNo = "merchantNo_example"; // string | 业务主体商编

try {
$result = $apiInstance->accountManageBankAccountQuery($requestNo, $parentMerchantNo, $merchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->accountManageBankAccountQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_accountinfosQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_accountinfosQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 

try {
$result = $apiInstance->accountinfosQuery($merchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->accountinfosQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_autoWithdrawRuleCancel
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_autoWithdrawRuleCancel
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$merchantNo = "merchantNo_example"; // string | 
$ruleId = "ruleId_example"; // string | 

try {
$result = $apiInstance->autoWithdrawRuleCancel($parentMerchantNo, $merchantNo, $ruleId);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->autoWithdrawRuleCancel: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_autoWithdrawRuleQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_autoWithdrawRuleQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 发起方商户编号。*标准商户收付款方案中此参数与收款商户编号一致;*平台商户收付款方案中此参数为平台商商户编号;*服务商解决方案中,①标准商户收款时,该参数为标准商户商编 ②平台商收款或平台商入驻商户收款时,该参数为平台商商编。
$merchantNo = "merchantNo_example"; // string | 提现商户编号

try {
$result = $apiInstance->autoWithdrawRuleQuery($parentMerchantNo, $merchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->autoWithdrawRuleQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_autoWithdrawRuleSet
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_autoWithdrawRuleSet
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$merchantNo = "merchantNo_example"; // string | 
$bindId = "bindId_example"; // string | 
$bankAccountNo = "bankAccountNo_example"; // string | 
$receiveType = "receiveType_example"; // string | 
$triggerTime = "triggerTime_example"; // string | 
$remainAmount = 1.2; // float | 
$remark = "remark_example"; // string | 
$notifyAddress = "notifyAddress_example"; // string | 

try {
$result = $apiInstance->autoWithdrawRuleSet($parentMerchantNo, $merchantNo, $bindId, $bankAccountNo, $receiveType, $triggerTime, $remainAmount, $remark, $notifyAddress);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->autoWithdrawRuleSet: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)
$merchantNo = "merchantNo_example"; // string | 商户编号<br>易宝支付分配的的商户唯一标识
$bankCode = "BOL"; // string | BOL :廊坊银行

try {
$result = $apiInstance->balanceBankAccountList($parentMerchantNo, $merchantNo, $bankCode);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->balanceBankAccountList: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_balanceQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_balanceQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "10080006026"; // string | 商户编号<br>易宝支付分配的的商户唯一标识

try {
$result = $apiInstance->balanceQuery($merchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->balanceQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_enterpriseAccountBookPayOrder
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$body = new \Yeepay\Yop\Sdk\Service\Account\Model\EnterpriseAccountBookPayOrderAccountBookPaymentRequestDtoParam(); // \Yeepay\Yop\Sdk\Service\Account\Model\EnterpriseAccountBookPayOrderAccountBookPaymentRequestDtoParam | 

try {
$result = $apiInstance->enterpriseAccountBookPayOrder($body);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->enterpriseAccountBookPayOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$body = new \Yeepay\Yop\Sdk\Service\Account\Model\EnterpriseAccountPayOrderAccountPaymentRequestDtoParam(); // \Yeepay\Yop\Sdk\Service\Account\Model\EnterpriseAccountPayOrderAccountPaymentRequestDtoParam | 

try {
$result = $apiInstance->enterpriseAccountPayOrder($body);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->enterpriseAccountPayOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "10014242006"; // string | 
$orderId = "merchant12345"; // string | 
$orderAmount = 0.01; // float | 
$fundProcessType = "fundProcessType_example"; // string | 
$goodsName = "旺仔牛奶"; // string | 
$expiredTime = "2021-05-12 13:23:45"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 
$memo = "memo_example"; // string | 
$payerNotifyUrl = "payerNotifyUrl_example"; // string | 
$csUrl = "csUrl_example"; // string | 

try {
$result = $apiInstance->enterpriseAutoPaymentOrder($merchantNo, $orderId, $orderAmount, $fundProcessType, $goodsName, $expiredTime, $notifyUrl, $memo, $payerNotifyUrl, $csUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->enterpriseAutoPaymentOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "10014242004"; // string | 
$orderId = "merchant12345"; // string | 商户系统内部生成的订单号<br>如填写易宝内部订单号则可以不填,否则必填
$orderDate = "orderDate_example"; // string | 订单日期<br>如填写易宝内部订单号则可以不填,否则必填
$uniqueOrderNo = "uniqueOrderNo_example"; // string | 易宝内部订单号<br>如填写此项,订单号及订单日期可以不填。如同时填写将以易宝内部订单号为准

try {
$result = $apiInstance->enterpriseAutoPaymentQuery($merchantNo, $orderId, $orderDate, $uniqueOrderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->enterpriseAutoPaymentQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$token = "token_example"; // string | 
$payerMerchantNo = "payerMerchantNo_example"; // string | 

try {
$result = $apiInstance->enterpriseTokenPayOrder($parentMerchantNo, $token, $payerMerchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->enterpriseTokenPayOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "10012426723"; // string | 
$merchantNo = "10014242004"; // string | 
$payerMerchantNo = "10014242005"; // string | 
$orderId = "merchant12345"; // string | 
$orderAmount = 88.88; // float | 
$fundProcessType = "fundProcessType_example"; // string | 
$goodsName = "旺仔牛奶"; // string | 
$expiredTime = "2017-12-12 13:23:45"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 
$memo = "费用"; // string | 
$payerNotifyUrl = "payerNotifyUrl_example"; // string | 
$csUrl = "csUrl_example"; // string | 

try {
$result = $apiInstance->enterpriseWithholdingOrder($parentMerchantNo, $merchantNo, $payerMerchantNo, $orderId, $orderAmount, $fundProcessType, $goodsName, $expiredTime, $notifyUrl, $memo, $payerNotifyUrl, $csUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->enterpriseWithholdingOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$merchantNo = "merchantNo_example"; // string | 
$requestNo = "requestNo_example"; // string | 
$amount = 1.2; // float | 
$token = "token_example"; // string | 
$bankCode = "bankCode_example"; // string | 
$remark = "remark_example"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 

try {
$result = $apiInstance->migrateBankOrder($parentMerchantNo, $merchantNo, $requestNo, $amount, $token, $bankCode, $remark, $notifyUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->migrateBankOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 商户编号<br>易宝支付分配的的商户唯一标识
$requestNo = "requestNo_example"; // string | 商户请求号<br>由商户自定义生成(跟易宝订单号二选一)
$orderNo = "orderNo_example"; // string | 余额迁移到银行-申请接口返回的易宝订单号(跟商户请求号二选一)

try {
$result = $apiInstance->migrateBankQuery($merchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->migrateBankQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_payCancel
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_payCancel
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 
$orderNo = "20200720110033a171b64e"; // string | 
$cancelReason = "业务需要撤销此次付款"; // string | 

try {
$result = $apiInstance->payCancel($parentMerchantNo, $orderNo, $cancelReason);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->payCancel: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 
$merchantNo = "100400612345"; // string | 
$requestNo = "PAY2133213124"; // string | 
$orderAmount = 1.01; // float | 
$feeChargeSide = "当商户承担且计费方式为预付实扣或后收时,不支持收款方承担;当平台商或服务商承担时无需指定此手续费承担方;"; // string | 
$receiveType = "REAL_TIME"; // string | 
$receiverAccountNo = "6212260200062388891"; // string | 
$receiverAccountName = "receiverAccountName_example"; // string | 
$receiverBankCode = "ICBC"; // string | 
$bankAccountType = "DEBIT_CARD"; // string | 
$branchBankCode = "branchBankCode_example"; // string | 
$comments = "xx平台付款"; // string | 
$terminalType = "PC"; // string | 
$notifyUrl = "http://www.baidu.com"; // string | 
$remark = "remark_example"; // string | 
$receiptComments = "receiptComments_example"; // string | 
$riskInfo = "riskInfo_example"; // string | 

try {
$result = $apiInstance->payOrder($parentMerchantNo, $merchantNo, $requestNo, $orderAmount, $feeChargeSide, $receiveType, $receiverAccountNo, $receiverAccountName, $receiverBankCode, $bankAccountType, $branchBankCode, $comments, $terminalType, $notifyUrl, $remark, $receiptComments, $riskInfo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->payOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_payQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_payQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)<!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjM4NzAtMTU5ODQwOTgyNDQ4MCIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjowLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLmoIcifSx7ImNoYXIiOiLlh4YifSx7ImNoYXIiOiLllYYifSx7ImNoYXIiOiLmiLcifSx7ImNoYXIiOiLmlLYifSx7ImNoYXIiOiLku5gifSx7ImNoYXIiOiLmrL4ifSx7ImNoYXIiOiLmlrkifSx7ImNoYXIiOiLmoYgifSx7ImNoYXIiOiLkuK0ifSx7ImNoYXIiOiLmraQifSx7ImNoYXIiOiLlj4IifSx7ImNoYXIiOiLmlbAifSx7ImNoYXIiOiLkuI4ifSx7ImNoYXIiOiLllYYifSx7ImNoYXIiOiLnvJYifSx7ImNoYXIiOiLkuIAifSx7ImNoYXIiOiLoh7QifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLlubMifSx7ImNoYXIiOiLlj7AifSx7ImNoYXIiOiLllYYifSx7ImNoYXIiOiLmiLcifSx7ImNoYXIiOiLmlLYifSx7ImNoYXIiOiLku5gifSx7ImNoYXIiOiLmrL4ifSx7ImNoYXIiOiLmlrkifSx7ImNoYXIiOiLmoYgifSx7ImNoYXIiOiLkuK0ifSx7ImNoYXIiOiLmraQifSx7ImNoYXIiOiLlj4IifSx7ImNoYXIiOiLmlbAifSx7ImNoYXIiOiLkuLoifSx7ImNoYXIiOiLlubMifSx7ImNoYXIiOiLlj7AifSx7ImNoYXIiOiLllYYifSx7ImNoYXIiOiLllYYifSx7ImNoYXIiOiLmiLcifSx7ImNoYXIiOiLnvJYifSx7ImNoYXIiOiLlj7cifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=--><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjI3MTEtMTU5ODQwOTgyNDE3NSIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjowLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLlj5EifSx7ImNoYXIiOiLotbcifSx7ImNoYXIiOiLmlrkifSx7ImNoYXIiOiLllYYifSx7ImNoYXIiOiLmiLcifSx7ImNoYXIiOiLnvJYifSx7ImNoYXIiOiLlj7cifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=-->
$requestNo = "REMIT20200327103027"; // string | 商户请求号<br>商户请求号,由商户自定义生成(与易宝付款订单号两者填其一)
$orderNo = "8af60c56b35b42d3a7e985fe55a6c54c"; // string | 易宝订单号<br>易宝支付系统生成的付款订单号(与商户请求号两者填其一)

try {
$result = $apiInstance->payQuery($parentMerchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->payQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "易宝支付分配的的商户唯一标识;示例值:100400612345"; // string | 
$requestNo = "REMIT20200327103027"; // string | 商户请求号<br>商户请求号,由商户自定义生成(与易宝付款订单号两者填其一)
$orderNo = "8af60c56b35b42d3a7e985fe55a6c54c"; // string | 易宝订单号<br>易宝支付系统生成的付款订单号(与商户请求号两者填其一)

try {
$result = $apiInstance->paySystemQuery($merchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->paySystemQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_receiptGather
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 
$remark = "remark_example"; // string | 
$counterpartyNo = "counterpartyNo_example"; // string | 
$orderNos = "orderNos_example"; // string | 
$bizDate = "bizDate_example"; // string | 

try {
$result = $apiInstance->receiptGather($merchantNo, $remark, $counterpartyNo, $orderNos, $bizDate);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->receiptGather: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_receiptGet
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_receiptGet
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)
$tradeType = "tradeType_example"; // string | 可选项如下:<br>TRANSFER:企业账户转账<br>PAY:企业付款<br>RECHARGE:企业账户充值<br>WITHDRAW:企业账户提现<br>ADVANCE:记账薄收款
$orderNo = "示例值:8af60c56b35b42d3a7e985fe55a6c54c"; // string | 易宝支付系统生成的付款订单号(与商户请求号两者填其一)
$requestNo = "示例值:REMIT20200327103027"; // string | 商户请求号<br>商户请求号,由商户自定义生成(与易宝付款订单号两者填其一)
$orderDate = "orderDate_example"; // string | 如果传了商户请求号requestNo,orderDate也是必填的,格式 yyyy-MM/yyyy-MM-dd
$merchantNo = "merchantNo_example"; // string | 商户编号,易宝支付分配的的商户唯一标识,如果传了商户请求号requestNo,那么merchantNo也是必填的。

try {
$result = $apiInstance->receiptGet($parentMerchantNo, $tradeType, $orderNo, $requestNo, $orderDate, $merchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->receiptGet: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_recharge
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$body = new \Yeepay\Yop\Sdk\Service\Account\Model\RechargeRechargeApiV2RequestDTOParam(); // \Yeepay\Yop\Sdk\Service\Account\Model\RechargeRechargeApiV2RequestDTOParam | 

try {
$result = $apiInstance->recharge($body);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->recharge: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_rechargeAccountBookQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$ypAccountBookNo = "ypAccountBookNo_example"; // string | 易宝记账簿编号
$queryStartDate = "2022-01-01 00:00:00"; // string | 查询时间范围-开始日期 格式:yyyy-MM-dd HH:mm:ss<br>与结束时间间隔不能超过2天
$queryEndDate = "2022-01-02 23:59:59"; // string | 查询时间范围-结束时间 格式:yyyy-MM-dd HH:mm:ss<br>与开始时间间隔不能超过2天
$merchantNo = "merchantNo_example"; // string | 收款商户编号
$parentMerchantNo = "parentMerchantNo_example"; // string | 标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号
$pageNo = 56; // int | 页码,从1开始,默认为1
$pageSize = 56; // int | 页大小,默认30

try {
$result = $apiInstance->rechargeAccountBookQuery($ypAccountBookNo, $queryStartDate, $queryEndDate, $merchantNo, $parentMerchantNo, $pageNo, $pageSize);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->rechargeAccountBookQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_rechargeBankOrder
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$merchantNo = "merchantNo_example"; // string | 
$requestNo = "requestNo_example"; // string | 
$amount = 1.2; // float | 
$token = "token_example"; // string | 
$bankCode = "BOL"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 
$usage = "usage_example"; // string | 
$remark = "remark_example"; // string | 
$clientIp = "clientIp_example"; // string | 

try {
$result = $apiInstance->rechargeBankOrder($parentMerchantNo, $merchantNo, $requestNo, $amount, $token, $bankCode, $notifyUrl, $usage, $remark, $clientIp);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->rechargeBankOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_rechargeBatchQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)
$merchantNo = "merchantNo_example"; // string | 
$queryStartDate = "queryStartDate_example"; // string | 查询开始时间<br>(支持获取最长周期为30天的充值记录,<br>支持yyyy-MM-dd格式,示例:2021-09-17 即2021-09-17 00:00:00开始)
$queryEndDate = "queryEndDate_example"; // string | 查询结束时间<br>(支持获取最长周期为30天的充值记录,<br>支持yyyy-MM-dd格式,示例:2021-09-17 即2021-09-17 23:59:59结束)

try {
$result = $apiInstance->rechargeBatchQuery($parentMerchantNo, $merchantNo, $queryStartDate, $queryEndDate);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->rechargeBatchQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_rechargeOnlinebankOrder
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$requestNo = "requestNo_example"; // string | 
$amount = 1.2; // float | 
$payType = "payType_example"; // string | 
$bankCode = "bankCode_example"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 
$remark = "remark_example"; // string | 
$returnUrl = "returnUrl_example"; // string | 

try {
$result = $apiInstance->rechargeOnlinebankOrder($merchantNo, $parentMerchantNo, $requestNo, $amount, $payType, $bankCode, $notifyUrl, $remark, $returnUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->rechargeOnlinebankOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_rechargeOrder
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_rechargeOrder
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 
$merchantNo = "100400612345"; // string | 
$requestNo = "requestNo_example"; // string | 
$amount = 1.2; // float | 
$remark = "remark_example"; // string | 
$payType = "payType_example"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 

try {
$result = $apiInstance->rechargeOrder($parentMerchantNo, $merchantNo, $requestNo, $amount, $remark, $payType, $notifyUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->rechargeOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_rechargeQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_rechargeQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "parentMerchantNo_example"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)
$merchantNo = "merchantNo_example"; // string | 
$orderNo = "orderNo_example"; // string | 充值订单号<br>充值订单号和商户请求号不能同时为空
$requestNo = "requestNo_example"; // string | 商户请求号<br>充值订单号和商户请求号不能同时为空

try {
$result = $apiInstance->rechargeQuery($parentMerchantNo, $merchantNo, $orderNo, $requestNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->rechargeQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_setWithdrawRule
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$fromMerchantNo = "fromMerchantNo_example"; // string | 
$tomerchantNo = "tomerchantNo_example"; // string | 

try {
$result = $apiInstance->setWithdrawRule($fromMerchantNo, $tomerchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->setWithdrawRule: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_supplierApply
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_supplierApply
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$body = new \Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplyApplySupplierRequestDTOParam(); // \Yeepay\Yop\Sdk\Service\Account\Model\SupplierApplyApplySupplierRequestDTOParam | 

try {
$result = $apiInstance->supplierApply($body);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->supplierApply: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 
$merchantNo = "100400612345"; // string | 
$requestNo = "requestNo111"; // string | 
$orderAmount = 1.01; // float | 
$receiverAccountNo = "6212260200062388891"; // string | 
$supplierId = 17; // int | 
$receiverBankCode = "ICBC"; // string | 
$bankAccountType = "DEBIT_CARD"; // string | 
$comments = "xx平台付款"; // string | 
$feeChargeSide = "PAYER"; // string | 
$terminalType = "PC"; // string | 
$receiveType = "REAL_TIME"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 

try {
$result = $apiInstance->supplierPayOrder($parentMerchantNo, $merchantNo, $requestNo, $orderAmount, $receiverAccountNo, $supplierId, $receiverBankCode, $bankAccountType, $comments, $feeChargeSide, $terminalType, $receiveType, $notifyUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->supplierPayOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_supplierQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_supplierQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "10080011111"; // string | 

try {
$result = $apiInstance->supplierQuery($merchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->supplierQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_supplierQueryProgress
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_supplierQueryProgress
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$requestNo = "requestNo1111"; // string | 

try {
$result = $apiInstance->supplierQueryProgress($requestNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->supplierQueryProgress: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 
$requestNo = "商户请求号,由商户自定义生成;示例值:TRANS2133213124"; // string | 
$fromMerchantNo = "易宝支付分配的的商户唯一标识;示例值:100400612345"; // string | 
$toMerchantNo = "易宝支付分配的的商户唯一标识;示例值:100400612346"; // string | 
$orderAmount = "单位:元(RMB),精确到分;示例值:0.01 元"; // string | 
$usage = "usage_example"; // string | 
$feeChargeSide = "当商户承担且计费方式为预付实扣或后收时,不支持转入方承担;当平台商或服务商承担时无需指定此手续费承担方;"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 

try {
$result = $apiInstance->transferB2bOrder($parentMerchantNo, $requestNo, $fromMerchantNo, $toMerchantNo, $orderAmount, $usage, $feeChargeSide, $notifyUrl);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->transferB2bOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_transferB2bQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_transferB2bQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)
$requestNo = "商户请求号,由商户自定义生成 ;示例值:TRANS2133213124"; // string | 商户请求号<br>商户请求号,由商户自定义生成(与易宝转账订单号两者填其一)
$orderNo = "orderNo_example"; // string | 易宝转账订单号<br>易宝支付系统生成的转账订单号(与商户请求号两者填其一)

try {
$result = $apiInstance->transferB2bQuery($parentMerchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->transferB2bQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "易宝支付分配的的商户唯一标识;示例值:100400612345"; // string | 
$requestNo = "商户请求号,由商户自定义生成 ;示例值:TRANS2133213124"; // string | 商户请求号<br>商户请求号,由商户自定义生成(与易宝转账订单号两者填其一)
$orderNo = "orderNo_example"; // string | 易宝转账订单号<br>易宝支付系统生成的转账订单号(与商户请求号两者填其一)

try {
$result = $apiInstance->transferSystemQuery($merchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->transferSystemQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$requestNo = "requestNo_example"; // string | 
$merchantNo = "merchantNo_example"; // string | 
$amount = 1.2; // float | 
$appId = "appId_example"; // string | 
$scene = "scene_example"; // string | 
$openId = "openId_example"; // string | 
$userName = "userName_example"; // string | 
$remark = "remark_example"; // string | 
$notifyUrl = "notifyUrl_example"; // string | 
$parentMerchantNo = "parentMerchantNo_example"; // string | 

try {
$result = $apiInstance->transferWechatOrder($requestNo, $merchantNo, $amount, $appId, $scene, $openId, $userName, $remark, $notifyUrl, $parentMerchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->transferWechatOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_account
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 商户编号<br>易宝支付分配的的商户唯一标识
$parentMerchantNo = "parentMerchantNo_example"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)
$requestNo = "requestNo_example"; // string | 商户请求号<br>由商户自定义生成
$orderNo = "orderNo_example"; // string | 易宝转账订单号<br>易宝支付系统生成的转账订单号(跟商户请求号二选一)

try {
$result = $apiInstance->transferWechatQuery($merchantNo, $parentMerchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->transferWechatQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_withdrawCardBind
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_withdrawCardBind
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "100400612345"; // string | 
$bankCardType = "bankCardType_example"; // string | 
$accountNo = "accountNo_example"; // string | 
$bankCode = "当bankCardType为ENTERPRISE_ACCOUNT时必填;  示例值:ICBC"; // string | 
$branchCode = "102100000048"; // string | 

try {
$result = $apiInstance->withdrawCardBind($merchantNo, $bankCardType, $accountNo, $bankCode, $branchCode);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->withdrawCardBind: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_withdrawCardModify
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_withdrawCardModify
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "merchantNo_example"; // string | 
$accountNo = "accountNo_example"; // string | 
$bindId = 789; // int | 
$bankCardOperateType = "bankCardOperateType_example"; // string | 
$bankCode = "ICBC"; // string | 
$branchCode = "102100000048"; // string | 

try {
$result = $apiInstance->withdrawCardModify($merchantNo, $accountNo, $bindId, $bankCardOperateType, $bankCode, $branchCode);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->withdrawCardModify: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_withdrawCardQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_withdrawCardQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "易宝支付分配的的商户唯一标识  示例值:100400612345"; // string | 

try {
$result = $apiInstance->withdrawCardQuery($merchantNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->withdrawCardQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_withdrawOrder
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_withdrawOrder
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 
$requestNo = "WITHDRAW20200327103027"; // string | 
$merchantNo = "100400612345"; // string | 
$bankCardId = "11103"; // string | 
$bankAccountNo = "6212260200019388841"; // string | 
$receiveType = "REAL_TIME"; // string | 
$orderAmount = 1.00; // float | 
$notifyUrl = "www.baidu.com"; // string | 
$remark = "XXX平台提现"; // string | 
$terminalType = "PC"; // string | 

try {
$result = $apiInstance->withdrawOrder($parentMerchantNo, $requestNo, $merchantNo, $bankCardId, $bankAccountNo, $receiveType, $orderAmount, $notifyUrl, $remark, $terminalType);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->withdrawOrder: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3_withdrawQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_withdrawQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$parentMerchantNo = "100400612345"; // string | 发起方商户编号<br>(标准商户收付款方案中此参数与商编一致,平台商户收付款方案中此参数为平台商商户编号)
$requestNo = "WITHDRAW20200327103027"; // string | 商户请求号<br>商户请求号,由商户自定义生成(与易宝提现订单号两者填其一)
$orderNo = "be54b037a981440a8cfcb0549aaf5344"; // string | 易宝提现订单号<br>易宝支付系统生成的提现订单号(与商户请求号两者填其一)

try {
$result = $apiInstance->withdrawQuery($parentMerchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->withdrawQuery: ', $e->getMessage(), PHP_EOL;
}

    // Configure API key authorization: YOP-SM2-SM3
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
    // Configure API key authorization: YOP-RSA2048-SHA256_withdrawSystemQuery
    $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
    // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    // $config = Yeepay\Yop\Sdk\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Yeepay\Yop\Sdk\Api\Account(
// 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(),
$config
);
$merchantNo = "易宝支付分配的的商户唯一标识;示例值:100400612345"; // string | 
$requestNo = "WITHDRAW20200327103027"; // string | 商户请求号<br>商户请求号,由商户自定义生成(与易宝提现订单号两者填其一)
$orderNo = "be54b037a981440a8cfcb0549aaf5344"; // string | 易宝提现订单号<br>易宝支付系统生成的提现订单号(与商户请求号两者填其一)

try {
$result = $apiInstance->withdrawSystemQuery($merchantNo, $requestNo, $orderNo);
    print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Account->withdrawSystemQuery: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to http://localhost:8080

Class Method HTTP request Description
Account accountBookQueryRefund GET /rest/v1.0/account/account-book/query-refund 记账簿退款查询
Account accountBookRefund POST /rest/v1.0/account/account-book/refund 记账簿退款
Account accountManageAccountOpen POST /rest/v1.0/account/account-manage/account/open 开立记账簿
Account accountManageAccountQuery GET /rest/v1.0/account/account-manage/account/query 查询记账簿
Account accountManageBankAccountOpen POST /rest/v1.0/account/account-manage/bank-account/open 开立银行账户
Account accountManageBankAccountQuery GET /rest/v1.0/account/account-manage/bank-account/query 开立银行账户查询
Account accountinfosQuery GET /rest/v1.0/account/accountinfos/query 全部账户余额查询
Account autoWithdrawRuleCancel POST /rest/v1.0/account/auto-withdraw-rule/cancel 自动提现-规则作废
Account autoWithdrawRuleQuery GET /rest/v1.0/account/auto-withdraw-rule/query 自动提现-规则查询
Account autoWithdrawRuleSet POST /rest/v1.0/account/auto-withdraw-rule/set 自动提现-规则设置
Account balanceBankAccountList GET /rest/v1.0/account/balance/bank-account/list 账户通-余额查询
Account balanceQuery GET /rest/v1.0/account/balance/query 资金账户余额查询
Account enterpriseAccountBookPayOrder POST /rest/v1.0/account/enterprise/account-book-pay/order 记账薄支付
Account enterpriseAccountPayOrder POST /rest/v1.0/account/enterprise/account-pay/order 企业账户支付-下单
Account enterpriseAutoPaymentOrder POST /rest/v1.0/account/enterprise/auto-payment/order 企业账户支付-自动付款
Account enterpriseAutoPaymentQuery GET /rest/v1.0/account/enterprise/auto-payment/query 企业账户支付-自动付款订单查询
Account enterpriseTokenPayOrder POST /rest/v1.0/account/enterprise/token-pay/order 企业账户支付-token支付
Account enterpriseWithholdingOrder POST /rest/v1.0/account/enterprise/withholding/order 企业账户支付-关系扣款
Account migrateBankOrder POST /rest/v1.0/account/migrate/bank/order 余额迁移到银行-申请接口
Account migrateBankQuery GET /rest/v1.0/account/migrate/bank/query 余额迁移到银行-查询接口
Account payCancel POST /rest/v1.0/account/pay/cancel 付款-撤销
Account payOrder POST /rest/v1.0/account/pay/order 付款-下单
Account payQuery GET /rest/v1.0/account/pay/query 付款-查询
Account paySystemQuery GET /rest/v1.0/account/pay/system/query 付款-查询
Account receiptGather POST /rest/v1.0/account/receipt/gather 获取资金汇总凭证
Account receiptGet GET /rest/v1.0/account/receipt/get 电子回单-下载
Account recharge POST /rest/v1.0/account/recharge 充值-下单(多种支付)
Account rechargeAccountBookQuery GET /rest/v1.0/account/recharge/account-book/query 批量查询记账簿来账流水
Account rechargeBankOrder POST /rest/v1.0/account/recharge/bank/order 银行资金提现
Account rechargeBatchQuery GET /rest/v1.0/account/recharge/batch-query 充值订单批量查询
Account rechargeOnlinebankOrder POST /rest/v1.0/account/recharge/onlinebank/order 充值-网银下单
Account rechargeOrder POST /rest/v1.0/account/recharge/order 充值-银行汇款下单
Account rechargeQuery GET /rest/v1.0/account/recharge/query 充值-查询
Account setWithdrawRule POST /rest/v1.0/account/set-withdraw-rule 设置提现规则
Account supplierApply POST /rest/v1.0/account/supplier/apply 付款到供应商--申请添加供应商
Account supplierPayOrder POST /rest/v1.0/account/supplier/pay/order 付款到供应商-下单
Account supplierQuery GET /rest/v1.0/account/supplier/query 付款到供应商--查询已添加的供应商
Account supplierQueryProgress GET /rest/v1.0/account/supplier/query-progress 付款到供应商--查询申请进度
Account transferB2bOrder POST /rest/v1.0/account/transfer/b2b/order 转账-下单
Account transferB2bQuery GET /rest/v1.0/account/transfer/b2b/query 转账-查询
Account transferSystemQuery GET /rest/v1.0/account/transfer/system/query 转账-查询
Account transferWechatOrder POST /rest/v1.0/account/transfer/wechat/order 转账到微信零钱-下单
Account transferWechatQuery GET /rest/v1.0/account/transfer/wechat/query 转账到微信零钱-查询
Account withdrawCardBind POST /rest/v1.0/account/withdraw/card/bind 提现卡-添加
Account withdrawCardModify POST /rest/v1.0/account/withdraw/card/modify 提现卡-修改/注销
Account withdrawCardQuery GET /rest/v1.0/account/withdraw/card/query 提现卡查询
Account withdrawOrder POST /rest/v1.0/account/withdraw/order 提现-下单
Account withdrawQuery GET /rest/v1.0/account/withdraw/query 提现-查询
Account withdrawSystemQuery GET /rest/v1.0/account/withdraw/system/query 提现-查询

Documentation For Models

Documentation For Authorization

YOP-SM2-SM3

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_account

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_accountinfosQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_autoWithdrawRuleCancel

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_autoWithdrawRuleQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_autoWithdrawRuleSet

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_balanceQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_payCancel

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_payQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_receiptGet

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_rechargeOrder

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_rechargeQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_supplierApply

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_supplierQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_supplierQueryProgress

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_transferB2bQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_withdrawCardBind

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_withdrawCardModify

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_withdrawCardQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_withdrawOrder

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-SM2-SM3_withdrawQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_account

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_accountBookQueryRefund

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_accountBookRefund

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_accountManageAccountOpen

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_accountManageAccountQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_accountinfosQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_autoWithdrawRuleCancel

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_autoWithdrawRuleQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_autoWithdrawRuleSet

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_balanceQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_enterpriseAccountBookPayOrder

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_payCancel

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_payQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_receiptGather

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_receiptGet

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_recharge

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_rechargeAccountBookQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_rechargeBankOrder

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_rechargeBatchQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_rechargeOnlinebankOrder

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_rechargeOrder

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_rechargeQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_setWithdrawRule

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_supplierApply

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_supplierQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_supplierQueryProgress

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_transferB2bQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_withdrawCardBind

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_withdrawCardModify

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_withdrawCardQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_withdrawOrder

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_withdrawQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

YOP-RSA2048-SHA256_withdrawSystemQuery

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author