DELETE api/RefundRequests/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

RefundRequest
NameDescriptionTypeAdditional information
id

integer

None.

DateRequested

date

None.

LastModified

date

None.

ClientId

string

None.

DateRefunded

date

None.

TransactionId

integer

None.

TransactionRef

string

None.

Amount

decimal number

None.

Refunded

boolean

None.

ReasonForRefund

string

None.

ReasonForDeny

string

None.

Transacted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateRequested": "2025-12-11T12:03:49.6557755+02:00",
  "LastModified": "2025-12-11T12:03:49.6557755+02:00",
  "ClientId": "sample string 2",
  "DateRefunded": "2025-12-11T12:03:49.6557755+02:00",
  "TransactionId": 1,
  "TransactionRef": "sample string 3",
  "Amount": 4.1,
  "Refunded": true,
  "ReasonForRefund": "sample string 5",
  "ReasonForDeny": "sample string 6",
  "Transacted": true
}

application/xml, text/xml

Sample:
<RefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <Amount>4.1</Amount>
  <ClientId>sample string 2</ClientId>
  <DateRefunded>2025-12-11T12:03:49.6557755+02:00</DateRefunded>
  <DateRequested>2025-12-11T12:03:49.6557755+02:00</DateRequested>
  <LastModified>2025-12-11T12:03:49.6557755+02:00</LastModified>
  <ReasonForDeny>sample string 6</ReasonForDeny>
  <ReasonForRefund>sample string 5</ReasonForRefund>
  <Refunded>true</Refunded>
  <Transacted>true</Transacted>
  <TransactionId>1</TransactionId>
  <TransactionRef>sample string 3</TransactionRef>
  <id>1</id>
</RefundRequest>