POST api/payment/create-order

Request Information

URI Parameters

None.

Body Parameters

CreatePaymentOrderRequest
NameDescriptionTypeAdditional information
Amount

decimal number

None.

CartId

string

None.

TrackId

string

None.

Mobile

string

None.

Name

string

None.

Email

string

None.

OrderId

integer

None.

PaymentMode

string

None.

Add1

string

None.

Add2

string

None.

LandMark

string

None.

Pincode

string

None.

State

string

None.

City

string

None.

Addressid

integer

None.

CreatedBy

string

None.

TotCharge

decimal number

None.

TotOtherCharge

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "CartId": "sample string 2",
  "TrackId": "sample string 3",
  "Mobile": "sample string 4",
  "Name": "sample string 5",
  "Email": "sample string 6",
  "OrderId": 7,
  "PaymentMode": "sample string 8",
  "Add1": "sample string 9",
  "Add2": "sample string 10",
  "LandMark": "sample string 11",
  "Pincode": "sample string 12",
  "State": "sample string 13",
  "City": "sample string 14",
  "Addressid": 15,
  "CreatedBy": "sample string 16",
  "TotCharge": 17.1,
  "TotOtherCharge": 18.1
}

application/xml, text/xml

Sample:
<CreatePaymentOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceAPI.Areas.User">
  <Add1>sample string 9</Add1>
  <Add2>sample string 10</Add2>
  <Addressid>15</Addressid>
  <Amount>1</Amount>
  <CartId>sample string 2</CartId>
  <City>sample string 14</City>
  <CreatedBy>sample string 16</CreatedBy>
  <Email>sample string 6</Email>
  <LandMark>sample string 11</LandMark>
  <Mobile>sample string 4</Mobile>
  <Name>sample string 5</Name>
  <OrderId>7</OrderId>
  <PaymentMode>sample string 8</PaymentMode>
  <Pincode>sample string 12</Pincode>
  <State>sample string 13</State>
  <TotCharge>17.1</TotCharge>
  <TotOtherCharge>18.1</TotOtherCharge>
  <TrackId>sample string 3</TrackId>
</CreatePaymentOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.