You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
7.2 KiB
PHTML
150 lines
7.2 KiB
PHTML
1 year ago
|
<?php
|
||
|
|
||
|
namespace App\Helper\Baofu;
|
||
|
|
||
|
class ApiList
|
||
|
{
|
||
|
private static $list = [
|
||
|
'openAccount' => [
|
||
|
'description' => '个人实名开户',
|
||
|
'url' => '/api/cust/v3.0.0/openAccount',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|customerName|certificateNo'
|
||
|
],
|
||
|
'bindCard' => [
|
||
|
'description' => '个人银行卡签约-获取短信验证码',
|
||
|
'url' => '/api/cust/v3.0.0/bindCard',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|cardNo|bankMobile',
|
||
|
],
|
||
|
'bindCardCheck' => [
|
||
|
'description' => '个人银行卡签约-确认绑卡',
|
||
|
'url' => '/api/cust/v3.0.0/bindCardCheck',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|requestNo|verifyCode',
|
||
|
],
|
||
|
'unbindCard' => [
|
||
|
'description' => '个人银行卡解约',
|
||
|
'url' => '/api/cust/v3.0.0/unbindCard',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|requestNo|agreementNo',
|
||
|
],
|
||
|
'queryCustomerInfo' => [
|
||
|
'description' => '客户信息查询',
|
||
|
'url' => '/api/cust/v2.0.0/queryCustomerInfo',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestNo',
|
||
|
],
|
||
|
'findBindBankCards' => [
|
||
|
'description' => '获取已绑定卡信息',
|
||
|
'url' => '/api/cust/v2.0.0/findBindBankCards',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|contractNo',
|
||
|
],
|
||
|
'assurePaymentSplit' => [
|
||
|
'description' => '个人担保支付-余额和卡',
|
||
|
'url' => '/api/order/v3.0.0/assurePaymentSplit',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|outOrderNo|amount|paidType|splitInfoList',
|
||
|
],
|
||
|
'payment' => [
|
||
|
'description' => '个人担保支付-聚合支付',
|
||
|
'url' => '/api/wallet/v3.0.0/payment',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|callType|loginNo|requestDate|dataContent',
|
||
|
],
|
||
|
'withdraw' => [
|
||
|
'description' => '个人提现',
|
||
|
'url' => '/api/order/v3.0.0/withdraw',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|outOrderNo|amount|agreementNo',
|
||
|
],
|
||
|
'enterpriseWithdraw' => [
|
||
|
'description' => '企业提现',
|
||
|
'url' => '/api/order/v3.0.0/merchantWithdraw',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|outOrderNo|amount|agreementNo',
|
||
|
],
|
||
|
'getBalanceNew' => [
|
||
|
'description' => '账户余额查询',
|
||
|
'url' => '/api/wallet/v3.0.0/getBalanceNew',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|accountType',
|
||
|
],
|
||
|
'recharge' => [
|
||
|
'description' => '个人充值',
|
||
|
'url' => '/api/order/v3.0.0/recharge',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|outOrderNo|amount|agreementNo',
|
||
|
],
|
||
|
'merchantTransferRecharge' => [
|
||
|
'description' => '企业充值',
|
||
|
'url' => '/api/order/v3.0.0/merchantTransferRecharge',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|outOrderNo|amount|agreementNo|notifyUrl',
|
||
|
],
|
||
|
'unifyPay' => [
|
||
|
'description' => '匿名支付-聚合支付',
|
||
|
'url' => '/api/order/v3.0.0/unifyPay',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|requestDate|loginNo|orderType|dataContent',
|
||
|
],
|
||
|
'cloudB2cAssureRecharge' => [
|
||
|
'description' => '担保支付-网银支付',
|
||
|
'url' => '/api/order/v3.0.0/cloudB2cAssureRecharge',
|
||
|
'signParams' => 'orgNo|merchantNo|loginNo|terminalNo|requestDate|dataContent',
|
||
|
],
|
||
|
'confirmAssurePay' => [
|
||
|
'description' => '担保支付-确认分账',
|
||
|
'url' => '/api/wallet/v3.0.0/confirmAssurePay',
|
||
|
'signParams' => 'orgNo|merchantNo|loginNo|terminalNo|requestDate|dataContent',
|
||
|
],
|
||
|
'refundRequest' => [
|
||
|
'description' => '担保支付-分账前退款',
|
||
|
'url' => '/api/trade/v3.0.0/refundRequest',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|requestDate|refundTradeId|orgTradeId|refundMoney|refundReason|notifyUrl',
|
||
|
],
|
||
|
'profitShareRefundApply' => [
|
||
|
'description' => '担保支付-分账后退款-退款申请',
|
||
|
'url' => '/api/trade/v3.0.0/profitShareRefundApply',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|refundTradeId|orgTradeId|refundAmount|refundSplitInfoList',
|
||
|
],
|
||
|
'profitShareRefundConfirm' => [
|
||
|
'description' => '担保支付-分账后退款-退款确认',
|
||
|
'url' => '/api/trade/v3.0.0/profitShareRefundConfirm',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|refundTradeId|refundAmount',
|
||
|
],
|
||
|
'profitShareRefundCancel' => [
|
||
|
'description' => '担保支付-分账后退款-退款撤销',
|
||
|
'url' => '/api/trade/v3.0.0/profitShareRefundCancel',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|refundTradeId',
|
||
|
],
|
||
|
'modifyLoginNo' => [
|
||
|
'description' => '信息维护-客户登录号变更',
|
||
|
'url' => '/api/cust/v3.0.0/modifyLoginNo',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|requestDate|loginNo|origLoginNo',
|
||
|
],
|
||
|
'mEnterpriseUnbindCard' => [
|
||
|
'description' => '企业对公卡解绑',
|
||
|
'url' => '/api/cust/v3.0.0/applyUnbindCard',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|agreementNo'
|
||
|
],
|
||
|
'EnterpriseUnbindCard' => [
|
||
|
'description' => '企业对公卡解绑',
|
||
|
'url' => '/api/cust/v3.0.0/applyUnbindCard',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|agreementNo'
|
||
|
],
|
||
|
'sendBindCardEmail' => [
|
||
|
'description' => '企业认证重发邮件',
|
||
|
'url' => '/api/merchant/v1/sendBindCardEmail',
|
||
|
'signParams' => 'orgNo|terminalNo|requestDate|loginNo'
|
||
|
],
|
||
|
'applyBindCard' => [
|
||
|
'description' => '企业对公卡绑定',
|
||
|
'url' => '/api/merchant/v1/applyBindCard',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|loginNo|requestDate|cardName|bankName|provinceName|cityName|branchName'
|
||
|
],
|
||
|
'merchantReportCreate' => [
|
||
|
'description' => '企业注册-聚合交易商户报备-v3.1版本-商户录入',
|
||
|
'url' => '/api/aggregationReport/v3.1.0/merchantReportCreate',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|requestDate|uniqueId|loginNo|bizContent'
|
||
|
],
|
||
|
'authBind' => [
|
||
|
'description' => '企业注册-聚合交易商户报备-v3.1版本-授权目录报备',
|
||
|
'url' => '/api/aggregationReport/v3.1.0/authBind',
|
||
|
'signParams' => 'orgNo|merchantNo|terminalNo|simId|authType|authContent'
|
||
|
]
|
||
|
];
|
||
|
|
||
|
public static function get($apiName)
|
||
|
{
|
||
|
return self::$list[$apiName] ?: null;
|
||
|
}
|
||
|
}
|