POST api/Payment/AddPayment

Request Information

URI Parameters

None.

Body Parameters

AddPaymentModel
NameDescriptionTypeAdditional information
TransactionKey

string

None.

PaymentMethodKey

string

None.

Amount

decimal number

None.

RawData

string

None.

StatusKey

string

None.

FortId

integer

None.

MerchantReference

string

None.

DataSource

DataSources

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionKey": "sample string 1",
  "PaymentMethodKey": "sample string 2",
  "Amount": 3.0,
  "RawData": "sample string 4",
  "StatusKey": "sample string 5",
  "FortId": 6,
  "MerchantReference": "sample string 7",
  "DataSource": 1
}

application/xml, text/xml

Sample:
<AddPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models">
  <Amount>3</Amount>
  <DataSource>Database</DataSource>
  <FortId>6</FortId>
  <MerchantReference>sample string 7</MerchantReference>
  <PaymentKey>sample string 8</PaymentKey>
  <PaymentMethodKey>sample string 2</PaymentMethodKey>
  <RawData>sample string 4</RawData>
  <StatusKey>sample string 5</StatusKey>
  <TransactionKey>sample string 1</TransactionKey>
</AddPaymentModel>

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.