if invoice refunded stripe code example
Example: stripe payment refund
{
"id": "re_1I65p52eZvKYlo2CrOr8b3iF",
"object": "refund",
"amount": 100,
"balance_transaction": null,
"charge": "ch_1I65p42eZvKYlo2Ch6Z0IPRW",
"created": 1609815783,
"currency": "usd",
"metadata": {},
"payment_intent": null,
"reason": null,
"receipt_number": null,
"source_transfer_reversal": null,
"status": "succeeded",
"transfer_reversal": null
}