Triggered when a payment refund is made.
{
"id": "ev_16BtA7xEw1vFMwnr",
"occurred_at": 1762406872,
"source": "admin_console",
"object": "event",
"api_version": "v2",
"event_type": "payment_refunded",
"webhook_status": "not_applicable",
"content": {
"transaction": {
"amount": 100,
"amount_unused": 0,
"currency_code": "USD",
"customer_id": "__test__KyVnHhSBWlwxY2qJ",
"date": 1600968329,
"...": "..."
},
"invoice": {
"adjustment_credit_notes": [],
"amount_adjusted": 0,
"amount_due": 0,
"amount_paid": 1000,
"amount_to_collect": 0,
"...": "..."
},
"credit_note": {
"allocations": [],
"amount_allocated": 0,
"amount_available": 500,
"amount_refunded": 0,
"base_currency_code": "USD",
"...": "..."
},
"customer": {
"allow_direct_debit": false,
"auto_collection": "on",
"billing_address": {
"city": "Walnut",
"country": "US",
"first_name": "John",
"last_name": "Doe",
"line1": "PO Box 9999",
"...": "..."
},
"card_status": "no_card",
"created_at": 1517505731,
"...": "..."
},
"subscription": {
"activated_at": 1612890938,
"billing_period": 1,
"billing_period_unit": "month",
"created_at": 1612890938,
"currency_code": "USD",
"...": "..."
},
"card": {
"card_type": "american_express",
"created_at": 1517486946,
"customer_id": "__test__XpbTXGTSRp3ELNCY",
"expiry_month": 12,
"expiry_year": 2022,
"...": "..."
}
}
}