getRefund

Fetch a refund by id or payment id.

Arguments

ArgumentDescription

id (ID)

paymentId (ID)

Return fields

amountCents (Int!)

Refund amount in cents.

id (ID!)

The database ID of the refund.

payment (Payment!)

The payment the refund was issued for.

paymentProviderObjectId (String)

The payment provider ID for this refund

reason (String)

Reason why the refund was issued.

refundedAt (ISO8601DateTime)

The creation time of the refund.

status (RefundStatus!)

Status of the refund.

Last updated