CustomerBalanceTransaction (resources/customer_balance_transaction.rb)

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

File generated from our OpenAPI spec frozen_string_literal: true

# 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
  # Each customer has a [Balance](https://docs.stripe.com/api/customers/object#customer_object-balance) value,
  # which denotes a debit or credit that's automatically applied to their next invoice upon finalization.
  # You may modify the value directly by using the [update customer API](https://docs.stripe.com/api/customers/update),
  # or by creating a Customer Balance Transaction, which increments or decrements the customer's `balance` by the specified `amount`.
  #
  # Related guide: [Customer balance](https://docs.stripe.com/

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

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

Get a free API key