List All Products Price Points
Lists Product Price Points belonging to a site.
Authorization
BasicAuth The username is a Maxio Chargify API key. The password is x.
In: header
Query Parameters
Controls the order in which results are returned.
Use in query direction=asc.
Value in
- "asc"
- "desc"
Filter to use for List PricePoints operations
Allows including additional data in the response. Use in query: include=currency_prices.
Value in
- "currency_prices"
Result records are organized in pages. By default, the first page of results is displayed. The page parameter specifies a page number of results to fetch. You can start navigating through the pages to consume the results. You do this by passing in a page parameter. Retrieve the next page by adding ?page=2 to the query string. If there are no results to return, then an empty result set will be returned.
Use in query page=1.
1 <= value1This parameter indicates how many records to fetch in each request. Default value is 20. The maximum allowed values is 200; any per_page value over 200 will be changed to 200.
Use in query per_page=200.
value <= 20020Response Body
application/json
application/json
curl -X GET "https://example.com/products_price_points.json"{ "price_points": [ { "id": 0, "name": "My pricepoint", "handle": "handle", "price_in_cents": 10, "interval": 5, "interval_unit": "month", "trial_price_in_cents": 10, "trial_interval": 1, "trial_interval_unit": "month", "trial_type": "payment_expected", "introductory_offer": true, "initial_charge_in_cents": 0, "initial_charge_after_trial": true, "expiration_interval": 0, "expiration_interval_unit": "month", "product_id": 1230, "created_at": "2021-04-02T17:52:09-04:00", "updated_at": "2021-04-02T17:52:09-04:00", "use_site_exchange_rate": true } ]}Update Product Currency Prices PUT
Updates the `price`s of currency prices for a given currency that exists on the product price point. When updating the pricing, it needs to mirror the structure of your primary pricing. If the product price point defines a trial and/or setup fee, each currency must also define a trial and/or setup fee. Note: Currency Prices cannot be updated for custom product price points.
List Payment Profiles GET
Lists all active payment profiles for a site, or for one customer within a site. If no payment profiles are found, this endpoint returns an empty array.