メインコンテンツまでスキップ

すべてのペイメントインテントを一覧表示する

Payment Intent のリストを返します。

GET https://api.stripe.com/v1/payment_intents

cURL の例:

cURL
curl -X GET https://api.stripe.com/v1/payment_intents \
-u <YOUR_SECRET_KEY>:

レスポンス

レスポンスには標準コードが返されます。

200: OK

Response
{
"object": "list",
"data": [
{
"id": "pi_1234567890",
"object": "payment_intent",
"amount": 1000,
"currency": "usd",
"status": "requires_confirmation"
}
],
"has_more": false,
"url": "/v1/payment_intents"
}

エラー応答

400: Bad Request

Response
{
"error": {
"message": "If passing an array with explicit keys (e.g. foo[0]=a&foo[1]=b) instead of as an array (e.g. foo[]=a&foo[]=b), the keys must be numeric and sequential starting from 0. You passed the keys `1`, we expected to have a key with the value `0`.",
"param": "expand",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_kCeAL5FAly5bkh?t=1734734555",
"type": "invalid_request_error"
}
}

401: Unauthorized

Response
{
"error": {
"type": "invalid_request_error",
"message": "Invalid API Key provided: sk_test_********************1234"
}
}

パラメータ

クエリパラメータ
パラメータタイプ説明
limit整数レスポンスに含まれるレコード数を制限します。1 から 100 までの整数を入力してください(デフォルト:10)。
starting_after文字列ページネーションで使用するカーソルです。starting_after は、リスト内の現在の位置を定義するオブジェクト ID です。
ending_before文字列ページネーションで使用するカーソルです。ending_before は、リスト内の現在の位置を定義するオブジェクト ID です。
expand[]文字列の配列ネストされたレスポンスオブジェクトを特定し、情報を追加してインラインで返します。