Fetches a list of vendor refunds for a business. Vendor refunds can be filtered by external ID, status, completion date range, and amount range. Results will be paginated, see Pagination for details.
Documentation Index
Fetch the complete documentation index at: https://docs-beta.layerfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Content-Type must be set to application/json
The UUID of the business to fetch vendor refunds for.
Filter vendor refunds by external ID (unique idempotency key). This will always yield zero or one result.
Filter vendor refunds by status.
SENT, PARTIALLY_PAID, PAID Filter vendor refunds by completion date. Vendor refunds completed on or after this date will be included. ISO 8601 date format.
Filter vendor refunds by completion date. Vendor refunds completed on or before this date will be included. ISO 8601 date format.
Filter vendor refunds by minimum amount. Only vendor refunds with amounts greater than or equal to this value will be included. Must be a positive integer.
x >= 0Filter vendor refunds by maximum amount. Only vendor refunds with amounts less than or equal to this value will be included. Must be a positive integer.
x >= 0Comma-separated list of reference numbers to filter vendor refunds by. Only vendor refunds with reference numbers matching any value in this list will be returned.
List of vendor refunds
Unique identifier for the vendor refund.
Unique ID of the vendor refund in your system for linking purposes. Idempotency key.
"vendor-refund-123"
Amount refunded to the business in cents.
Status of the vendor refund.
"PAID"
Time when the vendor refund was completed.
Allocations associated with this vendor refund.
Payments associated with this vendor refund.
Memo for any text you would like to associate with the vendor refund (for example, to display to end users).
Arbitrary custom metadata in JSON format with a size limit of 1KB
{
"custom_field": "value",
"any valid json": "below 1kb",
"nested": { "meaning of life": 42, "array": [] }
}Any (typically user-visible) identifier you would like to associate with the vendor refund. Can be used to filter when listing vendor refunds.