#eek.ro

1 messages ยท Page 1 of 1 (latest)

jaunty latchBOT
blazing badge
#

Hi ๐Ÿ‘‹ do you know if you are creating two separate Price objects, in which case you would need to retrieve both of those, or if you're creating a Price that uses currency_options to define what the price should be in multiple currencies?
https://stripe.com/docs/api/prices/object#price_object-currency_options

neat vale
#

I guess it's the currency_option but it wasn't set via the API, it was done via the interface:

#

and not getting more than usd:

#
{
  "id": "price_1NgRPyLIY9iuybuaA0A3IOM5",
  "object": "price",
  "active": true,
  "billing_scheme": "per_unit",
  "created": 1692360282,
  "currency": "usd",
  "custom_unit_amount": null,
  "livemode": false,
  "lookup_key": "m22-1",
  "metadata": {},
  "nickname": null,
  "product": "prod_OTOCsMrdjeHKs4",
  "recurring": null,
  "tax_behavior": "exclusive",
  "tiers_mode": null,
  "transform_quantity": null,
  "type": "one_time",
  "unit_amount": 279900,
  "unit_amount_decimal": "279900"
}```
blazing badge
neat vale
#

oh, okay, it worked with --expand=currency_options thanks @blazing badge ! ๐Ÿ™