---
updatedAt: 2025-06-10T00:30:44.000Z
agentTools:
  projectIndex: https://docs.eukapay.com/llms.txt
---

# Get Refunds

Get many refunds

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "eukapay-production-environment-integration-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.eukapay.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "x-default": "<your_api_token>"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/refunds": {
      "get": {
        "summary": "Get Refunds",
        "description": "Get many refunds",
        "operationId": "get-refunds",
        "parameters": [
          {
            "name": "starting_after",
            "in": "query",
            "description": "Refund code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ending_before",
            "in": "query",
            "description": "Refund code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of records to return - Max is 100.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": [\n    {\n      \"code\": \"rfd_xcpAMqYgYMtvDmoDnEZ8ts6wDW\",\n      \"refundUrl\": \"https://app.eukapay.com/refund/rfd_xcpAMqYgYMtvDmoDnEZ8ts6wDW\",\n      \"email\": \"test1@example.coms\",\n      \"receiverAddress\": \"\",\n      \"status\": \"Created\",\n      \"type\": \"Full\",\n      \"expiredAt\": \"2024-03-10T13:55:02.102Z\",\n      \"createdAt\": \"2024-03-08T13:55:02.105Z\",\n      \"invoice\": {\n        \"code\": \"inv_qg96x6e8ddnimwaf7satgvtoty\",\n        \"price\": 18.34,\n        \"number\": \"9AC7103E-2\",\n        \"message\": \"sample message\",\n        \"issueDate\": \"2022-06-02\",\n        \"dueDate\": \"3573-11-05\",\n        \"status\": \"Paid\",\n        \"redirectUri\": \"\",\n        \"shipping\": 0,\n        \"discount\": 0,\n        \"tax\": 0,\n        \"createdAt\": \"2024-03-08T11:46:03.892Z\",\n        \"updatedAt\": \"2024-03-08T11:46:04.000Z\",\n        \"payments\": [\n          {\n            \"code\": \"pym_ebwmcei7rq4pokwhik2ngxmv6q\",\n            \"total\": 18.34,\n            \"createdAt\": \"2024-03-08T11:46:04.109Z\"\n          }\n        ]\n      }\n    }\n  ],\n  \"has_more\": false\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "example": "rfd_xcpAMqYgYMtvDmoDnEZ8ts6wDW"
                          },
                          "refundUrl": {
                            "type": "string",
                            "example": "https://app.eukapay.com/refund/rfd_xcpAMqYgYMtvDmoDnEZ8ts6wDW"
                          },
                          "email": {
                            "type": "string",
                            "example": "test1@example.coms"
                          },
                          "receiverAddress": {
                            "type": "string",
                            "example": ""
                          },
                          "status": {
                            "type": "string",
                            "example": "Created",
                            "enum": [
                              "Created",
                              "Pending",
                              "Success",
                              "Fail",
                              "Unknown"
                            ],
                            "description": "The refund request status."
                          },
                          "type": {
                            "type": "string",
                            "example": "Full",
                            "enum": [
                              "Full",
                              "Partial"
                            ],
                            "description": "Whether the refund is Full or Partial."
                          },
                          "expiredAt": {
                            "type": "string",
                            "example": "2024-03-10T13:55:02.102Z"
                          },
                          "createdAt": {
                            "type": "string",
                            "example": "2024-03-08T13:55:02.105Z"
                          },
                          "invoice": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "example": "inv_qg96x6e8ddnimwaf7satgvtoty"
                              },
                              "price": {
                                "type": "number",
                                "example": 18.34,
                                "default": 0
                              },
                              "number": {
                                "type": "string",
                                "example": "9AC7103E-2"
                              },
                              "message": {
                                "type": "string",
                                "example": "sample message"
                              },
                              "issueDate": {
                                "type": "string",
                                "example": "2022-06-02"
                              },
                              "dueDate": {
                                "type": "string",
                                "example": "3573-11-05"
                              },
                              "status": {
                                "type": "string",
                                "example": "Paid"
                              },
                              "redirectUri": {
                                "type": "string",
                                "example": ""
                              },
                              "shipping": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "discount": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "tax": {
                                "type": "integer",
                                "example": 0,
                                "default": 0
                              },
                              "createdAt": {
                                "type": "string",
                                "example": "2024-03-08T11:46:03.892Z"
                              },
                              "updatedAt": {
                                "type": "string",
                                "example": "2024-03-08T11:46:04.000Z"
                              },
                              "payments": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "code": {
                                      "type": "string",
                                      "example": "pym_ebwmcei7rq4pokwhik2ngxmv6q"
                                    },
                                    "total": {
                                      "type": "number",
                                      "example": 18.34,
                                      "default": 0
                                    },
                                    "createdAt": {
                                      "type": "string",
                                      "example": "2024-03-08T11:46:04.109Z"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "has_more": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"statusCode\": 500,\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```