@bates-solutions/squareup API Reference - v3.2.0
    Preparing search index...

    Interface ListRefundsOptions

    Options for refunds.list().

    interface ListRefundsOptions {
        beginTime?: string;
        cursor?: string;
        endTime?: string;
        limit?: number;
        locationId?: string;
        sortOrder?: "ASC" | "DESC";
        sourceType?: string;
        status?: string;
    }
    Index
    beginTime?: string

    Only refunds created at or after this time (RFC 3339). Default: one year ago.

    cursor?: string

    The cursor from a previous page.

    endTime?: string

    Only refunds created before this time (RFC 3339). Default: now.

    limit?: number

    Page size (Square caps it at 100).

    locationId?: string

    Only refunds at this location. Default: every location.

    sortOrder?: "ASC" | "DESC"

    Order by creation time. Default DESC (newest first).

    sourceType?: string

    Only refunds of payments with this source type, for example CARD.

    status?: string

    Only refunds with this status, for example COMPLETED.