ConfirmationToken (resources/confirmation_token.rb)

stripe-ruby · lib/stripe/resources/confirmation_token.rb · ruby · MIT
payments

Stripe API resource for handling confirmation tokens in payment flows.

# Source: https://github.com/stripe/stripe-ruby | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
# Provided via justclaw.it.com; keep this notice with the code.
# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  # ConfirmationTokens help transport client side data collected by Stripe JS over
  # to your server for confirming a PaymentIntent or SetupIntent. If the confirmation
  # is successful, values present on the ConfirmationToken are written onto the Intent.
  #
  # To learn more about how to use ConfirmationToken, visit the related guides:
  # - [Finalize payments on the server](https://docs.stripe.com/payments/finalize-payments-on-the-server)
  # - [Build two-step confirmation](https://docs.stripe.com/payments/build-a-two-step-conf

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key