Stripe service for listing and retrieving credit balance transactions.
# 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
module Billing
class CreditBalanceTransactionService < StripeService
# Retrieve a list of credit balance transactions.
def list(params = {}, opts = {})
request(
method: :get,
path: "/v1/billing/credit_balance_transactions",
params: params,
opts: opts,
base_address: :api
)
end
# Retrieves a credit balance transaction.
def retrieve(id, params = {}, opts = {})
request(
method: :get,
path: format("/v1/billi
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key