#nick-yelle_customer-invoice-emails
1 messages ยท Page 1 of 1 (latest)
๐ 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/1372629734034505848
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
HI ๐
We don't store the results of GET requests so I can't see anything from the request you shared. Can you share an example Customer ID?
8680333443301
BUT I think what you want is actually on the related Payment Methods. Each Payment Method Object has a billing_details property and that has an email
Here is a picture of the field I want to access:
We store 1 email address on the Customer object and that is the one we use to send Invoices and receipts
- That isn't a customer ID. Customer IDs start with
cus_. - We don't focus on the Dashboard here. We are focused on Stripe APIs and how you can interact with them.
If you can provide a Customer ID I can check the Payment Methods that are saved to that Customer
Are the billing emails that are displayed on the Shopify dashboard available via the API?
this is what I am really asking.
If so what request do I use to get these?
I cannot say, I have no idea what powers the Shopify dashboard
Sorry *Stripe dashboard
I am asking for details to help you where Stripe stores email addresses associated with billing details
As I said, that is saved to Payment Method objects
Great, where can I find the customer Id that you are asking for?
None of the Ids that I am seeing start with cus_
I the customer Id that is visible on the dashboard different?
When you are looking a t a specific customer, it should be present in the URL
Here is the url: https://dashboard.stripe.com/customers/8680333443301
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I think we have an integration that overwrites the standard Stripe ID when brininging in a customer from Shopify
Ah, that may make it difficult to look up. Does this Customer have a saved Payment Method?
Oh, I was able to look up this customer
We only have 1 email for this Customer and it's the email stored at Customer.email property
how are those billing emails in the dashboard stored?
I cannot say
We don't specialize in the Dashboard here. This server is for developers coding integrations with Stripe APIs
So those of us who staff it from Stripe are focused on Stripe API integrations
Okay so retrieve the Customer object and inspect the values
Yeah, there's the email
That's what we have on the Customer
What are you expecting?
I want to get the billing emails that are listed on the dashboard
The customer email is not always where the invoice is sent
They are sent to the billing emails
The customer you shared with me has the same email for their Customer record as the do in this recent Invoice: https://dashboard.stripe.com/events/evt_1RP5UVBCXur6eGR19uU6HkwD
I still don't know what you mean. Since you also can list Invoices by Customer in the API you can retrieve the customer_email value from the Invoice object
That is not what I am seeing on my side:
The invoice was sent to different emails
Ultimately, I want to compare our Shopify Data to our Stripe data. But i have no way of pulling the billing emails that are listed on a customer's Stripe profile. Please help me to do this.
I have told you everywhere we store the data that we have
Dashboard users can add additional emails be CC'd and that data is not stored on the Customer object
I don't think so. We do not have a 1:1 parity between the Dashboard and API. Looking at the invoice.sent event for this Invoice, I only see the customer_email property which has the email address stored on the customer object
Ok that is what I figured. It would be great if this could be part of the API in the future.
Do you have any idea how I could get a list of all the billing emails listed for our customers other than the API?
Okay I can see the dashboard request that triggered sending this email
In an export, or if I call sales, etc...?
It has one more email address in the CC field
But the reason we don't store that on the Customer is that we have no idea if the emails that users add in the CC field are at all related to that customer.
CC'd email addresses, in most cases, are for separate people to be kept informed.
Ok, where are they stored?
Can I only access that information after the invoice has been sent?...
That is the only time this data is entered.
AFAIK the STripe API does not store/retrieve this information