---
updatedAt: 2025-06-09T22:12:40.000Z
agentTools:
  projectIndex: https://developers.baremetrics.com/llms.txt
---

# List Refunds

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "production",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.baremetrics.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "APIKEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/{source_id}/refunds": {
      "get": {
        "summary": "List Refunds",
        "description": "",
        "operationId": "list-refunds",
        "parameters": [
          {
            "name": "source_id",
            "in": "path",
            "description": "Please see [Sources](ref:sources)",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"refunds\": [\n    {\n      \"oid\": \"your_unique_id\",\n      \"source_id\": \"source_id\",\n      \"source\": \"stripe\",\n      \"charge_oid\": \"charge_oid\",\n      \"created\": 1510789071,\n      \"customer\": {\n        \"oid\": \"customer_1\",\n        \"source_id\": \"source_id\",\n        \"source\": \"stripe\",\n        \"created\": 1445122336,\n        \"email\": \"customer_1@baremetrics.com\",\n        \"name\": \"Customer 1\",\n        \"display_image\": \"https://logo.clearbit.com/baremetrics.com\",\n        \"display_name\": \"Customer 1\",\n        \"notes\": null,\n        \"ltv\": 116148\n      },\n      \"amount\": 8700\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "refunds": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "oid": {
                            "type": "string",
                            "example": "your_unique_id"
                          },
                          "source_id": {
                            "type": "string",
                            "example": "source_id"
                          },
                          "source": {
                            "type": "string",
                            "example": "stripe"
                          },
                          "charge_oid": {
                            "type": "string",
                            "example": "charge_oid"
                          },
                          "created": {
                            "type": "integer",
                            "example": 1510789071,
                            "default": 0
                          },
                          "customer": {
                            "type": "object",
                            "properties": {
                              "oid": {
                                "type": "string",
                                "example": "customer_1"
                              },
                              "source_id": {
                                "type": "string",
                                "example": "source_id"
                              },
                              "source": {
                                "type": "string",
                                "example": "stripe"
                              },
                              "created": {
                                "type": "integer",
                                "example": 1445122336,
                                "default": 0
                              },
                              "email": {
                                "type": "string",
                                "example": "customer_1@baremetrics.com"
                              },
                              "name": {
                                "type": "string",
                                "example": "Customer 1"
                              },
                              "display_image": {
                                "type": "string",
                                "example": "https://logo.clearbit.com/baremetrics.com"
                              },
                              "display_name": {
                                "type": "string",
                                "example": "Customer 1"
                              },
                              "notes": {},
                              "ltv": {
                                "type": "integer",
                                "example": 116148,
                                "default": 0
                              }
                            }
                          },
                          "amount": {
                            "type": "integer",
                            "example": 8700,
                            "default": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```