#peky

1 messages · Page 1 of 1 (latest)

hybrid blazeBOT
waxen olive
#

👋 happy to help

#

I'm not familiar with elixir

#

would you mind giving me more context please?

golden tiger
#

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

waxen olive
#

any examples? plan/price ID?

golden tiger
#

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"
}
],

waxen olive
#

thanks

#

will take a look

golden tiger
#

I add $2USD but its showing me 200 in api reponse

waxen olive
waxen olive
hybrid blazeBOT
golden tiger
#

nickname , and name

#

@cosmic tusk @waxen olive nickname and name always nil

cosmic tusk
#

the name the dashboard shows is the product.name