Update Transaction

When to use it: Use this webhook to update an existing transaction for a merchant account. Only transactions in a non-final state can be updated. Final states include: SETTLED, APPROVED, FAILED, and CANCELLED.

Note: To update the transaction status specifically, you must use the Sync Transaction Status webhook instead.

webhookType: UPDATE_TRANSACTION

Request Body

{
   "id":"string",
   "baseCurrency":"string",
   "beneficiaryCurrencyAmount":"number (double)",
   "baseTotal":"number (double)",
   "creationDate":"yyyy-MM-dd'T'HH:mm:ss.SSS'Z",
   "sourceAccount":{
      "address":"string",
      "city":"string",
      "postalCode":"string",
      "countryCode":"string"
   },
   "balance":"number (double)",
   "country":"string",
   "corePaymentType":"payment-type-Global-SWIFT | payment-type-UK-BACS | payment-type-EU-SEPA-Target2 | payment-type-UK-Chaps | payment-type-EU-SEPA-Step2 | payment-type-virtual-debit-card-debit | payment-type-inter-ledger | payment-type-UK-FasterPayments | payment-type-fx | payment-type-card | payment-type-card-reserve | payment-type-EU-SEPA-Instant | payment-type-AU-NPP | payment-type-EU-Target2 | payment-type-AU-DE | payment-type-US-ACH | payment-type-SG-FAST | payment-type-US-Wires | SPEI | AUS-PAY-NET | EFT | NCS | CERTIS | STRAKSCLEARING-Instant | INTRADAGCLEARING | CHATS | GIRO_ZRT | IMPS | NEFT | SKN | IBG | NORWEGIAN-INTERBANK-CLEARING-SYSTEM | PESONET | ELIXIR | TRANSFOND_SENT_ACH | FAST | INTERNAL-TRANSFER | RIX | FEDACH | FEDWIRE | CHIPS | SEPA | TARGET2 | DIRECT_DEBIT_OUTBOUND",
   "bankName":"string",
   "bankLogo":"string",
   "bankDescription":"string",
   "dynamicFields":[
      {
         "label":{
            "en":"string",
            "es":"string",
            "zh":"string"
         },
         "valueId":"string",
         "value":"string"
      }
   ],
   "transactionTitle":"string",
   "fxRate":"double",
   "reference":"string",
   "failureReason":"string",
   "destinationAccount":{
      "address":"string",
      "city":"string",
      "postalCode":"string",
      "countryCode":"string"
   },
   "concept":"string",
   "availableBalance":"number (double)",
   "actualBalance":"number (double)"
}