#srn-refunds

1 messages · Page 1 of 1 (latest)

red frost
red frost
#

pretty much yes. For some kinds of payment methods, it's possible to see a successful refund, then later it's refund status is updated to failed

#

ach debit is one of them, sepa debit and iDEAL too

#

it'll contain the same parameters which you would expect to see in a refund object

#

i don't think i've personally ever come across a case for card payment that first succeeds and then fails later

red frost
#

let me see if i can find one example charge.refund.updated to share with you, onesec

#
{
  "id": "evt_...",
  "object": "event",
  "api_version": "2020-03-02",
  "created": 1643673601,
  "data": {
    "object": {
      "id": "re_...",
      "object": "refund",
      "amount": 50000,
      "balance_transaction": "txn_...",
      "charge": "ch_...",
      "created": 1643132817,
      "currency": "usd",
      "metadata": {
      },
      "payment_intent": "pi_...",
      "reason": null,
      "receipt_number": null,
      "source_transfer_reversal": null,
      "status": "succeeded",
      "transfer_reversal": null
    },
    "previous_attributes": {
      "status": "pending"
    }
  },
  "livemode": true,
  "pending_webhooks": 1,
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "charge.refund.updated"
}