---
title: "GET /orders/{id}/charges"
method: GET
path: "/orders/{id}/charges"
tags: ["Orders"]
---

# GET /orders/{id}/charges

`GET /orders/{id}/charges`

Retrieve all charges on an order

## Path parameters

- `id` integer, required

## Query parameters

- `created_at_min` string, date-time
- `created_at_max` string, date-time
- `test_mode` boolean

## Response `200`

Successful operation. Response will return an array of 0 or more charges

- ChargeService[]
  - `id` integer — The SamCart ID for the charge
  - `customer_id` integer — The SamCart ID for the customer that created the charge
  - `affiliate_id` integer, nullable — The SamCart ID of the affiliate credited for the order
  - `order_id` integer — The SamCart ID for the order. For subscriptions, this will be the order ID of the original purchase
  - `subscription_rebill_id` integer, nullable — The SamCart ID for the subscription rebill. If the charge is for a non-subscription product, this will be null.
  - `test_mode` boolean — Indicates whether the transaction was done while the product was in test mode
  - `processor_name` 'Stripe' | 'Braintree' | 'Authorize.net' | 'PayPal' — The name of the processor for the order
  - `processor_transaction_id` string — The processor ID generated for the charge
  - `currency` string — The 3 letter identifier for the currency for the charge
  - `card_used` number, nullable — The last 4 digits of the card that was used. PayPal charges will have a null value.
  - `charge_refund_status` 'refunded' | 'partially_refunded', nullable — Indicates whether a refund and the type of refund. If no refund was created the value will be null.
  - `order_date` string, date-time — The UTC date and time for when the order was created
  - `created_at` string, date-time — The UTC date and time that the charge was created
  - `total` integer — The total (in cents) for the charge including taxes and shipping fees

---

[API](https://skmtc.dev/samcart/apis/samcart-public-api.md) · [All operations](https://skmtc.dev/samcart/apis/samcart-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/samcart/samcart-public-api/revisions/80296f7a00d0/schema)
