Skip to content

RetrieveProduct

Source: src/Stripe/RetrieveProduct.ts

Retrieve a bound Stripe Product over HTTP. Pass the Product resource, a prod_… id string, or an Effect resolving to a Product.

Bind and retrieve

const retrieve = yield* Stripe.RetrieveProduct(product);
const live = yield* retrieve();

By id

const retrieve = yield* Stripe.RetrieveProduct("prod_123");
const live = yield* retrieve();