POST api/Razorpay

Request Information

URI Parameters

None.

Body Parameters

RzrPCreateOrderModel
NameDescriptionTypeAdditional information
IsTestMode

boolean

None.

amount

integer

None.

currency

string

None.

method

string

None.

receipt

string

None.

notes

Notes

None.

Request Formats

application/json, text/json

Sample:
{
  "IsTestMode": true,
  "amount": 2,
  "currency": "sample string 3",
  "method": "sample string 4",
  "receipt": "sample string 5",
  "notes": {
    "browsername": "sample string 1",
    "testmode": true
  }
}

text/html

Sample:
{"IsTestMode":true,"amount":2,"currency":"sample string 3","method":"sample string 4","receipt":"sample string 5","notes":{"browsername":"sample string 1","testmode":true}}

application/xml, text/xml

Sample:
<RzrPCreateOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ip2GeoinfoApi.Controllers">
  <IsTestMode>true</IsTestMode>
  <amount>2</amount>
  <currency>sample string 3</currency>
  <method>sample string 4</method>
  <notes>
    <browsername>sample string 1</browsername>
    <testmode>true</testmode>
  </notes>
  <receipt>sample string 5</receipt>
</RzrPCreateOrderModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.