---
title: "Retrieve the payment void associated to the payment session"
method: GET
path: "/payment_sessions/{paymentSessionId}/payment_void"
tags: ["has_one", "payment_voids"]
---

# Retrieve the payment void associated to the payment session

`GET /payment_sessions/{paymentSessionId}/payment_void`

## Request

- Base URL: `https://{your_organization_slug}.commercelayer.io/api`
- URL: `https://{your_organization_slug}.commercelayer.io/api/payment_sessions/{paymentSessionId}/payment_void`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/payment_sessions/:paymentSessionId/payment_void/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the payment void associated to the payment session

## Path parameters

- `paymentSessionId` string, required

## Response `200`

The payment_void associated to the payment session

## Changes

- **2026-11-10** `c0599144bd79`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/payment_sessions/:paymentSessionId/payment_void/get.md)

---

[API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [All operations](https://skmtc.dev/commercelayer/apis/commerce-layer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commercelayer/apis/commerce-layer-api/revisions/c0599144bd79?raw)
