#dan-d_api

1 messages ยท Page 1 of 1 (latest)

ivory mossBOT
#

๐Ÿ‘‹ 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/1290762162955878525

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

dire walrus
#

Hello
While Invoicing uses PaymentIntents API under the hood but PaymentIntents API can be used to accept payments without using invoices.

grim shard
#

We are using an invoice to record the list of products we charge for the appropriate accounting purposes and proof of payment. We need to be able to record a list of products. I dont think that flow would work because all that receipt does is send an email to the customer. We manage the communications of the receipt internally

dire walrus
#

Gotcha. In your use case, you'd need to create the invoice first as the PaymentIntent that gets created is based on the line items provided

grim shard
#

So i am stuck voiding invoices where the payment intent fails?

#

Thank you that is what I assumed I would have to do.

dire walrus
#

NP! ๐Ÿ™‚ happy to help

grim shard
#

I had another question. Was gonna create another thread then it just told me to ask it here.

#

I use a third party risk system where I need to send them records of attempted transactions in the system.

With our current payment vendor we can see when zero dollar auth transactions happen and we send those.
I believe that when a customer adds a credit card a setup attempt happens. And the setup attempt object records that transaction because the setup attempt object is what contains the decline category.

However in the setup attempt API there is no dollar amount. Should I just assume its always zero dollars?

dire walrus
#

It might be $0 or $1 auth charge.. But these charges aren't visible afaik

grim shard
#

Sounds good. Last question. I dont see any way to get the card bin. Am i missing it in the payment methods api? Or do you all just not show it

#

I had read in a 10 year old thread it was for security. But I wasnt 100% sure

dire walrus
#

If your usecase requires it, you can reach out to support team to see if there are any private features you'd be eligible for which enables BIN

https://support.stripe.com/?contact=true

grim shard
#

Thanks so much!