#dco_api

1 messages ¡ Page 1 of 1 (latest)

tribal mauveBOT
#

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

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

edgy apex
#

Hi there, I will need more information to be able to answer your question. What do you mean contact information and could you describe the issue you're trying to solve?

torpid nexus
#

If i take a look on the dashboard each transaction is attached to contact informations. How can i use the API to get that information

edgy apex
#

You might be referring to the payment method's details. For me to be sure, could you share with me a payment ID? It should be prefixed with pi_xxxxxx

torpid nexus
#

i attached a screenshot to be more explicit

edgy apex
#

That's likely the customers' emails, but how you retrieve it will depend on how payments are created in your Stripe account. Are you using Stripe Checkout or Stripe Billing?

torpid nexus
#

I don't know. How can i check that ?

edgy apex
#

I can't accurately determine without looking at a payment example. Could you share with me a PaymentIntent ID please?

#

It should be prefixed with pi_xxxxxx

torpid nexus
#

I want to be able to get the description at the bottom of the screenshot

edgy apex
#

could you copy and paste the payment ID for me please

torpid nexus
#

pi_3RsPRTLVU6CBpTGh1ix3gUmI

edgy apex
#

thank you, give me awhile to check

#

So if you retrieve the associated customer object (cus_So1UIPl80y7Yxv), you should be able to obtain the information you're looking for

torpid nexus
#

i got that

#

but from the transaction where can i get the cus_xxxxxx

edgy apex
#

You can retrieve the PaymentIntent via API and look up the customer parameter

torpid nexus
#

can you send me a screenshot of the api documentation ?

edgy apex
torpid nexus
edgy apex
#

You can't retrieve the customer from the Balance Transaction object

torpid nexus
#

Do you know if it will be possible in the future ?

edgy apex
#

I do not, I'm sorry. The Balance Transaction object is build to represents funds movement to your Stripe account balance. For payment-level information such as the Customer ID, we recommend it to obtain it from the PaymentIntent directly