curl -X PUT https://xenarch.dev/v1/sites/b2c3d4e5.../pricing \ -H "Authorization: Bearer xk_pub_abc123..." \ -H "Content-Type: application/json" \ -d '{ "default_price_usd": "0.003", "rules": [ {"path_pattern": "/premium/*", "price_usd": "0.01"}, {"path_pattern": "/api/*", "price_usd": "0.05"}, {"path_pattern": "/public/*", "price_usd": "0"} ] }'
{ "rules_applied": 123 }
Update the default price and path-specific pricing rules.
path_pattern
*
**
"0"
0 <= x <= 1
Show child attributes
Successful Response