POST api/Payment/updatePaymentStatus

Request Information

URI Parameters

None.

Body Parameters

PaymentResponse
NameDescriptionTypeAdditional information
RestaurantIDF

globally unique identifier

None.

PaymentGatewayIDF

globally unique identifier

None.

PaymentGatewaySettingIDF

globally unique identifier

None.

OrderID

globally unique identifier

None.

TransactionID

string

None.

ResponseCode

string

None.

ResponseMessage

string

None.

PaymentStatus

string

None.

PaymentGatewayNo

integer

None.

PaidAmount

decimal number

None.

ResponseData

string

None.

UserID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "RestaurantIDF": "6a4e3019-179f-43d6-a516-ae5689d36729",
  "PaymentGatewayIDF": "220444b7-2744-4bc5-8403-3c0b4b1b387b",
  "PaymentGatewaySettingIDF": "05c06023-9802-4f10-bf91-db79e9cc274d",
  "OrderID": "f335c32a-fd2e-4d79-bf05-0ec57e31e10f",
  "TransactionID": "sample string 4",
  "ResponseCode": "sample string 5",
  "ResponseMessage": "sample string 6",
  "PaymentStatus": "sample string 7",
  "PaymentGatewayNo": 8,
  "PaidAmount": 1.0,
  "ResponseData": "sample string 9",
  "UserID": "3b84a7e8-933b-457f-a7f9-f9578f2bc07f"
}

application/xml, text/xml

Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SQLClass">
  <OrderID>f335c32a-fd2e-4d79-bf05-0ec57e31e10f</OrderID>
  <PaidAmount>1</PaidAmount>
  <PaymentGatewayIDF>220444b7-2744-4bc5-8403-3c0b4b1b387b</PaymentGatewayIDF>
  <PaymentGatewayNo>8</PaymentGatewayNo>
  <PaymentGatewaySettingIDF>05c06023-9802-4f10-bf91-db79e9cc274d</PaymentGatewaySettingIDF>
  <PaymentStatus>sample string 7</PaymentStatus>
  <ResponseCode>sample string 5</ResponseCode>
  <ResponseData>sample string 9</ResponseData>
  <ResponseMessage>sample string 6</ResponseMessage>
  <RestaurantIDF>6a4e3019-179f-43d6-a516-ae5689d36729</RestaurantIDF>
  <TransactionID>sample string 4</TransactionID>
  <UserID>3b84a7e8-933b-457f-a7f9-f9578f2bc07f</UserID>
</PaymentResponse>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.