#pablesh_api

1 messages ¡ Page 1 of 1 (latest)

austere gorgeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248185150697902111

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

rotund viper
#

do we have any bilk api to create invoice item
You mean bulk API? if so, no you need to create one by one...

pastel goblet
#

no like multiple in one go

#

curl https://api.stripe.com/v1/invoices/{{INVOICE_ID}}/add_lines
-u sk_test_51PKxvy05TuNZNhNrObSrKi7KGXZJVAUvPncL85DchRQ4dLEtQJvqDkL3xWqpLhwcjfJ7kf4jTwuPCLrFFsy52sX1001Dd4ePJR:
-d "lines[0][amount]"=7500
-d "lines[0][currency]"="usd"
-d "lines[1][price]"={{PRICE_ID}}
-d "lines[1][description]"="New line item"
-d "lines[2][invoice_item]"={{INVOICE_ITEM_1}}

#

liek this

#

but this is not working

#

this doc says you have?

#

@rotund viper have you checked this doc?

rotund viper
#

There is no add_lines API endpoint

pastel goblet
#

thsi one

rotund viper
#

OK I see

pastel goblet
#

an seems this one is your official documentation.

#

2 min

rotund viper
pastel goblet
#

seems not logged as it is saying not a vaild endpoint

rotund viper
#

Could you share the failure requestId ?

pastel goblet
#

@rotund viper can you please check this.

rotund viper
#

Could you please not using mentions,

#

Happy to check yes!

#

This is a beta feature

#

And your account isn't onboarded to use that beta

#

you need to request access

#

via Stripe Support

#

Use the form on that page

#

And request access first

pastel goblet
#

could yo please share the link of this frm with me thanks

rotund viper
#

It's on the top of the guide you were following

pastel goblet
#

and also if you know when this feature going to b GA?

rotund viper
#

Nope honestly, feel free to check with Stripe Support.

pastel goblet
#

thanks.

rotund viper
#

Happy to help!