#pablesh_api
1 messages ¡ Page 1 of 1 (latest)
đ 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.
do we have any bilk api to create invoice item
You mean bulk API? if so, no you need to create one by one...
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?
There is no add_lines API endpoint
What reference were you checking exactly ? https://docs.stripe.com/api/invoices
OK I see
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Yes I though you are looking for using a Bulk request, my fault sorry.
seems not logged as it is saying not a vaild endpoint
Could you share the failure requestId ?
i am getting this.
message": "Unrecognized request URL (POST: /v1/invoices/123455/add_lines). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_N3fWroytNrQrZV?t=1717660625",
"type": "invalid_request_error"
{
"error": {
"message": "Unrecognized request URL (POST: /v1/invoices/in_1POZzq05TuNZNhNrnJCW8Z9A/add_lines). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_PLTwgedhFKJEoL?t=1717661752",
"type": "invalid_request_error"
}
}
@rotund viper can you please check this.
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
could yo please share the link of this frm with me thanks
and also if you know when this feature going to b GA?
Nope honestly, feel free to check with Stripe Support.
thanks.
Happy to help!