Skip to content
API DocsDocs

Webhook Callback Overview

Handle async notifications and transaction lifecycle events

2 min readUpdated Mar 26, 2026

After a transaction is processed, Exirom sends a webhook callback to the callbackUrl you specified in the request — an HTTP POST containing the final transaction state. Listen for these callbacks to update records and trigger post-payment actions such as order fulfillment or customer notification.

Webhook Lifecycle

#Callback Payload Fields

FieldTypeDescription
transactionIdStringUnique identifier of the transaction (same as returned in the initial response).
requestIdStringThe original request ID provided when the transaction was initiated.
midStringMerchant ID that the transaction is associated with.
transactionStatusStringFinal status of the transaction (e.g., SUCCEED, FAILED, PENDING, REFUNDED).
declineCodeIntegerDecline code if the transaction failed (provides reason for failure), otherwise null for successful transactions.
cardMaskStringMasked card number used (e.g., "4111********1111").
cardHolderStringCardholder name (if available).
orderCurrencyStringCurrency of the original order (from the request).
processedCurrencyStringCurrency in which the transaction was processed (may differ if conversion happened).
orderAmountDoubleThe amount requested in the original order currency.
processedAmountDoubleThe amount that was actually processed in the processed currency.
conversionRateDoubleThe conversion rate applied if currency conversion occurred (otherwise 1.0).
callbackUrlStringThe URL on your server that received this callback (echoed back for reference).
billingDetailsObjectA subset of billing details (e.g., name, country, email) associated with the transaction.
orderObjectA subset of order details (e.g., orderId, title) associated with the transaction.
createdAtStringTimestamp when the transaction was created (ISO 8601 format).

Upon receiving a SUCCEED callback, fulfill the order. If FAILED, notify the customer or prompt a retry with a different payment method.

#Next Steps

Was this helpful?