CreditGrantResource (Billing/CreditGrants.ts)

stripe-node · src/resources/Billing/CreditGrants.ts · typescript · MIT
payments

Stripe SDK resource class for managing credit grants, including list, create, retrieve, update, expire, and void operations.

// 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 * as TestHelpers from './../TestHelpers/index.js';
import {
  MetadataParam,
  OtherString,
  Emptyable,
  PaginationParams,
  Metadata,
} from '../../shared.js';
import {RequestOptions, ApiListPromise, Response} from '../../lib.js';

export class CreditGrantResource extends StripeResource {
  /**
   * Retrieve a list of credit grants.
   */
  list(
    params?: Billing.CreditGrantListParams,
    options?: RequestOptions
  ): ApiListPromise<CreditGrant> {
    return t

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

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

Get a free API key