list_payment_methods
List configured payment methods for one project. Credentials and provider secrets are never returned.
Purpose
List configured payment methods for one project. Safe to call for agents deciding whether a plan can charge against a given provider.
Provider secrets — API keys, webhook secrets, Stripe Connect account IDs — are always stripped before the response returns.
Required ability
project-payment-method:view-any
Input schema
{
"type": "object",
"required": ["project_id"],
"properties": {
"project_id": {
"type": "string",
"description": "UUID of the project whose payment methods to list."
},
"active_only": {
"type": "boolean",
"description": "When true, omits deactivated payment methods."
}
}
}Output shape
{
"data": [
{
"id": "pmt_01HX...",
"provider": "stripe",
"mode": "live",
"active": true,
"created_at": "2026-03-01T00:00:00Z"
}
],
"meta": {
"project_id": "prj_01HX...",
"total": 2
}
}Example prompts
"Which payment providers are active on project
prj_01HX...?"
"List the live Stripe integration on my Research Premium project."
Failure modes
TOKEN_MISSING_ABILITY— token lacksproject-payment-method:view-any.
Related
How is this guide?