---
title: "Read the payer-safe funding result"
method: GET
path: "/credits/agent/funding-sessions/public/{sessionId}"
tags: ["Agent-native onboarding"]
---

# Read the payer-safe funding result

`GET /credits/agent/funding-sessions/public/{sessionId}`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/agent/funding-sessions/public/{sessionId}`
- Auth: none required

Public status used by the Stripe return page. The opaque Checkout Session ID is the capability. The response contains only state, agent display name, and credited amount; it never returns payer details or agent credentials.

## Path parameters

- `sessionId` string, required

## Response `200`

Payer-safe funding state

- AgentFundingPublicStatus
  - `success` unknown, required
  - `funding` object, required
    - `state` 'awaiting_payment' | 'processing' | 'ready' | 'expired' | 'failed', required
    - `agentName` string, required
    - `creditsUsd` string, required: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.
    - `credits` string, required: Non-negative exact decimal string with at most six fractional digits. Endpoint-specific positivity and amount limits still apply.

## Other responses

- `404`: Unknown funding session
- `429`: Public polling rate limit exceeded

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
