#jimin - Payment Link Line Items
1 messages · Page 1 of 1 (latest)
Hello! Yes, you can specify up to 20 line items for a Payment Link: https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-line_items
i dont understand how we would connect payment link to intents
also do you know if there is a way to create a price with variable amount?
Oh, wait, I think I misread your message!
Sorry, I thought you were asking about Payment Links.
For Payment Intents, no, there's no concept of line items at that level. If you want line items you should use Checkout, Orders, or Invoices instead.
Those are all higher-level objects that use Payment Intents as a foundation.
If you tell me what you're trying to build I can make a more specific recommendation.
so we are using stripe but are not offering the service ourselves. We are using like a meal delivery api but handling the payment. So our product / price vary a lot. We have an integration using payment intent right now
Okay. And you have a problem with your current integration that you're trying to solve?
yeah we want to add some more details about the fee breakdowns
but im not sure if we can use amount_detail or something else?
How do you want that detail to show up, and where do you want it to show up?
we want it to show up on the dashboard. It doesn't have to show up to the customer or anything
If you only want it to show in the Dashboard you can add metadata to the Payment Intents: https://stripe.com/docs/api/payment_intents/update#update_payment_intent-metadata
oh will that show up on the dashboard? that would be perfect!