#yogesh_docs

1 messages ¡ Page 1 of 1 (latest)

torn thicketBOT
#

👋 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/1494283974418370580

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

last cipher
#

hi there!

low roost
#

Hey there! Can you help me with my query? let me know if you need any more clarification.

last cipher
#

when you create the Invoice Items, you can directly set an amount and currency. no need to set a Price ID.

low roost
#

The ID of the price object. One of price or price_data is required.

#

doc says we need to pass price or price_data, and price_data also needs product

last cipher
#

I don't understand. can you try creating an invoice item with amount and currency set (no price or price_data). do you get an error?

low roost
#

Let me try that

#

It worked, thanks. Should've tried before reaching it out. Thanks for the help.