v1

latestOpenAPI 3.0.1MIT2026-07-13153492.5 KB

Retrieve the refunds for a specific transaction

get/tax/transactions/{transaction_id}/refunds

Path parameters

transaction_idstring required

The transaction ID used to fetch associated refunds

Response

List of refunds for a specific transaction

Example response

{
  "refunds": [
    {
      "id": "ref_tr_123456789",
      "object": "tax.refund",
      "refund_processed_at": 1714787673,
      "line_items": [
        {
          "product": {
            "reference_product_name": "Widget",
            "reference_line_item_id": "line_987654321",
            "reference_product_id": "p-1233543",
            "product_tax_code": "GENERAL_MERCHANDISE"
          },
          "tax_jurisdictions": [
            {
              "tax_rate": 0.07,
              "tax_due_decimal": 700,
              "rate_type": "GENERAL STATE SALES TAX",
              "tax_authority_name": "Tennessee",
              "tax_type": "SALES"
            }
          ],
          "quantity": 2,
          "tax_amount": -14,
          "amount_excluding_tax": -200,
          "amount_including_tax": -214
        }
      ]
    }
  ]
}