---
title: "Export checkout sessions"
method: GET
path: "/api/v1/checkout/sessions/export"
tags: ["Checkout Sessions"]
---

# Export checkout sessions

`GET /api/v1/checkout/sessions/export`

Returns a excel file of checkout sessions

## Query parameters

- `createdAt` DateFilterDto
  - `isnull` boolean — Returns null values
  - `notnull` boolean — Returns not null values
  - `gt` string, date-time — Returns values greater than the given date
  - `gte` string, date-time — Returns values greater than or equal to the given date
  - `lt` string, date-time — Returns values less than the given date
  - `lte` string, date-time — Returns values less than or equal to the given date
- `ids` string
- `paymentLinkId` string
- `subscriptionId` string
- `invoiceId` string
- `mode` 'payment' | 'subscription'
- `paymentMethodTypes` PaymentMethodType[]
- `status` string
- `paymentStatus` 'unpaid' | 'paid'
- `customerId` string
- `couponId` string
- `from` string, date-time
- `to` string, date-time

## Other responses

- `500`

---

[API](https://skmtc.net/copperx/apis/copperx-api-2.md) · [All operations](https://skmtc.net/copperx/apis/copperx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/copperx/copperx-api-2/versions/c0bfbc37fb98/schema)
