Skip to main content
GET
List refunds

Authorizations

Authorization
string
header
required

Your opaque API key (pag_...) sent directly as the Bearer token. There is no token/JWT exchange.

Query Parameters

from
string<date>

Inclusive start date (00:00 UTC), YYYY-MM-DD. Must be on or after 2026-09-01 (the data window start); an earlier date returns 422. Optional — provide a from/to window, an updatedFrom/updatedTo window, or both (at least one window is required).

Example:

"2026-09-01"

to
string<date>

Exclusive end date (00:00 UTC), YYYY-MM-DD. Pass the day after your intended last day. Max window 90 days. Optional — provide a from/to window, an updatedFrom/updatedTo window, or both (at least one window is required).

Example:

"2026-09-08"

updatedFrom
string<date>

Inclusive last-update start date (00:00 UTC), YYYY-MM-DD. Filter by when records were last updated, for incremental capture. Must be on or after 2026-09-01. Records created before 2026-09-01 are excluded even if they were updated later.

Example:

"2026-09-01"

updatedTo
string<date>

Exclusive last-update end date (00:00 UTC), YYYY-MM-DD. Max window 90 days.

Example:

"2026-09-08"

page
integer
default:1

1-based page number for offset pagination. Combined with limit (page size).

Required range: x >= 1
Example:

1

refundType
enum<string>

Filter by refund type.

Available options:
totally_refunded,
partially_refunded
Example:

"totally_refunded"

limit
integer
default:1000

Page size — maximum records per page (1 to 5000).

Required range: 1 <= x <= 5000
Example:

1000

Response

List of refunds

data
object[]
meta
object