POST api/GenerateRazorPayOrderForSubscription

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objRazorPayOrderViewModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "amount": 1,
  "receipt": "sample string 2",
  "currency": "sample string 3"
}

text/html

Sample:
{"amount":1,"receipt":"sample string 2","currency":"sample string 3"}

application/xml, text/xml

Sample:
<RazorPayOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.DistanceTest">
  <amount>1</amount>
  <currency>sample string 3</currency>
  <receipt>sample string 2</receipt>
</RazorPayOrderViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RazorPayOrderViewModel'.