GET api/Finance/GetChannelParams?payChannelType={payChannelType}

获取财务配置

Request Information

URI Parameters

NameDescriptionTypeAdditional information
payChannelType

PayChannelType

Required

Body Parameters

None.

Response Information

Resource Description

获取财务配置

mh163k_Finance_Channels
NameDescriptionTypeAdditional information
Id

渠道配置标识

integer

None.

ChannelName

渠道名称

string

None.

PayChannelType

支付渠道类型

PayChannelType

None.

MchId

商户号

string

None.

AppId

AppId

string

None.

AppPublicKey

支付宝App公钥, 微信支付Key

string

None.

AppPrivateKey

支付宝App私钥, 微信支付PaySignKey

string

None.

AppCertPath

商户应用证书地址

string

None.

AppCertPassword

商户应用证书密码

string

None.

RootCertPath

根证书地址, 仅对支付宝有效

string

None.

PublicCertPath

公钥证书地址, 仅对支付宝有效

string

None.

ExtraParams

渠道额外参数

string

None.

IsActivated

是否启用

boolean

None.

IntOrder

显示顺序

integer

None.

IsSandbox

是否启用沙箱

boolean

None.

DataStatus

数据状态

StatusType

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<mh163k_Finance_Channels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Finance">
  <AppCertPassword>sample string 8</AppCertPassword>
  <AppCertPath>sample string 7</AppCertPath>
  <AppId>sample string 4</AppId>
  <AppPrivateKey>sample string 6</AppPrivateKey>
  <AppPublicKey>sample string 5</AppPublicKey>
  <ChannelName>sample string 2</ChannelName>
  <DataStatus>Effective</DataStatus>
  <ExtraParams>sample string 11</ExtraParams>
  <Id>1</Id>
  <IntOrder>13</IntOrder>
  <IsActivated>true</IsActivated>
  <IsSandbox>true</IsSandbox>
  <MchId>sample string 3</MchId>
  <PayChannelType>All</PayChannelType>
  <PublicCertPath>sample string 10</PublicCertPath>
  <RootCertPath>sample string 9</RootCertPath>
</mh163k_Finance_Channels>