POST api/Transaction/AddTransactionAndPayment
Request Information
URI Parameters
None.
Body Parameters
AddTransactionAndPaymentModelName | Description | Type | Additional information |
---|---|---|---|
PaymentMethodKey | string |
None. |
|
RawData | string |
None. |
|
PaymentKey | string |
None. |
|
FortId | integer |
None. |
|
MerchantReference | string |
None. |
|
PayerKey | string |
None. |
|
PayeeKey | string |
None. |
|
ComponentKey | string |
None. |
|
OperationKey | string |
None. |
|
AmountDue | decimal number |
None. |
|
AmountPaid | decimal number |
None. |
|
CurrencyId | integer |
None. |
|
CountryId | integer |
None. |
|
ExpirationDate | date |
None. |
|
StatusKey | string |
None. |
|
TransactionAttributes | Collection of TransactionAttributeDataItemModel |
None. |
|
TransactionTypeKey | string |
None. |
|
TransactionKey | string |
None. |
|
ReferenceKey | string |
None. |
|
TransactionPurpose | string |
None. |
|
DataSource | DataSources |
None. |
|
IsGenerateReferenceKey | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PaymentMethodKey": "sample string 1", "RawData": "sample string 2", "PaymentKey": "sample string 3", "FortId": 4, "MerchantReference": "sample string 5", "PayerKey": "sample string 6", "PayeeKey": "sample string 7", "ComponentKey": "sample string 8", "OperationKey": "sample string 9", "AmountDue": 10.0, "AmountPaid": 11.0, "CurrencyId": 12, "CountryId": 13, "ExpirationDate": "2025-01-09T06:01:43.7870987+02:00", "StatusKey": "sample string 14", "TransactionAttributes": [ { "AttributeKey": "sample string 1", "AttributeValue": "sample string 2", "IsActive": true }, { "AttributeKey": "sample string 1", "AttributeValue": "sample string 2", "IsActive": true } ], "TransactionTypeKey": "sample string 15", "TransactionKey": "sample string 16", "ReferenceKey": "sample string 17", "TransactionPurpose": "sample string 18", "DataSource": 1, "IsGenerateReferenceKey": true }
application/xml, text/xml
Sample:
<AddTransactionAndPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models"> <AmountDue>10</AmountDue> <AmountPaid>11</AmountPaid> <ComponentKey>sample string 8</ComponentKey> <CountryId>13</CountryId> <CurrencyId>12</CurrencyId> <DataSource>Database</DataSource> <ExpirationDate>2025-01-09T06:01:43.7870987+02:00</ExpirationDate> <IsGenerateReferenceKey>true</IsGenerateReferenceKey> <OperationKey>sample string 9</OperationKey> <PayeeKey>sample string 7</PayeeKey> <PayerKey>sample string 6</PayerKey> <ReferenceKey>sample string 17</ReferenceKey> <StatusKey>sample string 14</StatusKey> <TransactionAttributes> <TransactionAttributeDataItemModel> <AttributeKey>sample string 1</AttributeKey> <AttributeValue>sample string 2</AttributeValue> <IsActive>true</IsActive> </TransactionAttributeDataItemModel> <TransactionAttributeDataItemModel> <AttributeKey>sample string 1</AttributeKey> <AttributeValue>sample string 2</AttributeValue> <IsActive>true</IsActive> </TransactionAttributeDataItemModel> </TransactionAttributes> <TransactionKey>sample string 16</TransactionKey> <TransactionPurpose>sample string 18</TransactionPurpose> <TransactionTypeKey>sample string 15</TransactionTypeKey> <FortId>4</FortId> <MerchantReference>sample string 5</MerchantReference> <PaymentKey>sample string 3</PaymentKey> <PaymentMethodKey>sample string 1</PaymentMethodKey> <RawData>sample string 2</RawData> </AddTransactionAndPaymentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |