// File generated from our OpenAPI spec declare module 'stripe' { namespace Stripe { namespace Billing { interface CreditBalanceTransactionRetrieveParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array; } interface CreditBalanceTransactionListParams extends PaginationParams { /** * The customer for which to fetch credit balance transactions. */ customer: string; /** * The credit grant for which to fetch credit balance transactions. */ credit_grant?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array; } class CreditBalanceTransactionsResource { /** * Retrieves a credit balance transaction. */ retrieve( id: string, params?: CreditBalanceTransactionRetrieveParams, options?: RequestOptions ): Promise>; retrieve( id: string, options?: RequestOptions ): Promise>; /** * Retrieve a list of credit balance transactions. */ list( params: CreditBalanceTransactionListParams, options?: RequestOptions ): ApiListPromise; } } } }