POST api/PaymentTransactions

Request Information

URI Parameters

None.

Body Parameters

Collection of AddTransaction
NameDescriptionTypeAdditional information
PayerKey

string

None.

PayeeKey

string

None.

ComponentKey

string

None.

OperationKey

string

None.

AmountDue

decimal number

None.

AmountPaid

decimal number

None.

Currency

string

None.

CurrencyId

integer

None.

Country

string

None.

CountryId

integer

None.

ExpirationDate

date

None.

TransactionAttributes

Collection of TransactionAttributeDataItem

None.

TransactionTypeKey

string

None.

ReferenceKey

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PayerKey": "sample string 1",
    "PayeeKey": "sample string 2",
    "ComponentKey": "sample string 3",
    "OperationKey": "sample string 4",
    "AmountDue": 5.0,
    "AmountPaid": 6.0,
    "Currency": "sample string 7",
    "CurrencyId": 8,
    "Country": "sample string 9",
    "CountryId": 10,
    "ExpirationDate": "2024-12-25T02:52:17.384382+02:00",
    "TransactionAttributes": [
      {
        "AttributeKey": "sample string 1",
        "AttributeValue": "sample string 2",
        "IsActive": true
      },
      {
        "AttributeKey": "sample string 1",
        "AttributeValue": "sample string 2",
        "IsActive": true
      }
    ],
    "TransactionTypeKey": "sample string 11",
    "ReferenceKey": "sample string 12"
  },
  {
    "PayerKey": "sample string 1",
    "PayeeKey": "sample string 2",
    "ComponentKey": "sample string 3",
    "OperationKey": "sample string 4",
    "AmountDue": 5.0,
    "AmountPaid": 6.0,
    "Currency": "sample string 7",
    "CurrencyId": 8,
    "Country": "sample string 9",
    "CountryId": 10,
    "ExpirationDate": "2024-12-25T02:52:17.384382+02:00",
    "TransactionAttributes": [
      {
        "AttributeKey": "sample string 1",
        "AttributeValue": "sample string 2",
        "IsActive": true
      },
      {
        "AttributeKey": "sample string 1",
        "AttributeValue": "sample string 2",
        "IsActive": true
      }
    ],
    "TransactionTypeKey": "sample string 11",
    "ReferenceKey": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAddTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Salesforce.Gateway.Model">
  <AddTransaction>
    <AmountDue>5</AmountDue>
    <AmountPaid>6</AmountPaid>
    <ComponentKey>sample string 3</ComponentKey>
    <Country>sample string 9</Country>
    <CountryId>10</CountryId>
    <Currency>sample string 7</Currency>
    <CurrencyId>8</CurrencyId>
    <ExpirationDate>2024-12-25T02:52:17.384382+02:00</ExpirationDate>
    <OperationKey>sample string 4</OperationKey>
    <PayeeKey>sample string 2</PayeeKey>
    <PayerKey>sample string 1</PayerKey>
    <ReferenceKey>sample string 12</ReferenceKey>
    <TransactionAttributes>
      <TransactionAttributeDataItem>
        <AttributeKey>sample string 1</AttributeKey>
        <AttributeValue>sample string 2</AttributeValue>
        <IsActive>true</IsActive>
      </TransactionAttributeDataItem>
      <TransactionAttributeDataItem>
        <AttributeKey>sample string 1</AttributeKey>
        <AttributeValue>sample string 2</AttributeValue>
        <IsActive>true</IsActive>
      </TransactionAttributeDataItem>
    </TransactionAttributes>
    <TransactionTypeKey>sample string 11</TransactionTypeKey>
  </AddTransaction>
  <AddTransaction>
    <AmountDue>5</AmountDue>
    <AmountPaid>6</AmountPaid>
    <ComponentKey>sample string 3</ComponentKey>
    <Country>sample string 9</Country>
    <CountryId>10</CountryId>
    <Currency>sample string 7</Currency>
    <CurrencyId>8</CurrencyId>
    <ExpirationDate>2024-12-25T02:52:17.384382+02:00</ExpirationDate>
    <OperationKey>sample string 4</OperationKey>
    <PayeeKey>sample string 2</PayeeKey>
    <PayerKey>sample string 1</PayerKey>
    <ReferenceKey>sample string 12</ReferenceKey>
    <TransactionAttributes>
      <TransactionAttributeDataItem>
        <AttributeKey>sample string 1</AttributeKey>
        <AttributeValue>sample string 2</AttributeValue>
        <IsActive>true</IsActive>
      </TransactionAttributeDataItem>
      <TransactionAttributeDataItem>
        <AttributeKey>sample string 1</AttributeKey>
        <AttributeValue>sample string 2</AttributeValue>
        <IsActive>true</IsActive>
      </TransactionAttributeDataItem>
    </TransactionAttributes>
    <TransactionTypeKey>sample string 11</TransactionTypeKey>
  </AddTransaction>
</ArrayOfAddTransaction>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.