POST api/forb2b/verify-razorpay-payment

Request Information

URI Parameters

None.

Body Parameters

PaymentConfirm
NameDescriptionTypeAdditional information
PaymentId

string

None.

RazorpayOrderId

string

None.

Signature

string

None.

CustomerId

string

None.

OrderId

string

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentId": "sample string 1",
  "RazorpayOrderId": "sample string 2",
  "Signature": "sample string 3",
  "CustomerId": "sample string 4",
  "OrderId": "sample string 5",
  "Amount": 6.0
}

application/xml, text/xml

Sample:
<PaymentConfirm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fonofy_api.Model">
  <Amount>6</Amount>
  <CustomerId>sample string 4</CustomerId>
  <OrderId>sample string 5</OrderId>
  <PaymentId>sample string 1</PaymentId>
  <RazorpayOrderId>sample string 2</RazorpayOrderId>
  <Signature>sample string 3</Signature>
</PaymentConfirm>

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 'PaymentConfirm'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.