EdgePay Developer Tools

When a transaction is declines due to invalid Address Verification (AVS) the transaction will trigger an Auto Refund event.

{
  "id": "8b690db2-5297-46c2-982a-211a1e206e01",
  "event_type": "auto_refund_succeeded",
  "timestamp": 1624483517836,
  "event_data": {
    "edgepay_card_transaction_merchant_id": "888000002826",
    "edgepay_card_transaction_terminal_id": "88800000282601",
    "edgepay_external_reference_id": "1234561624483513",
    "edgepay_generated_transaction_id": "CS48226832795025873",
    "edgepay_generated_transaction_ref_id": "CS61385110346162405",
    "edgepay_card_transaction_token_id": "5840938697279316",
    "edgepay_card_transaction_type": "REFUND",
    "edgepay_card_transaction_payment_data_input": "Manualentry",
    "edgepay_card_transaction_status": "AUTO-REFUNDED",
    "edgepay_card_transaction_response_code": "A0014",
    "edgepay_card_transaction_response_message": "Return requested, Void successful",
    "edgepay_card_transaction_masked_card_number": "401200******5439",
    "edgepay_card_transaction_date": "2021-06-23T21:25:16",
    "edgepay_card_transaction_requested_amount": "2.15",
    "edgepay_card_transaction_instrument_brand": "Visa",
    "edgepay_card_transaction_billing_zip": "55555",
    "edgepay_card_transaction_amount": 2.15,
    "edgepay_processor_transaction_id": "10372023"
  }
}