{
  "slug": "stripe-payment-intents-api-adds-amount-to-confirm-a5701bf76ead",
  "title": "Stripe Payment Intents API adds amount_to_confirm",
  "tools": [
    "stripe"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-22T00:00:00.000Z",
  "announced_at": "2026-04-22T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When confirming a PaymentIntent for an amount different from its original amount, send `amount_to_confirm` with the exact amount. If omitted, it defaults to the PaymentIntent’s `amount`.",
    "examples": [
      "curl https://api.stripe.com/v1/payment_intents/<PAYMENT_INTENT_ID>/confirm \\\n  -u \"<YOUR_SECRET_KEY>:\" \\\n  -H \"Stripe-Version: 2026-04-22.preview\" \\\n  -d amount_to_confirm=<AMOUNT>"
    ],
    "gotchas": [
      "amount_to_confirm: Integer amount to confirm on the PaymentIntent; defaults to `amount` if omitted.",
      "PAYMENT_INTENT_ID (required): ID in the confirmation endpoint path.",
      "YOUR_SECRET_KEY (required): Secret key used to authenticate the request.",
      "Prerequisite: Create a PaymentIntent before confirming it.",
      "Prerequisite: Use a secret key for this parameter, per the release note.",
      "The parameter is for secret key callers."
    ]
  },
  "why_it_matters": "When implementing an integration that confirms a PaymentIntent for an amount different from its original amount, specify the confirmation amount.",
  "sources": [
    "https://docs.stripe.com/changelog/dahlia/2026-04-22/amount-confirmation-parameter-to-paymentintent",
    "https://docs.stripe.com/api/payment_intents/confirm?api-version=2026-04-22.preview"
  ],
  "rank": 0.95023,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-d622ddfad6c41343-0:gate",
    "evidence_hash": "bc1005ac1b588b09a193023e119390a1784c023526d6d1935a861d886dec4689"
  },
  "review": {
    "draft_hash": "ef6e3a975502740233731607c5b5ff0121d41a2a22c4bbb2b58f54b4acee15ca",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.62 (>= 0.6 needed)."
  }
}
