Payments
Pre-Chargeback Alerts
Simulate a Pre-Chargeback Alert
Changed onSimulates an incoming pre-chargeback alert so you can test your webhook handler and alert-processing logic. This endpoint is only available for Sandbox Apps.
The merchantId must belong to a merchant that has already been enrolled in pre-chargeback alerts. All other fields are optional.
post/payments/pre-chargeback-alerts/simulate-alert
Request
- Base URLhttps://api.evervault.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"merchantId": "merchant_eead1d640d7c",
"status": "ACTION_REQUIRED",
"cardScheme": "MASTERCARD",
"amountInCents": 4999,
"currencyCode": "USD",
"transactionRefundOutcome": "REFUNDED",
"transactionAcquirerReferenceNumber": "74027012345678901234567",
"transactionAuthorizationCode": "ABC123",
"externalCustomerReference": "00-4bf92f3577b34da6a3ce929d3e0e4736-00f067aa0ba902b7-01"
}Response
Returns the simulated 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