@stripe/extensibility-api-objects
v1.0.0
Published
Auto-generated TypeScript type definitions for Stripe API objects.
Maintainers
Keywords
Readme
@stripe/extensibility-api-objects
Auto-generated TypeScript type definitions for Stripe API objects.
Installation
npm install @stripe/extensibility-api-objectsUsage
Import any Stripe API object type directly:
import type { Customer, PaymentIntent } from '@stripe/extensibility-api-objects';These types are generated from the Stripe OpenAPI specification. In the extensibility SDK, they are used to declare typed object references from custom objects (e.g. Ref<Customer>).
Each type corresponds to a Stripe API resource. See the Stripe API reference for field-level documentation.
