POST
Ethoca alert webhook
Use this webhook to receive Ethoca alert notifications and link each alert back to the original transaction through
ethocaId and transactionId.Webhook payload fields
idOnerway alert notification record ID, used to locate this alert notification record.
Constraints
- Rule
- This value is a large integer. JavaScript systems should preserve it as a string or 64-bit integer to avoid precision loss.
merchantNoMerchant number assigned by Onerway, identifying the merchant account receiving this alert.
Constraints
- Rule
- The notification can return this value as a JSON number. Normalize it as a string before storing or comparing it with other Onerway API values.
ethocaIdUnique Ethoca alert identifier. Submit this value when reporting the alert outcome.
alertTypeAlert type indicating whether this notification is a customer dispute alert, fraud alert, or chargeback alert.
Allowed values
CustomerDispute- Customer dispute alert.
FraudAlert- Fraud alert.
ChargebackAlert- Chargeback alert.
alertTimeAlert creation time in
yyyy-MM-dd HH:mm:ss format.alertAgeElapsed time between alert creation and this notification. Use it to assess alert age and handling priority.
Constraints
- Rule
- The unit is hours.
txnTimeOriginal transaction time in
yyyy-MM-dd HH:mm:ss format.txnAmountOriginal transaction amount.
txnCurrencyOriginal transaction currency, using a three-letter ISO 4217 currency code.
resellerSubMerchantIdAgency sub-merchant identifier.
billDescMerchant billing descriptor used to match the alert to merchant information shown on the cardholder statement.
arnAcquirer Reference Number (ARN), used for reconciliation, alert review, and dispute handling.
submitOutcomeStatusAlert outcome submission status. Do not treat this field as the final
outcome value.Allowed values
PENDING_OUTCOME- Pending outcome. The alert is still waiting for outcome submission.
OUTCOME_RECEIVED- Outcome received. The alert outcome has been accepted.
outcomeMerchant outcome for this alert.
Allowed values
stopped- Order stopped.
partially_stopped- Order partially stopped.
previously_cancelled- Transaction previously cancelled.
outcomeUpdatedTimeAlert outcome update time in
yyyy-MM-dd HH:mm:ss format.refundStatusRefund status corresponding to this alert outcome.
Allowed values
refunded- Refund completed.
not refunded- No refund was issued.
not settled- Refund is processing.
createOprRecord metadata: identifier of the account or system that created the alert record. Do not use this field to determine alert status or required business action.
createTimeAlert record creation time in Onerway in
yyyy-MM-dd HH:mm:ss format.updateOprRecord metadata: identifier of the account or system that most recently updated the alert record. Do not use this field to determine alert status or required business action.
updateTimeMost recent alert record update time in Onerway in
yyyy-MM-dd HH:mm:ss format.issuerIssuer identifier. The value format is returned by the alert network.
cardNumberCard number information associated with the alerted transaction.
Constraints
- Rule
- If the payload contains a full PAN, handle it according to PCI DSS requirements and avoid storing it in logs, support tickets, or ordinary databases.
ethocaMerchantIdEthoca merchant identifier, used in the Ethoca alert network to match merchants and billing descriptors.
mccMerchant Category Code (MCC), usually a four-digit code.
transactionTypeOriginal transaction type or transaction scenario.
Example:
eCommerceinitiatedByAlert initiator, usually a card network, issuer, or alert network identifier.
liabilityLiability marker related to the alert or dispute. Treat it as supporting information, not a replacement for reviewing
alertType, outcome, and refund status.authCodeAuthorization code of the original transaction, usually returned by the issuer or acquiring network after successful authorization.
integratorMemberIdIntegrator member ID identifying the integration relationship on the alert network side.
transactionIdOriginal Onerway transaction ID used to associate transaction query, refund, chargeback, and alert outcome records.
chargebackReasonCodeChargeback or dispute reason code provided by the card network or alert network.
chargebackAmountChargeback or dispute amount associated with the alert. It can be less than or equal to the original transaction amount.
chargebackCurrencyChargeback or dispute amount currency, using a three-letter ISO 4217 currency code.
{
"id": 1234567890,
"merchantNo": "replace_with_merchant_no",
"ethocaId": "replace_with_ethoca_id",
"alertType": "ChargebackAlert",
"alertTime": "2025-04-14 14:26:21",
"alertAge": 12,
"txnTime": "2025-04-13 09:15:00",
"txnAmount": 100,
"txnCurrency": "USD",
"resellerSubMerchantId": null,
"billDesc": "DEMO STORE",
"arn": "replace_with_acquirer_reference_number",
"submitOutcomeStatus": "PENDING_OUTCOME",
"outcome": null,
"outcomeUpdatedTime": null,
"refundStatus": null,
"createOpr": "SYSTEM",
"createTime": "2025-04-14 14:26:21",
"updateOpr": "SYSTEM",
"updateTime": "2025-04-14 14:26:21",
"issuer": "replace_with_issuer_identifier",
"cardNumber": "replace_with_card_number",
"ethocaMerchantId": "replace_with_ethoca_merchant_id",
"mcc": "5812",
"transactionType": "eCommerce",
"initiatedBy": "replace_with_alert_initiator",
"liability": "no",
"authCode": "replace_with_authorization_code",
"integratorMemberId": "replace_with_integrator_member_id",
"transactionId": "replace_with_transaction_id",
"chargebackReasonCode": "4837",
"chargebackAmount": 100,
"chargebackCurrency": "USD"
}Acknowledgement
Return HTTP 200 after the webhook is received and accepted.
No response body.