POST api/Knet

Request Information

URI Parameters

None.

Body Parameters

KnetModel
NameDescriptionTypeAdditional information
PaymentId

string

None.

ResourcePath

string

None.

KeystorePath

string

None.

AliasName

string

None.

Action

string

None.

Currency

string

None.

Language

string

None.

RecieptURL

string

None.

Amount

string

None.

ErrorURL

string

None.

Udf1

string

None.

Udf2

string

None.

Udf3

string

None.

Udf4

string

None.

Udf5

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentId": "sample string 1",
  "ResourcePath": "sample string 2",
  "KeystorePath": "sample string 3",
  "AliasName": "sample string 4",
  "Action": "sample string 5",
  "Currency": "sample string 6",
  "Language": "sample string 7",
  "RecieptURL": "sample string 8",
  "Amount": "sample string 9",
  "ErrorURL": "sample string 10",
  "Udf1": "sample string 11",
  "Udf2": "sample string 12",
  "Udf3": "sample string 13",
  "Udf4": "sample string 14",
  "Udf5": "sample string 15"
}

application/xml, text/xml

Sample:
<KnetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiKNET.Models">
  <Action>sample string 5</Action>
  <AliasName>sample string 4</AliasName>
  <Amount>sample string 9</Amount>
  <Currency>sample string 6</Currency>
  <ErrorURL>sample string 10</ErrorURL>
  <KeystorePath>sample string 3</KeystorePath>
  <Language>sample string 7</Language>
  <PaymentId>sample string 1</PaymentId>
  <RecieptURL>sample string 8</RecieptURL>
  <ResourcePath>sample string 2</ResourcePath>
  <Udf1>sample string 11</Udf1>
  <Udf2>sample string 12</Udf2>
  <Udf3>sample string 13</Udf3>
  <Udf4>sample string 14</Udf4>
  <Udf5>sample string 15</Udf5>
</KnetModel>

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.