Creates currency prices for a given currency that has been defined on the site level in your settings.
When creating currency prices, they need 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 are not able to be created for custom product price points.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The Advanced Billing id of the product price point
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/product_price_points/1/currency_prices.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "currency_prices": [ { "currency": "EUR", "price": 60, "role": "baseline" }, { "currency": "EUR", "price": 30, "role": "trial" }, { "currency": "EUR", "price": 100, "role": "initial" } ]}'