调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
财务自动化
平台和交易市场
资金管理
开发人员工具
开始
付款
财务自动化
开始
付款
财务自动化
平台和交易市场
资金管理
概览
版本管理
更改日志
升级您的 API 版本
升级 SDK 版本
开发人员工具
SDK
API
测试
Workbench
事件接收端
工作流程
Stripe CLI
Stripe Shell
开发人员管理平台
    概览
    查看请求日志
    查看事件
    添加一个 webhook 端点
代理工具包
Stripe 健康警报Build with LLMsStripe for Visual Studio Code文件上传
安全
安全
扩展 Stripe
Stripe 应用程序
Stripe Connector
合作伙伴
合作伙伴生态
合作伙伴认证
首页开发人员工具Developers Dashboard

View API request logs

Filter API request logs and view log entries in the Developers Dashboard.

复制页面

注意

Workbench replaces the Developers Dashboard, and we automatically enable it for all new Stripe accounts by default. Configure this setting from the Developers settings in the Dashboard.

Read about how to view API request logs in Workbench.

When you send an API request, Stripe creates an object and logs the request for your account. This page describes how to filter API request logs and view log entries for your account in the Developers Dashboard.

How requests are logged

This table describes the different ways Stripe logs an API request for your account.

SourceAPI callLogs
APIWhen you manually trigger an event with the Stripe CLI.Logs the API call on the Logs page.
APIWhen user actions in your app or website result in an API call.Logs the API call on the Logs page.
APIWhen you call an API directly with the Stripe CLI.Logs the API call on the Logs page.
DashboardWhen you call an API by modifying your Stripe resources in the Dashboard.Logs the API call on the Logs page.

View your default API version

When you send requests to Stripe, you may specify an API version with the Stripe-Version header. If you don’t specify an API version, Stripe uses your account’s default API version. Use these steps to find all of the API versions used by your account within the last week. If you’re using the latest API version, the version is labeled Latest.

  1. Open the Developers Dashboard.
  2. Your account’s default API version is labeled Default.

To view a list of versions, see the API changelog.

View API requests by source

Use these steps to filter requests by an API call source.

  1. Open the Logs page.
  2. Click More.
  3. In Source, select Dashboard or API to filter requests by source.
  4. Click Apply.

Find common integration errors

Use this filter to discover common integration errors by error code and API endpoint.

  1. Open the Developers Dashboard.
  2. In Recent errors, select the filter button ().
  3. Select an error type.
  4. Click an error to view the request payload that failed and the reason.

Filter by resource ID

When you create, update, or delete a Stripe resource using Stripe APIs, Stripe returns a resource ID in the response payload. For example, when you Create a customer, Stripe returns a customer ID (in id), such as cus_ImZZa3EEvvQQQU. Use these steps to filter API requests by resource ID.

  1. Open the Logs page.
  2. Enter the resource ID in the Filter by resource ID text field.

Apply advanced filters

You can use the inline navigation to filter API requests by Date, Status, Method and API endpoint, or apply additional filters to troubleshoot requests. Use these steps to filter API requests by API version, error type, error code, and other filters, such as an IP address.

  1. Open the Logs page.
  2. Click More.
    • To filter by version, select an option in the API version dropdown menu. For example, 2025-04-30.basil.
    • To filter by error type, select an option in the Error type dropdown menu. For example, card_error.
    • To filter by error message, select an option in the Error code dropdown menu. For example, bank_account_unverified.
  3. Click Apply.
Filter by API version
此页面的内容有帮助吗?
是否
需要帮助?联系支持。
加入我们的早期使用计划。
查看我们的更改日志。
有问题?联系销售。
LLM? Read llms.txt.
Powered by Markdoc