When to use it: Use this webhook to update an existing transaction for a merchant account.
Note: To update the transaction status specifically, you must use the Sync Transaction Status webhook instead.
webhookType: UPDATE_TRANSACTION
Dynamic fields
If you would like to display any additional information related to a transaction, you can pass this information using dynamicFields field.
Request Body
{
"transactionNumber": "string", // Represents the unique identifier for the transaction (REQUIRED)
"payType": "string", // Represents the type of payment used in the transaction (REQUIRED). Enum: [ CARD, INBOUND_BANK_TRANSFER, OUTBOUND_BANK_TRANSFER, MANUAL, OUTBOUND_BANK_TRANSFER_DIRECT_DEBIT]
"baseCurrency": "string", // Represents the original currency in which the transaction was initiated
"baseTotal": "number (double)", // Represents the total in the original currency in which the transaction was initiated
"merchant": "string", // The name of the merchant or company associated with the transaction
"address": "string", // The address of client (merchant or company)
"creationDate": "string", // This is the date when transaction is initiated by the BaaS provider or system integrator.
"sourceAccount": {
"alias": "string", // Account alias,
"address": "string", // Account address
"address2": "string", // Additional address info
"city": "string", // City of the account
"postalCode": "string", // Postal code
"countryCode": "string" // Country code"
},
"destinationAccount": {
"alias": "string", // Account alias
"address": "string", // Account address
"address2": "string", // Additional address info
"city": "string", // City of the account
"postalCode": "string", // Postal code
"countryCode": "string" // Country code
},
"balance": "number (double)", // The account balance after the transaction
"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", // Identifies the payment type used for this transaction
"country": "string", // the country where the account related to the card was opened
"bankName": "string", // The name of banking provider card
"bankLogo": "string", // The logo of the banking provider as a url of a png image
"bankDescription": "string", // This is data associated with the transaction from the banking provider
"failureReason": "string", // This field represents the reason for failure of the transaction, if applicable
"dynamicFields": [
{
"label": {
"en": "string", // Label in English
"es": "string" // Label in Spanish
},
"valueId": "string", // Unique identifier for the dynamic field
"value": "string" // Value of the dynamic field
}
],
"transactionTitle": "string", // If provided, we use it as transaction title shown to the end user
"concept": "string", // This field represents the description of purpose
"fxRate": "number (double)", // Exchange rate for the transaction
"availableBalance": "number (double)", // This is used to show the available balance in looker
"actualBalance": "number (double)", // This is used to show the actual balance in looker
"reference": "string", // Reference related to this payment transaction
"beneficiaryCurrencyAmount": "number (double)" // The amount in the currency supported by the Beneficiary’s account
}