POST api/payment/payment-failed

Request Information

URI Parameters

None.

Body Parameters

VerifyPaymentRequest
NameDescriptionTypeAdditional information
InvoiceID

integer

None.

CartId

string

None.

TrackId

string

None.

RazorpayOrderId

string

None.

RazorpayPaymentId

string

None.

RazorpaySignature

string

None.

PaymentStatus

string

None.

GatewayResponse

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceID": 1,
  "CartId": "sample string 2",
  "TrackId": "sample string 3",
  "RazorpayOrderId": "sample string 4",
  "RazorpayPaymentId": "sample string 5",
  "RazorpaySignature": "sample string 6",
  "PaymentStatus": "sample string 7",
  "GatewayResponse": "sample string 8"
}

application/xml, text/xml

Sample:
<VerifyPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceAPI.Areas.User">
  <CartId>sample string 2</CartId>
  <GatewayResponse>sample string 8</GatewayResponse>
  <InvoiceID>1</InvoiceID>
  <PaymentStatus>sample string 7</PaymentStatus>
  <RazorpayOrderId>sample string 4</RazorpayOrderId>
  <RazorpayPaymentId>sample string 5</RazorpayPaymentId>
  <RazorpaySignature>sample string 6</RazorpaySignature>
  <TrackId>sample string 3</TrackId>
</VerifyPaymentRequest>

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.