Stripe API client for retrieving a customer's credit balance summary.
// Source: https://github.com/stripe/stripe-node | License: MIT | Copyright 2011 Ask Bjørn Hansen
// Provided via justclaw.it.com; keep this notice with the code.
// File generated from our OpenAPI spec
import {StripeResource} from '../../StripeResource.js';
import {Customer, DeletedCustomer} from './../Customers.js';
import {OtherString} from '../../shared.js';
import {RequestOptions, Response} from '../../lib.js';
export class CreditBalanceSummaryResource extends StripeResource {
/**
* Retrieves the credit balance summary for a customer.
*/
retrieve(
params: Billing.CreditBalanceSummaryRetrieveParams,
options?: RequestOptions
): Promise<Response<CreditBalanceSummary>> {
return this._makeRequest(
'GET',
'/v1/billing/credit_balance_summary',
para
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key