#eskimo_api

1 messages ¡ Page 1 of 1 (latest)

steady capeBOT
#

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

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

vale perch
#

You may want to look at the Payment Method object, which has the billing addresses of the customer

tribal gulch
#

can i expand it from the charge?

vale perch
#

Hmm maybe not. You can try but I believe it's on the Payment Method object

tribal gulch
#

yeah i don't really wanna do another api call for each payment in the list

vale perch
#

Do you have the PaymentIntent Id? (pi_xxx). You can call Retrieve Payment Intent and expand payment_method

tribal gulch
#

no, none of these have a pi_ in the object returned by charge

#

lemme take a look at the payment intent api docs, maybe i can switch to fetching those instead of charges

#

hmmm ok so i did a list of payment intents for a customer, expanding payment_method, but i don't see a name

#

yeah billing_details is all null? "billing_details":{"address":{"city":null,"country":null,"line1":null,"line2":null,"postal_code":null,"state":null},"email":null,"name":null,"phone":null}

vale perch
#

Which means that PI didn't save the cardholder name. Can you provide its Id? pi_xxx

tribal gulch
#

i'd rather not associate my discord with my business

vale perch
#

You can create a Support case and we can follow there too!

tribal gulch
#

i mean, if an invoice is sent to a customer and they pay, should there be card details?

vale perch
#

It should, which is why we want to look at the the concrete Id

tribal gulch
#

ok i'll do a support ticket when i get a chance

#

thanks