POST api/BrainTree/{customerid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerid

string

Required

Body Parameters

ProcessRequest
NameDescriptionTypeAdditional information
OrderId

string

None.

CurrencyCode

CurrencyCode

None.

Amount

decimal number

None.

DoAuthorize

boolean

None.

IpAddress

string

None.

Comment1

string

None.

Comment2

string

None.

Cavv

string

None.

EciFlag

string

None.

Xid

string

None.

CardNumber

string

None.

ExpiryDate

string

None.

CvvValue

string

None.

Address1

string

None.

ZipCode

string

None.

City

string

None.

Country

integer

None.

FirstName

string

None.

LastName

string

None.

EmailAddress

string

None.

HomePhone

string

None.

State

string

None.

nonce

string

None.

Is3DSecureByPassed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": "sample string 1",
  "CurrencyCode": 1,
  "Amount": 2.1,
  "DoAuthorize": true,
  "IpAddress": "sample string 4",
  "Comment1": "sample string 5",
  "Comment2": "sample string 6",
  "Cavv": "sample string 7",
  "EciFlag": "sample string 8",
  "Xid": "sample string 9",
  "CardNumber": "sample string 10",
  "ExpiryDate": "sample string 11",
  "CvvValue": "sample string 12",
  "Address1": "sample string 13",
  "ZipCode": "sample string 14",
  "City": "sample string 15",
  "Country": 16,
  "FirstName": "sample string 17",
  "LastName": "sample string 18",
  "EmailAddress": "sample string 19",
  "HomePhone": "sample string 20",
  "State": "sample string 21",
  "nonce": "sample string 22",
  "Is3DSecureByPassed": true
}

application/xml, text/xml

Sample:
<ProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Payments">
  <Address1>sample string 13</Address1>
  <Amount>2.1</Amount>
  <CardNumber>sample string 10</CardNumber>
  <Cavv>sample string 7</Cavv>
  <City>sample string 15</City>
  <Comment1>sample string 5</Comment1>
  <Comment2>sample string 6</Comment2>
  <Country>16</Country>
  <CurrencyCode>USD</CurrencyCode>
  <CvvValue>sample string 12</CvvValue>
  <DoAuthorize>true</DoAuthorize>
  <EciFlag>sample string 8</EciFlag>
  <EmailAddress>sample string 19</EmailAddress>
  <ExpiryDate>sample string 11</ExpiryDate>
  <FirstName>sample string 17</FirstName>
  <HomePhone>sample string 20</HomePhone>
  <IpAddress>sample string 4</IpAddress>
  <Is3DSecureByPassed>true</Is3DSecureByPassed>
  <LastName>sample string 18</LastName>
  <OrderId>sample string 1</OrderId>
  <State>sample string 21</State>
  <Xid>sample string 9</Xid>
  <ZipCode>sample string 14</ZipCode>
  <nonce>sample string 22</nonce>
</ProcessRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.