Skip to main content
GET
/
v1
/
charges
List
curl --request GET \
  --url https://{defaultHost}/v1/charges \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/charges"
  },
  "data": [
    {
      "id": "af217823-97f8-4a7a-9669-eaced7ea17b0",
      "object": "charge",
      "amount": 2900,
      "currency": "usd",
      "disputed_amount": 0,
      "external_charge_id": "xc3g50hc7at4bqk",
      "fully_refunded": false,
      "live_mode": true,
      "refunded_amount": 0,
      "customer": "db5a66c1-9e4a-4bd4-8887-83612c0049f6",
      "checkout": "20d1462a-f06f-4e26-81cf-5245dc78c30c",
      "payment_intent": "6d1fd2e8-0ddb-4f39-b9e3-0da0532495bc",
      "payment_method": null,
      "created_at": 1778010862,
      "updated_at": 1778010862
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

checkout_ids[]
string[]

Only return objects that belong to the given checkouts.

customer_ids[]
string[]

Only return objects that belong to the given customers.

external_charge_ids[]
string[]

Only return objects with the given external charge IDs.

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

live_mode
boolean

Only return objects that are live mode or test mode.

page
integer

The page of items you want returned.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.