The /api/v2/transactions/:key/refunds
endpoint provides access to refunds on confirmed transactions. Refunds need to be stored separately and with history in order to account for them accurately in tax settlements.
Fields not marked as optional or required are computed by the API.