GET
/
v1
/
businesses
/
{businessId}
/
invoices
/
refunds
/
{refundId}

Authorizations

Authorization
string
headerrequired

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
required

The UUID of the business to fetch refunds for.

refundId
string
required

The UUID of the refund to fetch.

Response

200 - application/json

A refund represents a transaction that returns value to from a business to a customer. A specific payment can be refunded or a general refund can be applied to an invoice.

id
string

Unique identifier for the refund.

external_id
string

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

refunded_amount
integer

Amount refunded to the customer in cents.

status
string

Status of the refund.

completed_at
string

Time when the refund was completed.

payments
object[]

Payments associated with this refund.

allocations
object[]

Allocations associated with this refund.