---
updatedAt: 2026-04-20T20:32:06.000Z
agentTools:
  projectIndex: https://docs.zeptopayments.com/llms.txt
---

# list refunds

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Zepto PayTo API",
    "version": "20260901",
    "description": "Documentation for the Zepto PayTo API.",
    "termsOfService": "https://www.zepto.com.au/customer-terms",
    "contact": {
      "email": "support@zepto.com.au"
    }
  },
  "tags": [
    {
      "name": "Refunds (Beta)",
      "description": "Refund existing settled PayTo Payments\n\n## Beta Release\n\nWe're excited to announce that this feature is now in beta! While we'll aim to minimize breaking changes,\nsome adjustments may occur as we refine it. Rest assured, we'll notify you of any major changes in advance.\nAccess is limited to selected merchants who applied. Your feedback is crucial in helping us improve and stabilize\nthe feature so please share your experiences!\n"
    }
  ],
  "externalDocs": {
    "description": "Zepto API v1.0",
    "url": "https://docs.zeptopayments.com"
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/payto/refunds": {
      "get": {
        "summary": "list refunds",
        "parameters": [
          {
            "name": "per_page",
            "description": "Number of results per page",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 20,
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "starting_after",
            "description": "Opaque pagination cursor value. Set by following \"next\" links.",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "min_created_date",
            "description": "Filter by minimum created_at date. ISO8601 format.",
            "example": "2022-01-01",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "max_created_date",
            "description": "Filter by maximum created_at date. ISO8601 format.",
            "example": "2022-01-31",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "original_payment_uid",
            "description": "Filter refunds by original payment uid.",
            "example": "biz_payment_000123",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "tags": [
          "Refunds (Beta)"
        ],
        "responses": {
          "200": {
            "description": "successful",
            "content": {
              "application/json": {
                "examples": {
                  "Successful request": {
                    "summary": "Successful request",
                    "value": {
                      "links": {},
                      "data": [
                        {
                          "uid": "refund-uid-4",
                          "original_payment_uid": "biz_payment_000123",
                          "refund_payment": {
                            "type": "float_bank_payment",
                            "float_bank_account_id": "my_identifier",
                            "amount": 12345,
                            "description": null
                          },
                          "state": "created",
                          "failure": null,
                          "created_at": "2022-02-03T00:00:00+11:00",
                          "metadata": {
                            "custom_key": "custom_value"
                          },
                          "links": {
                            "self": "https://api.zeptopayments.com/payto/refunds/refund-uid-4",
                            "original_payment": "https://api.zeptopayments.com/payto/payments/biz_payment_000123"
                          }
                        },
                        {
                          "uid": "refund-uid-3",
                          "original_payment_uid": "biz_payment_000123",
                          "refund_payment": {
                            "type": "float_bank_payment",
                            "float_bank_account_id": "my_identifier",
                            "amount": 12345,
                            "description": null
                          },
                          "state": "created",
                          "failure": null,
                          "created_at": "2022-02-02T00:00:00+11:00",
                          "metadata": {
                            "custom_key": "custom_value"
                          },
                          "links": {
                            "self": "https://api.zeptopayments.com/payto/refunds/refund-uid-3",
                            "original_payment": "https://api.zeptopayments.com/payto/payments/biz_payment_000123"
                          }
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "links": {
                      "$ref": "#/components/schemas/payto.pagination_links"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/payto.refund"
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "examples": {
                  "Non integer per_page": {
                    "summary": "Non integer per_page",
                    "value": {
                      "errors": [
                        {
                          "code": "ZPPGN00",
                          "title": "One or more paramaters are invalid",
                          "detail": "The `per_page` param is not valid."
                        }
                      ]
                    }
                  },
                  "No record with ID matching starting_after param": {
                    "summary": "No record with ID matching starting_after param",
                    "value": {
                      "errors": [
                        {
                          "code": "ZPPGN00",
                          "title": "One or more paramaters are invalid",
                          "detail": "Could not find a record for the given `starting_after` param."
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/payto.unprocessable_pagination_errors"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ZeptoAPIVersion"
        }
      ]
    }
  },
  "servers": [
    {
      "description": "Zepto Sandbox",
      "url": "https://api.sandbox.zeptopayments.com"
    },
    {
      "description": "Zepto Production",
      "url": "https://api.zeptopayments.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "parameters": {
      "ZeptoAPIVersion": {
        "name": "Zepto-API-Version",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "pattern": "^\\d{8}$",
          "default": "20250101",
          "example": "20260901"
        },
        "description": "API version in YYYYMMDD format. Defaults to 20250101 (legacy) when omitted."
      }
    },
    "schemas": {
      "payto.amount": {
        "type": "integer",
        "description": "Amount in cents.",
        "example": 2495,
        "minimum": 1,
        "maximum": 1000000000
      },
      "payto.metadata": {
        "type": "object",
        "nullable": true,
        "description": "Use for your custom data. A place to store any miscellaneous information your system may need in regards to the record you are creating. This will be included in associated webhook payloads under the `resource_metadata` key. Nested values (i.e., objects and arrays) are not allowed. The maximum size of this parameter is 2kb.",
        "example": {
          "custom_key": "custom_value"
        }
      },
      "payto.pagination_links": {
        "type": "object",
        "properties": {
          "next": {
            "type": "string",
            "description": "URL for next page of results. Won't be present if there are no further pages."
          }
        }
      },
      "payto.refund.float_bank_payment": {
        "type": "object",
        "required": [
          "type",
          "float_bank_account_id",
          "amount",
          "description"
        ],
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "float_bank_payment",
              "pay_to_payment"
            ],
            "description": "The type of payment that should be used to facilitate this refund"
          },
          "float_bank_account_id": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the float account that should be debited to facilitate this payment"
          },
          "amount": {
            "$ref": "#/components/schemas/payto.amount"
          },
          "description": {
            "type": "string",
            "description": "**MUST start with the word `REFUND`.** Free-form text for the matching/reconciliation of a transaction. This can be shown on both parties' bank statements. ASCII-printable characters and unicode emojis are accepted.",
            "example": "REFUND: 1 of 6 for Zeptinghouse Smart Fridge 300L",
            "pattern": "^REFUND[ -~\\p{Emoji}]+$",
            "minLength": 1,
            "maxLength": 280,
            "nullable": true
          }
        }
      },
      "payto.refund.pay_to_payment": {
        "type": "object",
        "required": [
          "type",
          "agreement_uid",
          "amount"
        ],
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "float_bank_payment",
              "pay_to_payment"
            ],
            "description": "The type of payment that should be used to facilitate this refund"
          },
          "agreement_uid": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~.-]{1,64}$",
            "description": "The uid related to the mandate that should be used to facilitate this refund, maximum 64 characters containing only unreserved characters as defined in RFC3986.",
            "example": "biz_20221231_G7MQWwkQZIP8vbfH",
            "minLength": 1,
            "maxLength": 64
          },
          "uid": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~.-]{1,64}$",
            "description": "Optional supplied unique identifier for payto payment that will be made to complete this refund, maximum 64 characters containing only unreserved characters as defined in RFC3986. This identifier ensures payment uniqueness between integrator systems and Zepto. If no uid is provided here, the payto payment that will be made to complete this refund will inherit the uid of this refund as supplied in the `uid` paramater in the top level request object.",
            "example": "biz_20221231_G7MQWwkQZIP8vbfH",
            "minLength": 1,
            "maxLength": 64
          },
          "amount": {
            "$ref": "#/components/schemas/payto.amount"
          },
          "description": {
            "type": "string",
            "description": "Free-form text for the matching/reconciliation of a transaction. This can be shown on both parties' bank statements. ASCII-printable characters and unicode emojis are accepted.",
            "example": "Refund 1 of 6 for Zeptinghouse Smart Fridge 300L",
            "pattern": "^[ -~\\p{Emoji}]+$",
            "minLength": 1,
            "maxLength": 280,
            "nullable": true
          }
        }
      },
      "payto.refund": {
        "type": "object",
        "required": [
          "uid",
          "original_payment_uid",
          "state",
          "refund_payment",
          "failure",
          "created_at",
          "links"
        ],
        "additionalProperties": false,
        "properties": {
          "uid": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~.-]{1,64}$",
            "description": "Supplied unique identifier for refund, maximum 64 characters containing only unreserved characters as defined in RFC3986. This identifier ensures refund uniqueness between integrator systems and Zepto.",
            "example": "biz_refund_20221231_G7MQWwkQZIP8vbfH",
            "minLength": 1,
            "maxLength": 64
          },
          "state": {
            "type": "string",
            "description": "The current state of the refund",
            "enum": [
              "created",
              "processing",
              "processed",
              "failed"
            ]
          },
          "original_payment_uid": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[A-Za-z0-9\\-._~]+$",
            "description": "The supplied UID related to the PayTo Payment to be refunded",
            "example": "Payment_00012345"
          },
          "refund_payment": {
            "type": "object",
            "anyOf": [
              {
                "$ref": "#/components/schemas/payto.refund.float_bank_payment"
              },
              {
                "$ref": "#/components/schemas/payto.refund.pay_to_payment"
              }
            ],
            "discriminator": {
              "propertyName": "type",
              "mapping": {
                "float_bank_payment": "#/components/schemas/payto.refund.float_bank_payment",
                "pay_to_payment": "#/components/schemas/payto.refund.pay_to_payment"
              }
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "metadata": {
            "$ref": "#/components/schemas/payto.metadata"
          },
          "failure": {
            "$ref": "#/components/schemas/payto.refund_failure"
          },
          "links": {
            "type": "object",
            "required": [
              "self",
              "original_payment"
            ],
            "properties": {
              "self": {
                "type": "string",
                "description": "A URL to this refund",
                "example": "https://api.zeptopayments.com/payto/refunds/biz_refund_G7MQWwkQZIP8vbfH",
                "nullable": false
              },
              "original_payment": {
                "type": "string",
                "description": "A URL to the associated original payment",
                "example": "https://api.zeptopayments.com/payto/payments/biz_payment_G7MQWwkQZIP8vbfH",
                "nullable": false
              }
            },
            "additionalProperties": false
          }
        }
      },
      "payto.refund_failure": {
        "type": "object",
        "description": "Details about the refund failure, when the state is 'failed'",
        "required": [
          "title",
          "detail",
          "code"
        ],
        "nullable": true,
        "properties": {
          "title": {
            "type": "string",
            "description": "A short description of the failure",
            "example": "The provided fund source has insufficient funds"
          },
          "detail": {
            "type": "string",
            "description": "A longer description of the failure",
            "example": "The provided fund source has insufficient funds to process this refund"
          },
          "code": {
            "type": "string",
            "description": "A unique identifier for this specific type of failure",
            "example": "ZPREF07",
            "enum": [
              "ZPPAY00",
              "ZPREF07",
              "AC02",
              "AC03",
              "AC05",
              "AC06",
              "AC07",
              "AC14",
              "AG01",
              "AG03",
              "AGNT",
              "AM01",
              "AM02",
              "AM03",
              "AM06",
              "AM12",
              "AM19",
              "BE06",
              "BE08",
              "BE22",
              "CH20",
              "CH21",
              "DT02",
              "ED06",
              "FF04",
              "FF08",
              "FF10",
              "FF11",
              "TD03",
              "AB01",
              "AB02",
              "ZPPAY24",
              "AB03",
              "AB04",
              "AB08",
              "AC13",
              "AC15",
              "AG07",
              "AM04",
              "AM09",
              "AM21",
              "BE05",
              "CURR",
              "CUST",
              "DT04",
              "ED05",
              "FRAD",
              "MD01",
              "MD02",
              "MD20",
              "MS02",
              "MS03",
              "NARR",
              "NAUT",
              "RR02",
              "RR03",
              "RR04",
              "RC05",
              "SL01",
              "SL11",
              "SL12",
              "SL13",
              "SL14",
              "TM01",
              "AVED",
              "BVSD",
              "MCGP",
              "NACT",
              "ZPUNP01",
              "ZPUNP02",
              "ZPUNP06",
              "ZPUNP07",
              "ZPUNP08",
              "UKNWN"
            ]
          }
        }
      },
      "payto.unprocessable_pagination_error": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "title",
          "detail",
          "code"
        ],
        "properties": {
          "title": {
            "type": "string",
            "example": "Title of error"
          },
          "code": {
            "type": "string",
            "description": "A code assigned to the type of error received",
            "example": "E100",
            "enum": [
              "ZPUNP00",
              "ZPPGN00"
            ]
          },
          "detail": {
            "type": "string",
            "description": "A short description of the error",
            "example": "Description of error"
          },
          "links": {
            "type": "object",
            "properties": {
              "about": {
                "type": "string",
                "description": "An optional link to more information on the error",
                "example": "https://docs.zeptopayments.com/docs/zepto-environments"
              }
            },
            "required": [
              "about"
            ]
          },
          "meta": {
            "type": "object",
            "description": "Optional meta information about the error",
            "properties": {
              "resource_ref": {
                "type": "string",
                "description": "Resource reference of the resource impacted by the error",
                "example": "P2PAY.1000"
              },
              "resource_uid": {
                "type": "string",
                "description": "Supplied ID of the resource impacted by the error",
                "example": "payment_34fj8djh2"
              }
            }
          }
        }
      },
      "payto.unprocessable_pagination_errors": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/payto.unprocessable_pagination_error"
            }
          }
        },
        "required": [
          "errors"
        ]
      }
    }
  }
}
```