TypeScript client for Stripe ShippingRate API endpoints.
// 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 {TaxCode} from './TaxCodes.js';
import {
MetadataParam,
OtherString,
Emptyable,
PaginationParams,
RangeQueryParam,
Metadata,
} from '../shared.js';
import {RequestOptions, ApiListPromise, Response} from '../lib.js';
export class ShippingRateResource extends StripeResource {
/**
* Returns a list of your shipping rates.
*/
list(
params?: ShippingRateListParams,
options?: RequestOptions
): ApiListPromise<ShippingRate> {
return this._makeRequest('GET', '/v1/shipping_rates', params, options, {
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key