#_price-currency-tiers-expand
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1329497747165941870
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
The response to the above request is as follows:
"data": [
{
"active": true,
"billing_scheme": "tiered",
"created": 1736873161,
"currency": "usd",
"currency_options": {
"cad": {
"custom_unit_amount": null,
"tax_behavior": "exclusive",
"unit_amount": null,
"unit_amount_decimal": null
},
"usd": {
"custom_unit_amount": null,
"tax_behavior": "exclusive",
"unit_amount": null,
"unit_amount_decimal": null
}
},
"custom_unit_amount": null,
"id": "price_1QhDFdHwDa05gzEcY51OyBwD",
"livemode": false,
"lookup_key": null,
"metadata": {},
"nickname": "Both CAD and USD SIQ prices",
"object": "price",
"product": "prod_QRjwz4gbWgKzyj",
"recurring": {
"aggregate_usage": null,
"interval": "year",
"interval_count": 1,
"meter": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "exclusive",
"tiers_mode": "volume",
"transform_quantity": null,
"type": "recurring",
"unit_amount": null,
"unit_amount_decimal": null
}
],
"has_more": true,
"object": "list",
"url": "/v1/prices"
}```
Hi ๐
You need to go one more level down in your expand parameter. We document the <currency>.tiers is also expandable. https://docs.stripe.com/api/prices/object#price_object-currency_options-<currency>.tiers
I tried that, didn't work
oh wait, nvm
it worked, I was doing dashboard tiers
thanks!
Happy to help ๐