Component: Price Points
Create Currency Prices
Creates currency prices for a given currency defined at the site level.
When creating currency prices, they need to mirror the structure of your primary pricing. For each price level defined on the component price point, there should be a matching price level created in the given currency.
Note: Currency Prices are not able to be created for custom price points.
Authorization
BasicAuth AuthorizationBasic <token>
The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
price_point_id*integer
The Advanced Billing id of the price point
Request Body
application/json
currency_prices*array<>
Response Body
application/json
application/json
curl -X POST "https://example.com/price_points/0/currency_prices.json" \ -H "Content-Type: application/json" \ -d '{ "currency_prices": [ { "currency": "EUR", "price": 50, "price_id": 20 }, { "currency": "EUR", "price": 40, "price_id": 21 } ] }'{ "currency_prices": [ { "id": 100, "currency": "EUR", "price": "123", "formatted_price": "€123,00", "price_id": 32669, "price_point_id": 25554 } ]}