Marketplace
>
getPricesOfProduct
xStripe

getPricesOfProduct

v
0.0.1
Latest Version
Likes
0
Installations
0
1
Views
0
5

Overview

It returns the prices for a given product id.

Usage

### How this function works The function it returns the list of prices of a given Stripe product. - The request must be authenticated. - The `productId` must be provided either as a default product id when you install the function or as a params when the function is called. - The limits of prices returned are the default of Stripe (10). - The function doesn't support pagination. - The results it comes exactly as stripe price object **price object** ``` { "id": "price_1KUBxBJ2OCLbQfOEI9dKOw8s", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1645111893, "currency": "usd", "livemode": false, "lookup_key": null, "metadata": {}, "nickname": null, "product": "prod_LAEpbe2WWVpgya", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 1, "usage_type": "licensed" }, "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 2000, "unit_amount_decimal": "2000" } ```
Cost
FREE
Cost
Version
0.0.1
Language
JAVASCRIPT
Created At
Updated At
Workspace
xStripe
Tags
stripe
products
prices
© 2023 Function Store