POST api/Transaction/PayTransaction
Request Information
URI Parameters
None.
Body Parameters
PayTransactionModelName | Description | Type | Additional information |
---|---|---|---|
TransactionKey | string |
None. |
|
PaymentMethodKey | string |
None. |
|
RawData | string |
None. |
|
StatusKey | string |
None. |
|
PaymentStatusKey | string |
None. |
|
IsActive | boolean |
None. |
|
FortId | integer |
None. |
|
MerchantReference | string |
None. |
|
OperationKey | string |
None. |
|
DataSource | DataSources |
None. |
|
AmountDue | decimal number |
None. |
|
AmountPaid | decimal number |
None. |
|
ModifiedOn | date |
None. |
|
CurrencyId | integer |
None. |
|
CheckOldTransaction | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "TransactionKey": "sample string 1", "PaymentMethodKey": "sample string 2", "RawData": "sample string 3", "StatusKey": "sample string 4", "PaymentStatusKey": "sample string 5", "IsActive": true, "FortId": 7, "MerchantReference": "sample string 8", "OperationKey": "sample string 9", "DataSource": 1, "AmountDue": 11.0, "AmountPaid": 12.0, "ModifiedOn": "2025-01-09T06:04:55.6815831+02:00", "CurrencyId": 1, "CheckOldTransaction": true }
application/xml, text/xml
Sample:
<PayTransactionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models"> <AmountDue>11</AmountDue> <AmountPaid>12</AmountPaid> <CheckOldTransaction>true</CheckOldTransaction> <CurrencyId>1</CurrencyId> <DataSource>Database</DataSource> <FortId>7</FortId> <IsActive>true</IsActive> <MerchantReference>sample string 8</MerchantReference> <ModifiedOn>2025-01-09T06:04:55.6815831+02:00</ModifiedOn> <OldTransaction> <AccountKey>sample string 10</AccountKey> <AmountDue>7</AmountDue> <AmountPaid>8</AmountPaid> <ComponentKey>sample string 4</ComponentKey> <CountryId>13</CountryId> <CreatedOn>2025-01-09T06:04:55.6815831+02:00</CreatedOn> <Currency> <DecimalPoint>1</DecimalPoint> <Name>sample string 1</Name> </Currency> <CurrencyId>9</CurrencyId> <ExpirationDate>2025-01-09T06:04:55.6815831+02:00</ExpirationDate> <ModifiedOn>2025-01-09T06:04:55.6815831+02:00</ModifiedOn> <OperationKey>sample string 2</OperationKey> <PayeeKey>sample string 12</PayeeKey> <PayerKey>sample string 11</PayerKey> <ReferenceKey>sample string 3</ReferenceKey> <Status>sample string 6</Status> <StatusId>1</StatusId> <StatusKey>sample string 5</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 1</TransactionKey> <TransactionPurpose>sample string 16</TransactionPurpose> </OldTransaction> <OperationKey>sample string 9</OperationKey> <PaymentKey>sample string 10</PaymentKey> <PaymentMethodKey>sample string 2</PaymentMethodKey> <PaymentStatusKey>sample string 5</PaymentStatusKey> <RawData>sample string 3</RawData> <StatusKey>sample string 4</StatusKey> <TransactionKey>sample string 1</TransactionKey> </PayTransactionModel>
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. |