POST api/Payment

Request Information

URI Parameters

None.

Body Parameters

PaymentLogModel
NameDescriptionTypeAdditional information
UserID

integer

None.

ModalName

string

None.

Amount

decimal number

None.

MerchantOrderID

string

None.

PaymentLink

string

None.

RequestPayload

string

None.

ResponsePayload

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ModalName": "sample string 2",
  "Amount": 3.0,
  "MerchantOrderID": "sample string 4",
  "PaymentLink": "sample string 5",
  "RequestPayload": "sample string 6",
  "ResponsePayload": "sample string 7"
}

application/xml, text/xml

Sample:
<PaymentLogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiNamo.Models">
  <Amount>3</Amount>
  <MerchantOrderID>sample string 4</MerchantOrderID>
  <ModalName>sample string 2</ModalName>
  <PaymentLink>sample string 5</PaymentLink>
  <RequestPayload>sample string 6</RequestPayload>
  <ResponsePayload>sample string 7</ResponsePayload>
  <UserID>1</UserID>
</PaymentLogModel>

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.