Skip to main content
GET
Fetch vendor refund

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string<uuid>
required

The UUID of the business to fetch vendor refunds for.

refundId
string<uuid>
required

The UUID of the vendor refund to fetch.

Response

Vendor refund details

A vendor refund represents a transaction where a vendor returns value to a business. A specific bill can be refunded or a general refund can be applied to a vendor.

id
string<uuid>

Unique identifier for the vendor refund.

external_id
string | null

Unique ID of the vendor refund in your system for linking purposes. Idempotency key.

Example:

"vendor-refund-123"

refunded_amount
integer<int64>

Amount refunded to the business in cents.

status
string

Status of the vendor refund.

Example:

"PAID"

completed_at
string<date-time>

Time when the vendor refund was completed.

allocations
object[]

Allocations associated with this vendor refund.

payments
object[]

Payments associated with this vendor refund.

transaction_tags
object[]
memo
string | null

Memo for any text you would like to associate with the vendor refund (for example, to display to end users).

metadata
object | null

Arbitrary custom metadata in JSON format with a size limit of 1KB

Example:
reference_number
string | null

Any (typically user-visible) identifier you would like to associate with the vendor refund. Can be used to filter when listing vendor refunds.