POST api/setPaymentProduct

Request Information

URI Parameters

None.

Body Parameters

BuyProductRequestModel
NameDescriptionTypeAdditional information
CardOwnerName

string

None.

CardNumber

string

None.

CardExpireMonth

string

None.

CardExpireYear

string

None.

Installment

string

None.

Cvc

string

None.

InvoiceName

string

None.

InvoiceAdress

string

None.

CityId

integer

None.

CountyId

integer

None.

IdentificationNumber

string

None.

TaxOffice

string

None.

Telefon

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardOwnerName": "sample string 1",
  "CardNumber": "sample string 2",
  "CardExpireMonth": "sample string 3",
  "CardExpireYear": "sample string 4",
  "Installment": "sample string 5",
  "Cvc": "sample string 6",
  "InvoiceName": "sample string 7",
  "InvoiceAdress": "sample string 8",
  "CityId": 9,
  "CountyId": 10,
  "IdentificationNumber": "sample string 11",
  "TaxOffice": "sample string 12",
  "Telefon": "sample string 13"
}

text/html

Sample:
{"CardOwnerName":"sample string 1","CardNumber":"sample string 2","CardExpireMonth":"sample string 3","CardExpireYear":"sample string 4","Installment":"sample string 5","Cvc":"sample string 6","InvoiceName":"sample string 7","InvoiceAdress":"sample string 8","CityId":9,"CountyId":10,"IdentificationNumber":"sample string 11","TaxOffice":"sample string 12","Telefon":"sample string 13"}

application/xml, text/xml

Sample:
<BuyProductRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Models">
  <CardExpireMonth>sample string 3</CardExpireMonth>
  <CardExpireYear>sample string 4</CardExpireYear>
  <CardNumber>sample string 2</CardNumber>
  <CardOwnerName>sample string 1</CardOwnerName>
  <CityId>9</CityId>
  <CountyId>10</CountyId>
  <Cvc>sample string 6</Cvc>
  <IdentificationNumber>sample string 11</IdentificationNumber>
  <Installment>sample string 5</Installment>
  <InvoiceAdress>sample string 8</InvoiceAdress>
  <InvoiceName>sample string 7</InvoiceName>
  <TaxOffice>sample string 12</TaxOffice>
  <Telefon>sample string 13</Telefon>
</BuyProductRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponseModel
NameDescriptionTypeAdditional information
Data

Object

None.

ErrorMessage

string

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "ErrorMessage": "sample string 2",
  "Status": true
}

text/html

Sample:
{"Data":{},"ErrorMessage":"sample string 2","Status":true}

application/xml, text/xml

Sample:
<BaseResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Models">
  <Data />
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</BaseResponseModel>