---
title: "ListPaymentResources"
description: "List priced resources"
canonical: "https://pgbeam.com/docs/go-sdk/payments/listPaymentResources"
last-updated: "2026-09-07T22:45:12.000Z"
---

# ListPaymentResources

> List priced resources

URL: https://pgbeam.com/docs/go-sdk/payments/listPaymentResources

Lists what an agent can buy over the Machine Payments Protocol, with the unit, the pack size, and the price of one pack. Discovery only: the `WWW-Authenticate: Payment` challenge returned by a priced operation is always authoritative.

This endpoint takes no authentication so an agent can read the price before it holds a credential.

## Usage

## Parameters

Parameter

Type

Required

Description

ctx

`context.Context`

Yes

Request context

## Response

`(*pgbeam.ListPaymentResourcesResponse, error)`: the priced resource catalog.

## Example

## Errors

Status

Description

429

Rate limited. `code` is `RATE_LIMITED`.

503

The service is temporarily unable to answer. `code` is `SERVICE_UNAVAILABLE`. Safe to retry after the delay in `Retry-After`.