POST api/Pay

Request Information

URI Parameters

None.

Body Parameters

PaymentRequest
NameDescriptionTypeAdditional information
PaymentMethodId

string

None.

Amount

integer

None.

Description

string

None.

CustomerName

string

None.

CustomerEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentMethodId": "sample string 1",
  "Amount": 2,
  "Description": "sample string 3",
  "CustomerName": "sample string 4",
  "CustomerEmail": "sample string 5"
}

application/xml, text/xml

Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.Controllers">
  <Amount>2</Amount>
  <CustomerEmail>sample string 5</CustomerEmail>
  <CustomerName>sample string 4</CustomerName>
  <Description>sample string 3</Description>
  <PaymentMethodId>sample string 1</PaymentMethodId>
</PaymentRequest>

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.