POST RazorPay/Add/RefundDetails

Request Information

URI Parameters

None.

Body Parameters

DtoRefundDetails
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

OrderId

string

None.

RefundId

string

None.

EmailId

string

None.

Product

string

None.

PlanName

string

None.

Amount

decimal number

None.

FinalAmount

decimal number

None.

Unit

string

None.

Discount

decimal number

None.

PaymentId

string

None.

PaymentMethod

string

None.

CompanyName

string

None.

InvoiceNo

string

None.

Quantity

integer

None.

Tax

decimal number

None.

SubscriptionType

integer

None.

CreatedOn

date

None.

IsAutoRenewal

boolean

None.

SubscriptionName

string

None.

ReasonForRefund

string

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "OrderId": "sample string 3",
  "RefundId": "sample string 4",
  "EmailId": "sample string 5",
  "Product": "sample string 6",
  "PlanName": "sample string 7",
  "Amount": 8.0,
  "FinalAmount": 9.0,
  "Unit": "sample string 10",
  "Discount": 11.0,
  "PaymentId": "sample string 12",
  "PaymentMethod": "sample string 13",
  "CompanyName": "sample string 14",
  "InvoiceNo": "sample string 15",
  "Quantity": 16,
  "Tax": 17.0,
  "SubscriptionType": 18,
  "CreatedOn": "2025-12-11T19:28:39.1452312+05:30",
  "IsAutoRenewal": true,
  "SubscriptionName": "sample string 21",
  "ReasonForRefund": "sample string 22",
  "CreatedBy": "sample string 23"
}

application/xml, text/xml

Sample:
<DtoRefundDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.RazorPay">
  <Amount>8</Amount>
  <CompanyName>sample string 14</CompanyName>
  <CreatedBy>sample string 23</CreatedBy>
  <CreatedOn>2025-12-11T19:28:39.1452312+05:30</CreatedOn>
  <Discount>11</Discount>
  <EmailId>sample string 5</EmailId>
  <FinalAmount>9</FinalAmount>
  <InvoiceNo>sample string 15</InvoiceNo>
  <IsAutoRenewal>true</IsAutoRenewal>
  <OrderId>sample string 3</OrderId>
  <PaymentId>sample string 12</PaymentId>
  <PaymentMethod>sample string 13</PaymentMethod>
  <PlanName>sample string 7</PlanName>
  <Product>sample string 6</Product>
  <Quantity>16</Quantity>
  <ReasonForRefund>sample string 22</ReasonForRefund>
  <RefundId>sample string 4</RefundId>
  <SubscriptionName>sample string 21</SubscriptionName>
  <SubscriptionType>18</SubscriptionType>
  <Tax>17</Tax>
  <Unit>sample string 10</Unit>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
</DtoRefundDetails>

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.