POST api/Eca/SettlePurchase

Request Information

URI Parameters

None.

Body Parameters

SettlePurchaseRequest
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

AccountNumber

string

None.

AuthCode

string

None.

ForcePurAmount

decimal number

None.

MerchantNumber

string

None.

PromoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "AccountNumber": "sample string 3",
  "AuthCode": "sample string 4",
  "ForcePurAmount": 5.0,
  "MerchantNumber": "sample string 6",
  "PromoCode": "sample string 7"
}

application/xml, text/xml

Sample:
<SettlePurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Progressive.Web.Api.Library.Models.SettlePurchase">
  <AccountNumber>sample string 3</AccountNumber>
  <AuthCode>sample string 4</AuthCode>
  <ForcePurAmount>5</ForcePurAmount>
  <MerchantNumber>sample string 6</MerchantNumber>
  <Password>sample string 2</Password>
  <PromoCode>sample string 7</PromoCode>
  <Username>sample string 1</Username>
</SettlePurchaseRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SettlePurchaseResponse
NameDescriptionTypeAdditional information
Status

string

None.

TransactionId

string

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "TransactionId": "sample string 2",
  "ResponseText": "sample string 3"
}

application/xml, text/xml

Sample:
<SettlePurchaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Progressive.Web.Api.Library.Models.SettlePurchase">
  <ResponseText>sample string 3</ResponseText>
  <Status>sample string 1</Status>
  <TransactionId>sample string 2</TransactionId>
</SettlePurchaseResponse>