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 URL
Developers → Webhooks → Pre-disputes (for resellers) → Ethoca
Verification
Verification guideHeader-signed
- Signature header
- x-signature
Webhook payload fields
x-signatureRecommended signature for verifying this notification. Contains one or more comma-separated
v1=<signature> values.X-Rh-SignatureCompatibility signature header for existing integrations. We recommend
x-signature for new integrations.x-timestampNotification send time as a Unix timestamp in seconds. Excluded from the signature.
signNotification signature included in the body. Verify the
x-signature header. Exclude sign itself when calculating the signature.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.
liabilityParty liable for the transaction:
yes means the issuer is liable; no means the merchant is liable; not_available means the value was not provided.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 provided in the Ethoca alert, in
chargebackCurrency.chargebackCurrencyCurrency of the chargeback or dispute amount provided in the Ethoca alert, 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",
"sign": "replace_with_sha256_signature"
}Acknowledgement
After verifying the signature and accepting the notification, return HTTP 200 with a plain-text body containing exactly
20000, without quotes, whitespace, or a trailing newline. If delivery fails or the response body does not match, Onerway makes up to 6 application-level attempts in total, including the first attempt, with waits of 5, 10, 20, 40, and 60 seconds between attempts. Transport-level retries for I/O errors are counted separately; these limits do not specify a fixed total number of HTTP requests.20000