Set plan regional pricing
Configure a plan's regional pricing for one currency. USD configures the United States variant; exchangeRate acts as its price multiplier. Sending only currency and exchangeRate derives every regional value (base price, included balance, feature overage, intro offer) from the default USD value. Optional per-price and per-feature overrides are stored as manual values.
Configure a plan's regional pricing for one currency. USD configures the United States variant; exchangeRate acts as its price multiplier. Sending only currency and exchangeRate derives every regional value (base price, included balance, feature overage, intro offer) from the default USD value. Optional per-price and per-feature overrides are stored as manual values.
Authorization
ApiKeyAuth In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Value in
- "usd"
- "ars"
- "brl"
- "clp"
- "cop"
- "pen"
- "uyu"
- "pyg"
- "bob"
- "mxn"
- "cad"
- "eur"
- "jpy"
- "cny"
- "krw"
- "hkd"
- "sgd"
- "twd"
- "inr"
- "thb"
0 < valueResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/plans/string/regional" \ -H "Content-Type: application/json" \ -d '{ "currency": "usd", "exchangeRate": 1 }'{ "success": true, "data": { "planId": "string", "currency": "string", "exchangeRate": 0, "pricesConfigured": -9007199254740991, "featuresConfigured": -9007199254740991, "object": "plan", "livemode": true }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}