#peky
1 messages · Page 1 of 1 (latest)
👋 happy to help
I'm not familiar with elixir
would you mind giving me more context please?
Sure,
while hitting api for getting list of plans
I have give them name in stripe dashboard but in api response its not showing me its nickname or even name
any examples? plan/price ID?
price_1MlxH1AIxkAHI2RFk5oghZPs
"data": [
{
"id": "price_1MlxH1AIxkAHI2RFk5oghZPs",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 200,
"amount_decimal": "200",
"billing_scheme": "per_unit",
"created": 1678898039,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"nickname": null,
"product": "prod_NX1J5BrRC1phLz",
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
}
],
I add $2USD but its showing me 200 in api reponse
yes that's normal in the API amounts are in cents
what are the values that are missing?
the name the dashboard shows is the product.name