POST api/CheckPurchase/CheckPurchaseUsingCreditCard

Request Information

URI Parameters

None.

Body Parameters

CheckPurchaseInfo
NameDescriptionTypeAdditional information
PayorName

string

Required

Matching regular expression pattern: ^[a-zA-Z ]*$

Max length: 50

PayorEmail

string

Required

Max length: 100

AccountNo

string

Required

Matching regular expression pattern: [0-9]*\.?[0-9]+

String length: inclusive between 9 and 15

RoutingNo

string

Required

Matching regular expression pattern: [0-9]*\.?[0-9]+

String length: inclusive between 9 and 15

BankName

string

Required

Matching regular expression pattern: ^[a-zA-Z ]*$

Max length: 100

Amount1

string

Required

Range: inclusive between 0.01 and 0.99

Amount2

string

Required

Range: inclusive between 0.01 and 0.99

StartCheckNo

string

Required

Matching regular expression pattern: [0-9]*\.?[0-9]+

String length: inclusive between 1 and 5

NumberOfCheck

string

Required

Matching regular expression pattern: [0-9]*\.?[0-9]+

String length: inclusive between 1 and 5

CreditCardnumber

string

None.

CvvNo

string

None.

CardExpDate

string

None.

TotalAmount

string

Required

Matching regular expression pattern: [0-9]*\.?[0-9]+

Range: inclusive between 0.1 and 10000

Mode

string

None.

ClientKey

string

None.

ClientID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PayorName": "sample string 1",
  "PayorEmail": "sample string 2",
  "AccountNo": "sample string 3",
  "RoutingNo": "sample string 4",
  "BankName": "sample string 5",
  "Amount1": "sample string 6",
  "Amount2": "sample string 7",
  "StartCheckNo": "sample string 8",
  "NumberOfCheck": "sample string 9",
  "CreditCardnumber": "sample string 10",
  "CvvNo": "sample string 11",
  "CardExpDate": "sample string 12",
  "TotalAmount": "sample string 13",
  "Mode": "sample string 14",
  "ClientKey": "sample string 15",
  "ClientID": "sample string 16"
}

text/html

Sample:
{"PayorName":"sample string 1","PayorEmail":"sample string 2","AccountNo":"sample string 3","RoutingNo":"sample string 4","BankName":"sample string 5","Amount1":"sample string 6","Amount2":"sample string 7","StartCheckNo":"sample string 8","NumberOfCheck":"sample string 9","CreditCardnumber":"sample string 10","CvvNo":"sample string 11","CardExpDate":"sample string 12","TotalAmount":"sample string 13","Mode":"sample string 14","ClientKey":"sample string 15","ClientID":"sample string 16"}

application/xml, text/xml

Sample:
<CheckPurchaseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMailACheck.Web.API.Entities">
  <AccountNo>sample string 3</AccountNo>
  <Amount1>sample string 6</Amount1>
  <Amount2>sample string 7</Amount2>
  <BankName>sample string 5</BankName>
  <CardExpDate>sample string 12</CardExpDate>
  <ClientID>sample string 16</ClientID>
  <ClientKey>sample string 15</ClientKey>
  <CreditCardnumber>sample string 10</CreditCardnumber>
  <CvvNo>sample string 11</CvvNo>
  <Mode>sample string 14</Mode>
  <NumberOfCheck>sample string 9</NumberOfCheck>
  <PayorEmail>sample string 2</PayorEmail>
  <PayorName>sample string 1</PayorName>
  <RoutingNo>sample string 4</RoutingNo>
  <StartCheckNo>sample string 8</StartCheckNo>
  <TotalAmount>sample string 13</TotalAmount>
</CheckPurchaseInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.