Payments
Pre-Chargeback Alerts
Update a Pre-Chargeback Alert
Changed onUpdates an Ethoca alert after you have taken action with your PSP.
Both fields are optional: action notifies Ethoca of the action you took and is what prevents the chargeback from proceeding — omitting it means Ethoca is not notified. note is purely informational and is stored for your own records only; it is not sent to Ethoca.
Once actioned, the alert moves to RESOLVED status. Alerts that are already RESOLVED cannot be actioned again.
patch/payments/pre-chargeback-alerts/alerts/{alert_id}
Request
- Base URLhttps://api.evervault.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
alert_idstring required
Example:pre_chargeback_alert_eead1d640d7c
The unique identifier of the alert.
Request body
Example request
{
"action": "REFUND",
"note": "Refund issued via PSP before deadline",
"externalCustomerReference": "00-4bf92f3577b34da6a3ce929d3e0e4736-00f067aa0ba902b7-01"
}Response
Returns the updated Pre-Chargeback Alert object.
Example response
{
"id": "pre_chargeback_alert_eead1d640d7c",
"merchantId": "merchant_eead1d640d7c",
"alertType": "ETHOCA_ALERT",
"alertNetworkId": "1234567890",
"status": "ACTION_REQUIRED",
"chargebackReasonCode": "10.4",
"transactionAmountInCents": 4999,
"transactionCurrencyCode": "USD",
"transactionAuthorizedAt": "2025-02-10T10:30:00Z",
"actionRequiredDeadline": "2025-02-17T10:30:00Z",
"transactionAuthorizationCode": "ABC123",
"transactionAcquirerReferenceNumber": "74027012345678901234567",
"transactionStatementDescriptor": "EXAMPLE STORE",
"transactionCardBin": "424242",
"card": {
"bin": "424242",
"lastFour": "4242",
"brand": "VISA",
"issuer": "Example Bank"
},
"transactionRefundOutcome": null,
"transactionNetworkId": null,
"subscriptionCancelOutcome": null,
"note": "Customer requested immediate review",
"integrationId": null,
"integrationTransactionId": null,
"createdAt": "2025-02-11T10:30:00Z"
}Changes
- info
endpoint added
- info