Adjustment

Use Update transaction to send updated values of commissions and fees of the original transaction with the Update transaction request. With the Update transaction request it is also possible to change a number of other original transaction parameters. When creating an Update transaction, the system does not update the transaction itself, but specific transaction parameters by the updated values passed with Update transaction request packet.

Original transaction is determined by the Update transaction using the following original transaction parameters: transactionIdsubAccountIdaccountId.

Update transaction cannot be processed on another Update transaction.
Update transaction packet must include originalTransaction object.
 
Parameters that cannot be updated are marked appropriately in the Request Parameters table.

Request Parameters

 NameTypeRequiredDescription
 accountIdintegerPlatform Account identifier.
Muset be greater than 0.
Disabled for updating by the Update transaction.
 amountdecimalTransaction amount.
Value ≥ 0 (2 decimal places)
Amount=0 can be passed with Update transaction type.
 billingAddressobjectoptionalUser Billing Address data object.
 billingOverrideobjectoptionalData object that contains an array of billingFee objects.
 currencyenumCurrencyTypeId.
Disabled for updating by the Update transaction.
Available Values:
 
CurrencyId
USD1
EUR2
CAD6
GBP4
AUD5
SGD11
JPY23
NZD32
ILS8
 merchantDataobjectoptionalMerchant Data data object.
 subAccountIdintegerSub-Account identifier.
Value ≥ 0
Disabled for updating by the Update transaction.
 terminalIdstringoptionalTerminal identifier.
MaxLength(20)
 typeenumtransactionTypeId.
Disabled for updating by the Update transaction.
Available Values:
 
Update
 chargebackobjectconditionalAdditional chargeback parameters.
Null if transaction “type“ ≠ “Chargeback” and “Update“
conditional if transaction “type“ = “Chargeback” or “Update“
 originalTransactionobjectOriginal Transaction data object.
Disabled for updating by the Update transaction.
				
					//Update request example

{
  "accountId": "Platform Account Id",
  "subAccountId": "Sub-Account Id",
  "amount": 10,
  "currency": "USD",
  "type": "Update",
  "originalTransaction": {
    "transactionId": "Transaction Id",
    "transactionType": "System"
  },
  "billingOverride": [
    {
      "fixedAmount": "feeFixedAmount",
      "id": "objectId",
      "percentageAmount": "feePercentageAmount",
      "sourceId": "feeSourceIdentifier",
      "sourceType": "BillingAccountId",
      "targetId": "feeTargetIdentifier",
      "targetType": "BillingAccountId",
      "reverse": "true",
      "billingAmount": "billingAmountValue"
    }
  ],
  "terminalId": "string",
  "transactionMethod": "RegularTransaction",
  "billingAddress": {
    "addressLine": "Address",
    "city": "City Name",
    "country": "USA",
    "email": "email@mail.com",
    "phoneNumber": "12346879",
    "state": "FL",
    "zipPostalCode": "123465798"
  },
  "merchantData": {
    "freeText": "string",
    "transactionDate": "dateTime",
    "transactionDescription": "string",
    "transactionId": "string"
  }
}