POST api/Transaction/AddTransactionV2
Request Information
URI Parameters
None.
Body Parameters
AddTransactionModelName | Description | Type | Additional information |
---|---|---|---|
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:
{ "PayerKey": "sample string 1", "PayeeKey": "sample string 2", "ComponentKey": "sample string 3", "OperationKey": "sample string 4", "AmountDue": 5.0, "AmountPaid": 6.0, "CurrencyId": 7, "CountryId": 8, "ExpirationDate": "2025-01-09T05:52:08.8196034+02:00", "StatusKey": "sample string 9", "TransactionAttributes": [ { "AttributeKey": "sample string 1", "AttributeValue": "sample string 2", "IsActive": true }, { "AttributeKey": "sample string 1", "AttributeValue": "sample string 2", "IsActive": true } ], "TransactionTypeKey": "sample string 10", "TransactionKey": "sample string 11", "ReferenceKey": "sample string 12", "TransactionPurpose": "sample string 13", "DataSource": 1, "IsGenerateReferenceKey": true }
application/xml, text/xml
Sample:
<AddTransactionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models"> <AmountDue>5</AmountDue> <AmountPaid>6</AmountPaid> <ComponentKey>sample string 3</ComponentKey> <CountryId>8</CountryId> <CurrencyId>7</CurrencyId> <DataSource>Database</DataSource> <ExpirationDate>2025-01-09T05:52:08.8196034+02:00</ExpirationDate> <IsGenerateReferenceKey>true</IsGenerateReferenceKey> <OperationKey>sample string 4</OperationKey> <PayeeKey>sample string 2</PayeeKey> <PayerKey>sample string 1</PayerKey> <ReferenceKey>sample string 12</ReferenceKey> <StatusKey>sample string 9</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 11</TransactionKey> <TransactionPurpose>sample string 13</TransactionPurpose> <TransactionTypeKey>sample string 10</TransactionTypeKey> </AddTransactionModel>
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. |