code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Refund.list(limit=3)
  '''Response {
    "object": "list",
    "url": "/v1/refunds",
    "has_more": false,
    "data": [
      {
        "id": "re_3LSd9N2eZvKYlo2C1xXmZeJl",
        "object": "refund",
        "amount": 100,
        "balance_transaction": null,
        "charge": "ch_3LSd9N2eZvKYlo2C1na6w0E5",
        "created": 1659516119,
        "currency": "usd",
        "metadata": {},
        "payment_intent": null,
        "reason": null,
        "receipt_number": null,
        "source_transfer_reversal": null,
        "status": "succeeded",
        "transfer_reversal": null
      },
      {...},
      {...}
    ]
  }'''
nl: List all refundsReturns a list of all refunds you’ve previously created. The refunds are returned in sorted order, with the most recent refunds appearing first. For convenience, the 10 most recent refunds are always available by default on the charge object.Parameters charge optional Only return refunds for the charge specified by this charge ID. payment_intent optional Only return refunds for the PaymentIntent specified by this ID.More parametersExpand all  created optional dictionary   ending_before optional   limit optional   starting_after optional ReturnsA dictionary with a data property that contains an array of up to limit refunds, starting after refund starting_after. Each entry in the array is a separate refund object. If no more refunds are available, the resulting array will be empty. If you provide a non-existent charge ID, this call raises an error