---
title: "POST /payments/listPaymentSessions"
method: POST
path: "/payments/listPaymentSessions"
---

# POST /payments/listPaymentSessions

`POST /payments/listPaymentSessions`

List payment sessions.

## Headers

- `X-Amzn-Bedrock-AgentCore-Payments-User-Id` string
- `X-Amzn-Bedrock-AgentCore-Payments-Agent-Name` string — The agent name associated with the payment request.

## Request body

- object
  - `paymentManagerArn` string, required — The ARN of the payment manager that owns the sessions.
  - `nextToken` string — Token for pagination to retrieve the next set of results.
  - `maxResults` integer — Maximum number of results to return in a single response.

## Response `200`

Success

- ListPaymentSessionsResponse — Response structure for listing payment sessions.
  - `paymentSessions` PaymentSessionSummary[], required — List of payment session summaries matching the request criteria.
    - `paymentSessionId` string, required — The unique identifier of the payment session.
    - `paymentManagerArn` string, required — The ARN of the payment manager that owns this session.
    - `userId` string, required — The user ID associated with this session.
    - `expiryTimeInMinutes` integer, required — The session expiry time in minutes.
    - `createdAt` string, date-time, required — The timestamp when the session was created.
    - `updatedAt` string, date-time, required — The timestamp when the session was last updated.
  - `nextToken` string — Token for pagination to retrieve the next set of results.

## Other responses

- `480` — AccessDeniedException
- `481` — ValidationException
- `482` — ThrottlingException
- `483` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agentcore.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agentcore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agentcore/versions/79623b33d495/schema)
