POST api/Order/PaymentFailed

Request Information

URI Parameters

None.

Body Parameters

OrderPayment
NameDescriptionTypeAdditional information
OrderPaymentId

integer

None.

OrderId

integer

None.

PaymentProviderType

string

None.

PaymentProviderId

integer

None.

PaymentProviderName

string

None.

PaymentMethod

string

None.

PaymentDate

date

None.

PaymentRef

string

None.

PaymentAmount

decimal number

None.

PaymentMessage

string

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "orderPaymentId": 1,
  "orderId": 1,
  "paymentProviderType": "sample string 2",
  "paymentProviderId": 1,
  "paymentProviderName": "sample string 3",
  "paymentMethod": "sample string 4",
  "paymentDate": "2025-12-11T20:11:29.7991186+05:30",
  "paymentRef": "sample string 5",
  "paymentAmount": 1.0,
  "paymentMessage": "sample string 6",
  "status": "sample string 7"
}

application/xml, text/xml

Sample:
<OrderPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI.Resource">
  <OrderId>1</OrderId>
  <OrderPaymentId>1</OrderPaymentId>
  <PaymentAmount>1</PaymentAmount>
  <PaymentDate>2025-12-11T20:11:29.7991186+05:30</PaymentDate>
  <PaymentMessage>sample string 6</PaymentMessage>
  <PaymentMethod>sample string 4</PaymentMethod>
  <PaymentProviderId>1</PaymentProviderId>
  <PaymentProviderName>sample string 3</PaymentProviderName>
  <PaymentProviderType>sample string 2</PaymentProviderType>
  <PaymentRef>sample string 5</PaymentRef>
  <Status>sample string 7</Status>
</OrderPayment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

string

None.

Data

Object

None.

Message

string

None.

Type

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "data": {},
  "message": "sample string 3",
  "type": 4
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI.Controllers.Resource">
  <Data />
  <Message>sample string 3</Message>
  <Status>sample string 1</Status>
  <Type>4</Type>
</APIResponse>