You are viewing an old version of the API
List refunds
V1

Note We recommend using the Square API (V2) for all new development when possible.

Provides the details for all refunds initiated by a merchant or any of the merchant's mobile staff during a date range

Date ranges cannot exceed one year in length.

Required permissions PAYMENTS_READ

Path Parameters

Name Description
location_id
string

Required

The ID of the location to list refunds for.

Query Parameters

Name Description
order
string

TThe order in which payments are listed in the response.

begin_time
string

The beginning of the requested reporting period, in ISO 8601 format. If this value is before January 1, 2013 (2013-01-01T00:00:00Z), this endpoint returns an error. Default value: The current time minus one year.

end_time
string

The end of the requested reporting period, in ISO 8601 format. If this value is more than one year greater than begin_time, this endpoint returns an error. Default value: The current time.

limit
integer

The approximate number of refunds to return in a single response. Default: 100. Max: 200. Response may contain more results than the prescribed limit when refunds are made simultaneously to multiple tenders in a payment or when refunds are generated in an exchange to account for the value of returned goods.

batch_token
string

A pagination cursor to retrieve the next set of results for your original query to the endpoint.

Response Fields

Name Description
{items}
V1​Refund [ ]

Root array of on V1Refund objects on the response

Examples

You are viewing an old version of the API
GET /v1/{location_id}/refunds
cURL
  • cURL
curl https://connect.squareup.com/v1/{location_id}/refunds \
  -H 'Authorization: Bearer ACCESS_TOKEN'

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?