POST api/Customers/SaveCompleteCreditcard_V1

Request Information

URI Parameters

None.

Body Parameters

SaveCreditCardPostModel
NameDescriptionTypeAdditional information
NameOnCard

string

None.

CardNumber

string

None.

ExpMonth

string

None.

ExpYear

string

None.

Cvv2

string

None.

Country

integer

None.

BillingAddress

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

AccountEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NameOnCard": "sample string 1",
  "CardNumber": "sample string 2",
  "ExpMonth": "sample string 3",
  "ExpYear": "sample string 4",
  "Cvv2": "sample string 5",
  "Country": 6,
  "BillingAddress": "sample string 7",
  "City": "sample string 8",
  "State": "sample string 9",
  "ZipCode": "sample string 10",
  "AccountEmail": "sample string 11"
}

application/xml, text/xml

Sample:
<SaveCreditCardPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer">
  <AccountEmail>sample string 11</AccountEmail>
  <BillingAddress>sample string 7</BillingAddress>
  <CardNumber>sample string 2</CardNumber>
  <City>sample string 8</City>
  <Country>6</Country>
  <Cvv2>sample string 5</Cvv2>
  <ExpMonth>sample string 3</ExpMonth>
  <ExpYear>sample string 4</ExpYear>
  <NameOnCard>sample string 1</NameOnCard>
  <State>sample string 9</State>
  <ZipCode>sample string 10</ZipCode>
</SaveCreditCardPostModel>

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.