POST api/Setting/SetClearing

Request Information

URI Parameters

None.

Body Parameters

ClearingBindingModel
NameDescriptionTypeAdditional information
BusinessId

integer

Required

SourceKey

string

None.

Pin

string

None.

Host

string

None.

GatewayUserName

string

None.

GatewayPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "SourceKey": "sample string 2",
  "Pin": "sample string 3",
  "Host": "sample string 4",
  "GatewayUserName": "sample string 5",
  "GatewayPassword": "sample string 6"
}

application/xml, text/xml

Sample:
<ClearingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin2._0.Models.BindingModel">
  <BusinessId>1</BusinessId>
  <GatewayPassword>sample string 6</GatewayPassword>
  <GatewayUserName>sample string 5</GatewayUserName>
  <Host>sample string 4</Host>
  <Pin>sample string 3</Pin>
  <SourceKey>sample string 2</SourceKey>
</ClearingBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClearingViewModel
NameDescriptionTypeAdditional information
BusinessId

integer

None.

SourceKey

string

None.

Pin

string

None.

Host

string

None.

gatewayUserName

string

None.

gatewayPassword

string

None.

BusinessName

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.